Commit Graph

19267 Commits

Author SHA1 Message Date
Inaki Larranaga Murgoitio
4f59e4427d Updated Basque language 2010-01-05 13:20:02 +01:00
Jonh Wendell
eeaeb01590 Fix a memory leak in gtk_label_compose_effective_attrs() 2009-12-22 11:18:05 -03:00
Matthias Clasen
9ac1b6830c Fix a think in the CSW input extension handling
This was causing stack overflow due to an obvious infinite recursion.
See e.g. RH #548849.
(cherry picked from commit d2ce67734a)
2009-12-21 15:29:58 -05:00
Matthias Clasen
0d15334671 Fix a thinko in computing damage for segments
The code was not taking the endpoint of the first segment into account.
This was reported in bug 604747.
(cherry picked from commit aadb190b77)
2009-12-18 19:20:07 -05:00
Matthias Clasen
d97a72a22b Ensure native windows in gdk_property_change
Using X properties on non-toplevel windows is somewhat exotic,
but some people seem to do it, so better to keep it working.
See bug 604787.
(cherry picked from commit 7a9a3077e4)
2009-12-18 18:46:08 -05:00
Alexander Larsson
321c7d16c3 Actually send exposes from gdk_window_clear_area_e
(cherry picked from commit 7e9d89b555)
2009-12-18 15:38:22 +01:00
Philip Withnall
3470ef274d Updated British English translation 2009-12-15 17:33:25 +00:00
Sven Herzberg
19a95139ff Revert "let the close button reflect the page_complete status of SUMMARY pages"
This reverts commit da3b33f1a8.

This was accidentally commited and intended for master only.
2009-12-10 22:08:30 +01:00
Sven Herzberg
da3b33f1a8 let the close button reflect the page_complete status of SUMMARY pages
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604289
In order to respect this properly, we have to restore the original
behavior by watching a flag to check if the user has already set this.

* gtk/gtkassistant.c: fix the bug by introducing a flag to check for
  non-automatic value setting
* tests/testassistant.c: updated the "generous assistant" to permit
  quick manual testing of this feature
2009-12-10 21:57:51 +01:00
Danielle Madeley
69bd84917c Fix GTK_TREE_MODEL_FILTER_GET_CLASS macro 2009-12-10 09:38:43 +11:00
Matthias Clasen
8ed0520df0 Bump version 2009-12-08 11:06:08 -05:00
Matthias Clasen
4483e2ee3b 2.18.5 2.18.5 2009-12-08 11:02:45 -05:00
Matthias Clasen
1d1132d02b Updates 2009-12-08 10:18:31 -05:00
Matthias Clasen
f0111dba73 Never do implicit paints for foreign windows
They don't need double buffer combination since they have no
client-side children, and creating pixmaps for them is risky
since they could disappear at any time.

May fix bug 598476 and 603652.
2009-12-08 10:13:06 -05:00
Matthias Clasen
141716164a Set colormap of offscreen pixmaps
This fixes problems in clutter-gtk. See bug 603619.
2009-12-08 10:03:19 -05:00
Alexander Larsson
d71364f386 Fix up last commit
(cherry picked from commit 22d1d0d507)
2009-12-08 12:29:44 +01:00
Alexander Larsson
98f044cf41 Handle input extension events when making a window native
It may happen when turning a client side window into a native window
that the window, or some of its children with the same native parent
have extension events enabled, and thus have an input window enabled
for the native parent which needs to change as the window is made
native.

We fix this by temporarily disabling extension events on all the affected
windows while we create the native window, and then reenable them afterwards.

This fixes: https://bugzilla.redhat.com/show_bug.cgi?id=544624
(cherry picked from commit 159214173d)
2009-12-08 12:24:07 +01:00
Alexander Larsson
229b44b875 Fix damage report for lines drawn on offscreen windows
All kinds of lines (lines, segments, arcs, etc) need to take into
account the line properties (width, miter limit, joins, caps, etc)
to get proper damage extents.

This is not really possible to do, but we can make it likely to work
with some ad-hoc estimates.

Fixes bug 603904.
(cherry picked from commit 98a9c5c69a)
2009-12-07 10:52:53 +01:00
Alexander Larsson
141366a040 Fix mouse pointer handling on multiple screens
The fix in 786b589d95 for the
"Cannot click buttons more than once without moving the mouse cursor"
did not correctly handle setups with multiple screens in one display.

We need to handle the case where the first XQueryPointer returns
a different root window than the default one.

This fixes bug 597386 (agaion)
(cherry picked from commit 48fc0f36c2)
2009-12-07 10:52:48 +01:00
Alexander Larsson
4a92edd10a Don't filter out BUTTON_MOTION event masks
We don't really need to filter these out, it was just a leftover
safety check to not override the GDK_POINTER_MOTION_MASK.

Furthermore when we changed behaviour to not always select for native
pointer motion it is actually wrong. We'll still get normal motion
events for the toplevel which we will emulate as button motion on the
child, but the button motion mask will not be inherited by implicit
grabs which makes us not get any motion events during grabs.

This fixes bug 601473
(cherry picked from commit b509f28559)
2009-12-02 11:34:39 +01:00
Matthias Clasen
b1861ddc6a Bump version 2009-12-01 00:02:53 -05:00
Matthias Clasen
516918e5ca 2.18.3 2.18.4 2009-12-01 00:00:32 -05:00
Matthias Clasen
12061ca351 Updates 2009-11-30 23:06:54 -05:00
Javier Jardón
54d1804267 [gdk/directfb] Made dfb_events_dispatch() thread save
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=591438
(cherry picked from commit ee2c797e70)
2009-11-30 22:39:29 -05:00
Matthias Clasen
42b5eb6246 Use a url label instead of a link button
This looks nicer, and allows us to make the url-hook work again
for the website url. Fixes bug 603201.
(cherry picked from commit 478ca88ae5)
2009-11-30 22:39:16 -05:00
Matthias Clasen
9df22c15ad Allow holding compose key while entering a sequence
This broke when we started allowing Super, Hyper and Meta as
accel modifiers. See bug 601959.
(cherry picked from commit c08ed56f13)
2009-11-30 22:39:06 -05:00
Matthew Barnes
def9343ce0 Bug 601869 - GtkUIManager assumes too much about popup menus
Check that the child of a popup menu item is actually a GtkAccelLabel
before setting its "accel-closure" property.
(cherry picked from commit 25a8c7316d)
2009-11-30 22:38:44 -05:00
Matthias Clasen
92289a5b43 Rework a broken workaround for a Java bug
This was committed to fix bug 568263, but it is not correct, as
pointed out in 601611.
(cherry picked from commit 6dfb21e616)
2009-11-30 22:38:33 -05:00
Matthias Clasen
b1dfeb6fca Handle reparenting out of a socket
Although it isnt' allowed by the XEMBED protocol, its possible
that the plug window will be reparented out of the socket without
the socket having done so. See bug 123569. Patch by David Jander.
(cherry picked from commit 84254039f2)
2009-11-30 22:38:20 -05:00
Matthias Clasen
066c3c42dd Allocate a large-enough and mask
We came up short when the image width is not a multiple of 8.
Bug 585383, fix by Felix Riemann.
(cherry picked from commit 869ee7f232)
2009-11-30 22:38:11 -05:00
Matthias Clasen
caded18ecf Be a bit more forgiving about invalid monitor number
By moving the g_return_if_fail() checks into individual monitor functions.
See bug 561130.
2009-11-30 22:38:01 -05:00
Matthias Clasen
b6138cc8c0 Short-circuit get_frame_extents for override-redirect windows
There's no reason to do our expensive round-trips for an override-redirect
window; just use local information. See bug 581145. Patch by Owen Taylor.
2009-11-30 22:37:53 -05:00
Christian Persch
7ef6a12b58 Implement gail_image_get_image_size for storage GICON and ICON_NAME
Bug #602724.
(cherry picked from commit 7abd4d1359)
2009-11-30 22:37:43 -05:00
Matthias Clasen
43ee7aade9 Remove misleading text about invisible text
Invisible text has been working reasonably well since 2.8.
(cherry picked from commit b72c2143b0)
2009-11-30 22:37:02 -05:00
Matthias Clasen
b796473068 Make level3 keys work again
We were not paying attention to consumed modifiers when adding
virtual modifiers. This fixes RH bug 537567.
2009-11-30 22:36:49 -05:00
Christian Persch
79f1257732 Make setting the icon-size property on GTK_IMAGE_GICON images work
Bug #602725.
(cherry picked from commit ba218a7789)
2009-11-30 22:36:37 -05:00
Michael Emmel
f9df0250d1 Fix for position bug
https://bugzilla.gnome.org/show_bug.cgi?id=590800
(cherry picked from commit 04d7d81056)
2009-11-30 22:28:02 -05:00
Alexander Larsson
f17f4cace4 Position new ui nodes correctly when existing dirty dead nodes exist
If you add a new ui node that was recently removed it will still be
in the tree, but marked dirty. In this case we previously just used
the old node, which meant it wouldn't get the same position as if
the dirty nodes had been processed first (and deleted) before the
new node was added.

We handle this by detecting this case and reposition the node as if
it was new.

https://bugzilla.gnome.org/show_bug.cgi?id=603128
(cherry picked from commit 7b19640d8f579da5d802d2a6f72128a6f29a5f33)
2009-11-30 14:21:21 +01:00
Nils-Christoph Fiedler
d7feac3cc2 Updated Low German translation 2009-11-28 13:39:27 +01:00
Nishibori Kiyotaka
5f9eb1a3a3 Updated Japanese translation 2009-11-26 23:03:07 +09:00
Matthias Clasen
c412fc78d0 Set scale_num only once
This modifies the previous commit to be according the upstream libjpeg
maintainers recommendations. See bug 588740.
2009-11-25 23:41:48 -05:00
Nils-Christoph Fiedler
f2807b7b7f Updated Low German translation 2009-11-22 20:53:06 +01:00
Tor Lillqvist
40fae81227 Restore optional debugging printout of normal events 2009-11-20 20:39:29 +02:00
Nils-Christoph Fiedler
a3ccd6bfee Updated Low German translation 2009-11-16 19:03:11 +01:00
Nils-Christoph Fiedler
092d2578ff Added Low German translation 2009-11-15 18:03:34 +01:00
Mario Blättermann
8c86703517 Added dummy Low German translation 2009-11-15 18:01:41 +01:00
Hans Breuer
5bd532e3e6 Fix _gdk_window_impl_new() for win32
The previous implementation was modifying the passed in window ("private") rather than deriving information from it. Also the type hints are now forwarded like in the X11 implementation instead of ignored.

The effect of the unfinished client-side-window porting was e.g. a crash with Dia's navigation window which happened to create a window with an apparent depth of zero.
2009-11-08 18:23:24 +01:00
Christian Dywan
248854947e Only set the accesible label if it is non-empty
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599446
2009-11-06 10:21:32 +01:00
Matthias Clasen
547ce20360 Fix loading scaled-down jpegs
The assumption that scale_num will be automatically be 1 is no longer
with libjpeg7. So set it explicitly. Bug #588740.
2009-11-05 10:35:17 -05:00
Alexander Larsson
76cadc9d3a Don't unnecessarily clear windows with no exposure mask set
When we just invalidate some area from the app we don't need to clear
windows with no exposure mask, because that wouldn't have happened pre-csw
anyway. Additionally we can avoid such clearing for native windows in cases
where the xserver already did the clearing like on exposes or when resizing
toplevels.

This means we don't fully redraw a GtkSocket when it resizes, thus
avoiding flicker in gnome-mplayer as reported in this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=598050
(cherry picked from commit 9e51c10edc)
2009-11-05 13:58:35 +01:00