Commit Graph

19323 Commits

Author SHA1 Message Date
Tor Lillqvist
15b1dbdfcb Check for __MINGW64__ and not __MINGW64
Should fix bug #612308.
2010-03-12 11:44:32 +02:00
Matthias Clasen
39039a3500 Fix an infinite loop in gtk_dialog_map()
The new focus handling with links in labels tripped up the code
that tries to avoid focussing labels. Bug 612066
2010-03-08 18:27:37 +01:00
Piotr Drąg
bcc963d337 Updated Polish translation 2010-02-25 14:31:28 +01:00
Nils-Christoph Fiedler
de8f5fe394 Updated LowGerman translation 2010-02-25 13:02:31 +01:00
Nils-Christoph Fiedler
4059254f6b Updated LowGerman translation 2010-02-25 12:54:43 +01:00
Runa Bhattacharjee
623cd82d68 Updated Bengali India Translation 2010-02-19 16:24:47 +05:30
Manoj Kumar Giri
4473b45ded Updated Oriya Translation 2010-02-17 21:16:37 +05:30
Matthias Clasen
d53099bc38 Bump version 2010-02-12 21:15:35 -05:00
Matthias Clasen
a4dd814db7 2.18.7 2.18.7 2010-02-12 21:13:30 -05:00
Matthias Clasen
8fba4358fc Updates 2010-02-12 19:51:13 -05:00
Matthias Clasen
9149577e1a Avoid overlap of scale marks
This was reported to be a problem in bug 608807.
(cherry picked from commit 893408352d)
2010-02-12 19:31:24 -05:00
Matthias Clasen
dd9db7bd3d Avoid a crash when setting a tooltip on a GtkCalendar
The details code was assuming that it controls ::has-tooltip.
Reported by Bill Nottingham, bug 607344.
(cherry picked from commit 412beb4444)
2010-02-12 19:30:43 -05:00
Matthias Clasen
a14c8aba5d Fix a refcounting issues in GtkPlug
When the foreign window already has a GdkWindow, we forget to take
an extra references, leading to crashes later on. Patch by
Karl Tomlinson, bug 607061.
(cherry picked from commit beddf67e56)
2010-02-12 19:30:35 -05:00
Christian Persch
015476b770 Correctly clone the toolbutton's icon-name image widget
Bug #608162.
(cherry picked from commit 9497a198f7)
2010-02-12 19:30:21 -05:00
Matthias Clasen
da03774c48 Make DND work better with shaped windows
If mouse clicks go through, drag-and-drop should too...
Fixes bug 608615.
(cherry picked from commit 69aa7a6392)
2010-02-12 19:28:51 -05:00
Cody Russell
6c5c48bae2 Remove existing signal connections in gtk_drag_dest_unset().
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=608370
(cherry picked from commit 2147e57f46)
2010-02-12 19:28:27 -05:00
Christian Dywan
7ec1a0ac71 Do not update paned position if it's already at the given value
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=561816
(cherry picked from commit a23f581c5d)
2010-02-12 19:28:13 -05:00
Li Yuan
8c9844d255 Bug #608410. Set cursor position after inserting text.
(cherry picked from commit 899d425e50)
2010-02-12 19:27:22 -05:00
Matthias Clasen
1d4c18e9c4 Fix declaration of gtk_print_job_set_status
The problem was reported in bug 606698.
(cherry picked from commit 5e7801a304)
2010-02-12 19:22:26 -05:00
Steffen Macke
ae55f8a835 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-02-09 12:27:10 +02:00
Tor Lillqvist
8b2c243af6 Use correct processorArchitecture for x86_64 in manifest file 2010-02-09 12:22:13 +02:00
Henrique P. Machado
9ca9d6c590 Updated Brazilian Portuguese Translation 2010-02-04 16:46:08 -03:00
Claudio Saavedra
a6a56e785c 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
(cherry picked from commit 52acceef56)
2010-01-22 18:01:10 +02:00
Alexander Larsson
bb63c9537b 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
(cherry picked from commit 3c618f2f1f)
2010-01-22 11:31:27 +01:00
Alexander Larsson
d867026219 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
(cherry picked from commit 3d9d002bed)
2010-01-20 15:41:58 +01:00
Alexander Larsson
9967831b8d Drop outstanding cairo surfaces when window is made native
Any old cairo_surface referencing the old impl window will be wrong
when we make a window native, so drop it.

This fixes bug #599511
(cherry picked from commit e31a6d1fea)
2010-01-19 16:47:23 +01:00
Alexander Larsson
1c5b9ffb2b Move common gdkwindow.c code into function gdk_window_drop_cairo_surface
This code is duplicated in several places, and more to come, so put
it all in one place.
(cherry picked from commit 46d25437a1)
2010-01-19 16:47:21 +01:00
Alexander Larsson
ed7db8ea55 Track direct window cairo access and avoid tricks when used
When a cairo surface is requested for direct window access (i.e. not
when double-buffering) we can't really track when the actual drawing happens
as cairo drawing is not virtualized. This means we can't properly flush
any outstanding window moves or implicit paints.

This actually causes problems with e.g. abiword (bug #606009) where they
draw without double-buffering. If you press down it scrolls the window
and then draws the caret, but the caret drawing does not flush the
outstanding move from the scroll, so the caret gets drawn on the wrong
screen.

We fix this by never allowing either implicit paints or outstanding window
moves on impl-windows where any windows related to it has an outstanding
direct cairo surface. Luckily this is not very common so in practice this
doesn't matter much.
(cherry picked from commit 841fa47715)
2010-01-19 15:41:45 +01:00
Russell Kyaw
68ccf1a0e9 Added Burmese translation for gtk+ properties 2010-01-19 16:31:59 +02:00
Russell Kyaw
ef0280dd2b Updated Burmese translation 2010-01-19 16:31:04 +02:00
Russell Kyaw
bbd83c60a9 Added Burmese translation 2010-01-19 16:21:15 +02:00
Simos Xenitellis
13edaa0d81 Added Burmese (my) to po/LINGUAS 2010-01-19 16:19:57 +02:00
Jorge González
75468514b0 Updated Spanish translation 2010-01-18 06:21:41 +01:00
Gil Forcada
782f00360c Minor update to Catalan translation 2010-01-17 23:50:43 +01:00
Matej Urbančič
cfd8f35ea7 Updated Slovenian translation 2010-01-15 19:42:49 +01:00
Alexander Larsson
f2fffaad71 Avoid drawing implicit paints to destroyed windows
It may happen that a window gets destroyed during painting, if so
we should not draw the implicit paint double-buffered pixmap to it
as that will cause a BadDrawable X error.

This fixes bug 600865
(cherry picked from commit f96e51db46)
2010-01-15 16:21:48 +01:00
Daniel Nylander
5fcae34f27 Updated Swedish translation 2010-01-13 08:08:53 +01:00
Mario Blättermann
2f68354008 Updated German translation 2010-01-12 21:27:48 +01:00
Matthias Clasen
280f191a75 Correct PRC6 and PRC9 envelope sizes
See bug 603144 for the full story.
(cherry picked from commit b6ff1abc93)
2010-01-12 01:11:33 -05:00
Matthias Clasen
2276e1e6db Bump version 2010-01-11 17:57:09 -05:00
Matthias Clasen
49c72dc016 2.18.6 2.18.6 2010-01-11 17:52:45 -05:00
Matthias Clasen
314fede98a Doc fixes 2010-01-11 17:16:54 -05:00
Matthias Clasen
f25813eaeb Updates 2010-01-11 16:10:11 -05:00
Matthias Clasen
0e17e8daa5 Plug a pixmap leak
We were getting our refcounts tangled up when setting drawable clips on
GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.
(cherry picked from commit d32b061895)
2010-01-11 10:27:17 -05:00
Matthias Clasen
30b4352d62 Try a little harder to survive close to OOM
(cherry picked from commit d85735a337)
2010-01-08 13:30:10 -05:00
Matthias Clasen
ee17312399 Avoid an FPE for ludicrous scale values
...just bail out early.
(cherry picked from commit 1d4c6ebe5f)
2010-01-08 13:30:02 -05:00
Matthias Clasen
e956191163 Setup libjpeg error handlers early enough
See bug 606068 for details.
(cherry picked from commit 9fc436d810)
2010-01-07 15:56:48 -05:00
Matthias Clasen
1eb83b8a69 Improve selection/arrow key behaviour in GtkTextView
This patch makes the text view behave more similar to entries.
Patch by Michael Natterer, see bug 50942
(cherry picked from commit c0d8b71bc5)
2010-01-07 15:54:57 -05:00
Benjamin Otte
f07fced38c Build adds not-yet-built libgtk-x11-2.0.la into the linker flags
Commit 9e7c91bf83 added a bit too many
LDFLAGS to the build of gtk-update-icon-cache, revert it to only use the
required ones. Bug 605036
(cherry picked from commit 3921834b96)
2010-01-07 15:54:23 -05:00
Matthias Clasen
aaad805038 Handle reading the create-folders property
(cherry picked from commit 4116baef32)
2010-01-07 15:53:23 -05:00