Commit Graph

19856 Commits

Author SHA1 Message Date
André Draszik
442f7a9d26 gdk/directfb: fix _gdk_windowing_pointer_grab()
Fix for bgo #609188

Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-03 20:56:06 -04:00
Steffen Macke
029b7b6361 Fix menu bar problem in ms-windows theme engine on Windows 7
Patch from bug #591186. It won't have any effect in this branch as the
whole XP-and-later theming code is broken and disabled, but when/if
that is fixed, then this patch should help.
2010-04-03 20:56:06 -04:00
Christian Dywan
931ed06beb [gtk] Deprecate GtkCurveType enum
It's only used by already deprecated GtkCurve and GtkGammaCurve

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=556263

Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-03 20:56:06 -04:00
Claude Paroz
cc895cc924 Updated French translation 2010-04-03 20:56:06 -04:00
Michael Natterer
ca9e029838 gtk: fix crash in _gtk_rbtree_find_offset() called from update_prelight()
Move the check for tree_view->priv->tree being NULL into update_prelight()
so the function will never call _gtk_rbtree_find_offset() on a NULL rbtree.
2010-04-03 20:56:06 -04:00
Jonh Wendell
e9d53fd675 Updated Brazilian Portuguese translation 2010-04-03 20:56:06 -04:00
Jonh Wendell
d0c4e2d762 Updated Brazilian Portuguese translation 2010-04-03 20:56:05 -04:00
Matthias Clasen
fe7af7a9e5 Make DND work better with shaped windows
If mouse clicks go through, drag-and-drop should too...
Fixes bug 608615.
2010-04-03 20:56:05 -04:00
Cody Russell
bc01a0cbcf Bug 554420 - Seal GtkTextTag
Seal GtkTextTag.
2010-04-03 20:56:05 -04:00
Petr Kovar
2194ee02e3 Update Czech properties translation 2010-04-03 20:56:05 -04:00
Petr Kovar
b6d139f954 Update Czech translation 2010-04-03 20:56:05 -04:00
Michael Natterer
9dfadca46c Bug 608993 - Add gtk_widget_style_attach()
As replacement for:
widget->style = gtk_style_attach (widget->style, widget->window);
2010-04-03 20:56:05 -04:00
Pavol Šimo
0a037fa4fe Updated Slovak translation 2010-04-03 20:55:30 -04:00
Javier Jardón
4b85311951 [docs] Add anchor for keybinding signals 2010-04-03 20:55:30 -04:00
Mattias Põldaru
e193b20d50 Updating Estonian translation 2010-04-03 20:55:30 -04:00
Mattias Põldaru
a9f0710686 Updating Estonian translation 2010-04-03 20:55:30 -04:00
Mattias Põldaru
fb0c247e30 Updating Estonian translation 2010-04-03 20:55:30 -04:00
Kjartan Maraas
b802beb0b1 Updated Norwegian bokmål translation 2010-04-03 20:55:30 -04:00
Jorge González
686efe8145 Updated Spanish translation 2010-04-03 20:55:29 -04:00
Kristian Rietveld
a86bbf759f Improve enter/motion notify semantics
On X11 we receive enter notify and motion notify events for a window
regardless of its focus state.  On Mac OS X this is not the case.  This
commit improves the semantics to overcome this difference.  It improves
on my earlier patch that sent a motion notify event when a window became
main.

Instead of sending a motion notify when a window becomes main, we now
send one when a window becomes key, which comes closest to a window
getting focus in X11.  This motion notify is needed because Mac OS X does
not send motion events when an application is inactive (none of its
windows have focus), these events are sent in X11.  This dummy motion
notify event (with current coordinates of the mouse cursor) allows an
application to get its prelight and other state right when it gets focus
and thus user attention.

Another change is to send an enter notify event when updating the
tracking rectangle of a GdkQuartView and the mouse cursor is currently in
this rectangle.  This rectangle is at least updated on window creation.
This enter notify event is important for the case where a new window
appears right below the mouse cursor.  The window has to receive an enter
notify event for the subsequent events to be processed correctly.  Mac
OS X does not send one in this case, so we generate it ourselves.

Both of these synthesized events have to go through
_gdk_windowing_got_event() for updating statekeeping, etc.
append_event() has a boolean flag now to make this convenient.
2010-04-03 20:55:29 -04:00
Jorge González
453ac4a2ec Updated Spanish translation 2010-04-03 20:55:29 -04:00
Jorge González
39945324bc Updated Spanish translation 2010-04-03 20:55:29 -04:00
Jorge González
a622ca52a0 Updated Spanish translation 2010-04-03 20:55:29 -04:00
Andre Klapper
05bc895378 Add missing files to POTFILES.in to make l10n.gnome.org happy 2010-04-03 20:55:29 -04:00
Cody Russell
1ae55844f7 Remove existing signal connections in gtk_drag_dest_unset().
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=608370
2010-04-03 20:55:29 -04:00
Christian Dywan
21ef8f9ad9 Implement gtk_paned_get_handle_window
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=607885
2010-04-03 20:55:28 -04:00
Christian Dywan
bffcae28d7 Do not update paned position if it's already at the given value
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=561816
2010-04-03 20:55:28 -04:00
Theppitak Karoonboonyanan
36b1586f86 Updated Thai translation. 2010-04-03 20:55:28 -04:00
Li Yuan
5067f69ff1 Bug #608410. Set cursor position after inserting text. 2010-04-03 20:55:28 -04:00
Jamil Ahmed
8a9dabd683 Updated Bengali translation 2010-04-03 20:55:28 -04:00
Jamil Ahmed
47c66ad3bc Updated Bengali translation 2010-04-03 20:55:28 -04:00
Jamil Ahmed
7e978d3447 Updated Bengali translation 2010-04-03 20:55:28 -04:00
Javier Jardón
d8453e7826 [docs] Fix GtkOffscreenWindow documentation 2010-04-03 20:55:27 -04:00
Matthias Clasen
4343bc8d0a Bump version 2010-04-03 20:55:27 -04:00
Matthias Clasen
539545688c 2.19.4 2010-04-03 20:55:27 -04:00
Matthias Clasen
c51d3805a7 Doc additions 2010-04-03 20:55:25 -04:00
Matthias Clasen
a7e91ca4ca Minor doc fix 2010-04-03 20:55:24 -04:00
Matthias Clasen
a17acc0572 Updates 2010-04-03 20:55:24 -04:00
Jamil Ahmed
30101c195c Updated Bengali translation 2010-04-03 20:55:24 -04:00
Alexander Shopov
2bd8ea3084 Updated Bulgarian translation 2010-04-03 20:55:24 -04:00
Alexander Shopov
6d84afc2f5 Updated Bulgarian translation 2010-04-03 20:55:24 -04:00
Christian Dywan
8f49f935df Remove the destination file if trying to save a pixbuf failed
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591102
2010-04-03 20:55:24 -04:00
Javier Jardón
bb7ff7b586 [test] Fix some typos 2010-04-03 20:55:23 -04:00
Paul Davis
1c9cc0acf0 Small memory fix 2010-04-03 20:55:23 -04:00
Michael Natterer
88977f73eb Bug 607778 - Add accessors for GtkEntry's windows
Add gtk_entry_get_text_window() and get_icon_window() so we can
distinguigh them in expose-event callbacks.
2010-04-03 20:55:23 -04:00
Michael Natterer
5585335dd9 Bug 607082 - Add accessors for sealed GtkRange members
Add accessors for range->range_rect, range->slider_range,
range->slider_size_fixed and range->min_slider_size. Didn't add
properties for any of them because thir purpose is mostly to enable
proper subclassing.
2010-04-03 20:55:23 -04:00
Claudio Saavedra
189a35fe59 GtkTreeView: plug a leaking GtkTreeRowReference
This is exposed by overshooting in a HildonPannableArea. Leaking
a GtkTreeRowReference also means leaking the whole model, since
the GtkTreeModel reference count is increased for each row
reference.

Fixes bug #607770 - Leak in GtkTreeView with HildonPannableArea
2010-04-03 20:55:23 -04:00
Alexander Larsson
b8a0ff9e04 Avoid integer overflow in gdk_rectangle_intersect
If e.g. the right edge of the leftmost rectangle is near MIN_INT, and
the left edge of the rightmost rectangle is large then subtracting these
can lead to an integer overflow, making the resultant "width" falsely
positive, thus returning a very wide result instead of the expected
no-intersection result.

We avoid the overflow by not doing the subtraction unless we know the
result will be positive. There are still risks for overflow if x + width
or y + width is larger than MAXINT, but we won't ever overflow for valid
rects now.

This may fix #607687
2010-04-03 20:55:23 -04:00
Matthias Clasen
c81131ff21 Add a way to set wm_class on statusicons
Since the shell uses wm_class for sorting statusicons.
2010-04-03 20:55:22 -04:00
Alexander Larsson
b26536162c When native window requests button presses request other button related events
We need to do this because otherwise the implicit button grab for this
(native) window will not deliver the button events not selected for
by this window. This is a problem because non-native child windows may
select using a wider event mask, and we can't emulate these events if we
don't get the native events.

Fixes bug #607508
2010-04-03 20:55:22 -04:00