Kristian Rietveld
88329aeff4
quartz: use get_toplevel_from_ns_event in one more place
...
Fixup needed due to refactoring in GTK+-3.0.
2011-11-06 10:36:00 +01:00
Kristian Rietveld
b78658c310
quartz: make gdk_quartz_osx_version conform to coding style
2011-11-06 10:17:46 +01:00
Kristian Rietveld
e5ccae5782
quartz: make test_resize () conform to coding style
2011-11-06 10:16:27 +01:00
Kristian Rietveld
9f45c37be7
quartz: Process motion events within windows bounds without window set
...
When an NSEvent does not have the window field set, we already assumed
the event was not for us and discarded it. But for NSMouseMoved events
we now make an exception, because such events generated after
using/clicking the main menu bar have the window field set to NULL while
the application window still has focus.
We used to experience a loss of motion events after using the menu bar,
this could be seen in buttons that stopped prelighting and first
clicks often being ignored unless you clicked somewhere else first.
These issues are fixed by this patch.
2011-11-06 10:15:16 +01:00
Kristian Rietveld
7269cdf315
quartz: Factor out toplevel from NSEvent code into function
2011-11-06 10:12:24 +01:00
Kristian Rietveld
6a7280ce1a
quartz: Separate out screen_point conversion in function
...
Reduces code duplication and confusion.
2011-11-06 10:10:12 +01:00
Kristian Rietveld
4d9d8ba96d
quartz: remove unused variable
2011-11-06 10:04:39 +01:00
Florian Müllner
79803d0edc
menuitem: Always treat submenus as popup
...
Submenus are not actually attached to a menubar, but styling them
as if they were imposes some problems (at least with Adwaita).
Just using GDK_WINDOW_TYPE_HINT_POPUP_MENU for submenus instead
fixes the issue.
https://bugzilla.gnome.org/show_bug.cgi?id=662691
2011-11-05 01:49:50 -04:00
Akira TAGOH
4d7e47ddd0
Allow fallback for input method modules
...
Accept a :-separated list of module names in GTK_IM_MODULE and
the corresponding setting, to deal a bit better with broken
situations.
https://bugzilla.gnome.org/show_bug.cgi?id=603559
2011-11-05 01:48:59 -04:00
Torsten Schönfeld
a72a3160a8
gtk: add annotations for some GtkSymbolicColor constructors
...
https://bugzilla.gnome.org/show_bug.cgi?id=661859
2011-11-05 01:38:40 -04:00
Rui Matos
8067f6b886
x11: Fix window manager change detection
...
Since the wmspec_check_window doesn't have a corresponding GdkWindow we can't
rely on the get_event_window() return value to get the XID from. Just use the
XID from the XEvent directly.
https://bugzilla.gnome.org/show_bug.cgi?id=662953
2011-11-05 01:37:37 -04:00
Benjamin Moody
8318515cd8
Mark gtk_dialog_new_with_buttons as NULL-terminated
...
https://bugzilla.gnome.org/show_bug.cgi?id=663073
2011-11-05 01:27:25 -04:00
Matthias Clasen
41d4229155
Pop up context menus at the right device
...
When multiple pointers are in play, we need to be careful
not to loose track of the device between receiving a button
press and popping up a menu.
https://bugzilla.gnome.org/show_bug.cgi?id=663396
2011-11-05 01:24:17 -04:00
Matthias Clasen
7644ef1e3a
GtkWindow: Use new begin_resize_drag api
...
We have an event, so the correct thing to do is to pass
the device into the function that we are calling. GDK
just grew a variant that takes a device, for this purpose.
https://bugzilla.gnome.org/show_bug.cgi?id=663444
2011-11-05 01:14:30 -04:00
Matthias Clasen
3b152df48a
Wayland: Adapt to GdkWindowImpl api change
2011-11-05 01:12:26 -04:00
Matthias Clasen
810ef68679
Broadway: Adapt to GdkWindowImpl API change
2011-11-05 01:12:07 -04:00
Matthias Clasen
6f48f20c67
Quartz: Adapt to GdkWindowImpl api change
2011-11-05 01:11:50 -04:00
Matthias Clasen
32884e9c16
win32: Adapt to GdkWindowImpl api change
2011-11-05 01:11:18 -04:00
Matthias Clasen
250d4331b2
Add device-taking variants of begin_resize/move_drag
...
This was one of the last places where display->core_pointer was
used in non-deprecated code paths.
2011-11-05 01:10:16 -04:00
Matthias Clasen
3bd0059850
GdkDeviceManager: some reshuffling of docs
2011-11-04 23:38:11 -04:00
Bastien Nocera
ba397a3431
tests: Disable accel test until fixed
2011-11-04 16:40:23 +00:00
Bastien Nocera
780a92b559
gtk: Add test program for keycode parsing
...
https://bugzilla.gnome.org/show_bug.cgi?id=662755
2011-11-04 16:40:22 +00:00
Bastien Nocera
06b55b2149
gtk: Add accel with keycode parsing functions
...
Which handle accelerators with keycodes as well as keyvals,
so we can use it in applications that use GtkCellRendererAccel's
"Other" mode of operations (namely gnome-control-center and
gnome-settings-daemon).
https://bugzilla.gnome.org/show_bug.cgi?id=662755
2011-11-04 16:40:22 +00:00
Matthias Clasen
0f167e8b43
Fix make check
2011-11-03 23:58:46 -04:00
Colin Walters
6cf1385e8f
introspection: Include deprecated headers for scanner too
...
https://bugzilla.gnome.org/show_bug.cgi?id=663345
2011-11-03 15:27:56 -04:00
Piotr Drąg
8853a3e5ff
Updated POTFILES.in
2011-11-02 22:12:53 +01:00
Alexander Larsson
c002c83ec5
Make sure we only show icons in the file selector bookmarks toolbar
...
This looked really bad in non-gnome settings where default is to
show text too.
2011-11-02 14:46:53 +01:00
Matthias Clasen
20008c33cb
Revert a change to the plug/socket headers
...
I was trying to avoid including gtk.h here, but this breaks
some of our tests, and there's a good chance that 3rd party
code also relies on this include.
2011-11-02 08:28:34 -04:00
Matthias Clasen
2ead4c6038
Remove some more uses of gdk_window_get_pointer
2011-11-02 08:10:42 -04:00
Matthias Clasen
cafef131d6
Remove one instance of gdk_window_get_pointer
2011-11-02 08:10:42 -04:00
Matthias Clasen
adc731fad9
Remove various internal uses of deprecated api
2011-11-02 08:10:42 -04:00
Matthias Clasen
8ad3fd28b8
Don't warn about deprecations in deprecated/
2011-11-02 08:10:42 -04:00
Matthias Clasen
2de4405c32
Move deprecated gtkwidget style api to gtkstyle
2011-11-02 08:10:42 -04:00
Matthias Clasen
1f827d6214
Don't warn about deprecations in deprecated/
...
We know we are deprecated here, no need to warn.
2011-11-02 01:21:49 -04:00
Matthias Clasen
feece3c0bb
Move gtkstyle and gtkrc to deprecated/
...
This required a somewhat more substantial include reshuffling.
Some typedefs have been moved to gtkiconfactory.h and to
gtksettings.h.
2011-11-02 01:15:21 -04:00
Matthias Clasen
068e1f0390
Move wholly deprecated files to a subdirectory
...
Also install their headers to a subdirectory.
2011-11-01 23:51:18 -04:00
Matthias Clasen
98db3dd5dd
Move gtk_draw_insertion_cursor out of gtkstyle.[hc]
...
This function does not use GtkStyle at all and is not deprecated.
2011-11-01 23:51:18 -04:00
Matthias Clasen
484a45c4b6
Drop DISABLE_DEPRECATED guards here, too
2011-11-01 23:22:06 -04:00
Matthias Clasen
8370052180
Don't use *DISABLE_DEPRECATED guards
...
Instead define GDK_DISABLE_DEPRECATION_WARNINGS where appropriate.
2011-11-01 22:35:57 -04:00
Matthias Clasen
416e1a1468
Don't use *_SINGLE_INCLUDES defines
...
GLib now outlaws single includes always, anyway.
2011-11-01 22:35:05 -04:00
Matthias Clasen
9b0011be92
Don't use *_DISABLE_DEPRECATED
...
Instead of undefining the DISABLE_DEPRECATED guards,
define the GDK_DISABLE_DEPRECATION_WARNING macro where needed.
Also replace INCLUDES by AM_CPPFLAGS to shut up automake.
2011-11-01 22:14:45 -04:00
Matthias Clasen
2a9932cf02
Don't use deprecated GValue api
2011-11-01 22:05:29 -04:00
Benjamin Otte
9788bfac89
gtk-demo: Don't use deprecated code
2011-11-02 02:32:54 +01:00
Benjamin Otte
86af3ea4e9
tests: Disable fontselection deprecation warnings
...
This test tests deprecated code...
2011-11-02 02:32:54 +01:00
Benjamin Otte
98d215635e
tooltip: Don't use deprecated API
2011-11-02 02:32:54 +01:00
Benjamin Otte
5ada0fc382
tooltip: Remove unused variables
2011-11-02 02:32:54 +01:00
Benjamin Otte
54d6ef115b
iconview: Keep the device for dnd autoscroll
...
This is necessary to query the device's coordinates when doing the
scrolling.
2011-11-02 02:32:54 +01:00
Benjamin Otte
e739757bab
table: Define GDK_DISABLE_DEPRECATION_WARNINGS
2011-11-02 02:32:54 +01:00
Benjamin Otte
6132f52fa3
handlebox: Define GDK_DISABLE_DEPRECATION_WARNINGS
2011-11-02 02:32:53 +01:00
Benjamin Otte
c10cbf1715
fontsel: Define GDK_DISABLE_DEPRECATION_WARNINGS
2011-11-02 02:32:53 +01:00