Matthias Clasen
4dc9b294d8
Don't assume a screen exists before realize()
...
Fix for https://bugzilla.gnome.org/show_bug.cgi?id=641429
2011-02-04 22:03:11 -05:00
Matthias Clasen
2b2e607492
Improve GtkApplication migration guide
...
As pointed out in bug 641517, the examples did not actually
do the same.
2011-02-04 21:21:14 -05:00
Matthias Clasen
3c1ff82b21
Fix a memory leak in GtkCSSProvider
...
Found by Felix Riemann
https://bugzilla.gnome.org/show_bug.cgi?id=641558
2011-02-04 21:13:56 -05:00
Matthias Clasen
eaba2cd468
XI2: translate group state back into core state
...
This is necessary to make the key event translation work
as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=641367
2011-02-04 21:11:40 -05:00
Matthias Clasen
d4c1dbe3d7
Pass group state to _gdk_x11_device_xi2_translate_state
...
This will be necessary to make groups work with XI2.
2011-02-04 21:11:40 -05:00
Matthias Clasen
2c352f51a0
Share code to fill GdkEventKey.string
...
This code was duplicated between the core and XI2 device manager
implementations.
2011-02-04 21:11:40 -05:00
Khaled Hosny
4960a81082
Updated Arabic translation
2011-02-05 00:32:07 +02:00
Matthias Clasen
3cb758a7b9
Add an empty English translation for properties
...
Otherwise the build is unhappy about en in LINGUAS
2011-02-04 17:18:24 -05:00
Matthias Clasen
9a7708952c
Add an English translation
...
Currently, this just includes translations for keysyms.
2011-02-04 15:35:44 -05:00
Matthias Clasen
b6783933c9
Strip XF86 prefix from untranslated keysyms
...
When we don't have translations, at least remove the
ugly XF86 prefix.
2011-02-04 15:34:36 -05:00
Matthias Clasen
08f90b71a2
Add translation entries for more common keysyms
...
In particular, the XF86 keysyms can benefit from a translation
that strips the prefix.
2011-02-04 15:33:36 -05:00
Matthias Clasen
9ba009a8eb
Remove debug spew
2011-02-04 14:05:22 -05:00
Matthias Clasen
272aa7bc55
XI2: don't translate button releases as scroll events
...
This fixes scroll-by-2 sympoms seen in combo boxes.
https://bugzilla.gnome.org/show_bug.cgi?id=639846
2011-02-04 12:54:44 -05:00
Javier Jardón
03df034684
Remove latest bits of GtkItemFactory
2011-02-04 17:30:11 +00:00
Tristan Van Berkom
012bc98936
Fixed gtk_recent_chooser_menu_set_current_filter to update the local pointer.
...
Before this patch, unsetting the filter manually before disposing
the recent chooser menu (or unsetting the filter twice), would cause
warnings (or invalid memory accesses).
2011-02-05 01:00:55 +09:00
Yaron Shahrabani
86b5252a93
Updated Hebrew translation.
2011-02-04 09:10:23 +02:00
Matthias Clasen
99691ab7aa
Protect against tree_view being NULL
...
This apparently happens when setting the "visible" property
from ui files.
https://bugzilla.gnome.org/show_bug.cgi?id=640801
2011-02-03 14:40:53 -05:00
Tristan Van Berkom
b51f3ffffc
Added set_transient_for() implementation for GdkOffscreenWindow
...
Just a noop that is better than crashing in the case this is called
(it can be called for a toplevel GtkWindow that is parented into
another widget by setting gtk_widget_set_parent_window to an offscreen
window).
2011-02-03 23:52:12 +09:00
Laszlo Pandy
395b13bbce
[GI] Add method annotation for gtk_grab_add and gtk_grab_remove.
2011-02-03 15:20:51 +01:00
Laszlo Pandy
295c2fe8d1
[GI] Add method annotations to remaining gtk_drag_* functions.
...
https://bugzilla.gnome.org/show_bug.cgi?id=639945
2011-02-03 15:10:43 +01:00
Tristan Van Berkom
d799d6d4f0
Fixing GtkColorButton to redraw itself when gtk_color_button_set_rgba() is called.
2011-02-03 23:02:15 +09:00
Tristan Van Berkom
b01fc35c18
Added default implementations of various GtkCellArea vfuncs.
...
Having default implementations on abstract classes that do nothing
or print errors make life easier for language bindings implementors,
inside GTK+ this makes little or no difference.
2011-02-03 19:03:49 +09:00
Tristan Van Berkom
ce000db7f6
Added default implementation of GtkCellRendererClass.get_request_mode()
...
Having default implementations on abstract classes that do nothing
or print errors make life easier for language bindings implementors,
inside GTK+ this makes little or no difference.
2011-02-03 19:01:55 +09:00
Matthias Clasen
7894ff4bcb
Don't g_object_unref cairo surfaces
...
This was causing warnings when dragging text from labels.
2011-02-02 22:05:26 -05:00
Piotr Drąg
a7a606e61a
Updated Polish translation
2011-02-02 18:06:02 +01:00
Piotr Drąg
0c2e2b17e4
Updated Polish translation
2011-02-02 18:06:02 +01:00
Martin Pitt
1bd36ce723
[GI] Annotate gtk_drag_{dest,source}* as methods
...
As these do not start with gtk_widget_*, the GI scanner does not recognize them
as methods. With the recently added (method) annotation [1] it is now possible
to mark them as proper methods of GtkWidget.
https://bugzilla.gnome.org/show_bug.cgi?id=639945
[1] http://git.gnome.org/browse/gobject-introspection/commit/?id=09bca85dd4
2011-02-02 17:51:48 +01:00
Changwoo Ryu
a1d5901e80
Updated Korean translation
2011-02-03 00:29:38 +09:00
Martin Pitt
0e795b67c3
[GI] Mark mis-detected constructors as such
...
constructors which take an object of the same class as its first argument are
mis-detected as method call with "self" argument by the GIR scanner. Using the
new (constructor) annotation from bug 561264, mark some of them as proper
constuctors, so that you can call them with NULL as first argument from
bindings; in particular, this fixes gdk_window_new() and the
gtk_radio_button_new_with*() constructors.
2011-02-02 15:11:06 +01:00
Matthias Clasen
3067ef4a9b
Fix the build with --enable-gtk2-dependency
2011-02-02 01:30:21 -05:00
Tristan Van Berkom
2e34842b1a
Fixed GtkCellLayout buildable implementation to set cell properties explicitly set to "" (i.e. explicitly set to nothing).
2011-02-02 15:22:31 +09:00
Tristan Van Berkom
fb3e221559
Fixed GtkContainer buildable implementation to set packing properties explicitly set to "" (i.e. explicitly set to nothing).
2011-02-02 15:22:31 +09:00
Matthias Clasen
8a2a148649
Don't build pixbuf engine, still
...
This was accidentally re-enabled together with the wimp.
2011-02-02 01:00:51 -05:00
Matthias Clasen
54c97f3ba2
Fix another GtkFixed regression, in gtk_fixed_forall()
...
b3f6f67c
changed the loop from while() to for() in gtk_fixed_forall(),
but that's wrong since the callback can have side-effects on the list,
in case the current child gets removed. And that's the case when the
widget is destroyed.
Patch by Vincent Untz
https://bugzilla.gnome.org/show_bug.cgi?id=641196
2011-02-02 00:40:02 -05:00
Matthias Clasen
0ade265a69
Bump version
2011-02-02 00:36:41 -05:00
John Ralls
cfaed624be
Update quartz to reflect deletion of GdkNativeWindow and client_message functions.
2011-02-01 13:53:00 -08:00
Matthias Clasen
24de7cd86f
Add another bug ref
2011-02-01 14:11:20 -05:00
Vincent Untz
62d7593fc2
Fix crash in gtk_fixed_remove()
...
b3f6f67c
changed the loop from while() to for(), but the line to move to
the next child was kept, so we could go past the end of the list.
https://bugzilla.gnome.org/show_bug.cgi?id=641176
2011-02-01 20:08:52 +01:00
Matthias Clasen
1b25489cba
Remove accidentally exported symbol
2011-02-01 13:54:27 -05:00
Matthias Clasen
b0d48f66a1
Updates for 2.99.3
2011-02-01 13:39:41 -05:00
Benjamin Otte
5f594b613e
API: gdk: Get rid of GdkNativeWindow
...
Also get rid of the GDK_NATIVE_WINDOW_POINTER define.
2011-02-01 18:51:57 +01:00
Benjamin Otte
7b5ad65e71
x11: Use Window isntead of GdkNativeWindow
2011-02-01 18:51:57 +01:00
Benjamin Otte
44c02fcbb1
API: gdk: Change get_drag_window() API
...
The previous function gdk_drag_get_protocol_for_display() took native
window handles, so it had to be changed. Because it didn't do what it
was named to do (it didn't return a protocol even though it was named
get_protocol) and because it doesn't operate on the display anymore but
on the actual window, it's now called gdk_window_get_drag_protocol().
2011-02-01 18:51:57 +01:00
Benjamin Otte
9210347600
API: gdk: Make GDK_DRAG_PROTOCOL_NONE equal to 0
...
THis way, we can do comparisons like "if (protocol)"
2011-02-01 18:51:57 +01:00
Benjamin Otte
5bc04bc07b
API: gdk: Make GdkEventSelection.requestor a GdkWindow
...
instead of a GdkNativeWindow. Also change gdk_selection_notify() API to
take a GdkWindow to match this change.
2011-02-01 18:51:57 +01:00
Benjamin Otte
c2a5d715d5
x11: Use gdk_x11_window_foreign_new_for_display() unconditionally
...
gdk_x11_window_lookup_window() calls are done by this function alreayd,
so no need to do them manually.
2011-02-01 18:51:57 +01:00
Matthias Clasen
5441ecd350
Fix a warning
2011-02-01 09:48:32 -05:00
Matthias Clasen
38045e789c
Remove a dead member
...
The client_pointer field in GdkX11DeviceManagerXI2 is not used anywhere.
2011-02-01 09:44:33 -05:00
Matthias Clasen
c79413a1df
Make xim work with XI2
...
We cannot totally ignore core key events, since XFilterEvent generates
those at times and relies on them having an effect.
https://bugzilla.gnome.org/show_bug.cgi?id=640965
2011-02-01 09:42:53 -05:00
Matthias Clasen
8448780a6c
Make treeview expanders work reliably
...
It turns out that the gtk_grab_remove() can trigger a do_prelight()
call, which may end up changing prelight_node, and then the state
gets messed up. Moving the grab removal until after we're done with
button_pressed_node and prlight_node makes expanders work reliably.
One thing that is still not right is that the expander doesn't get
prelight again after the animation is done, if you manage to release
without any additional motion events.
https://bugzilla.gnome.org/show_bug.cgi?id=641039
2011-02-01 01:32:02 -05:00