Commit Graph

19334 Commits

Author SHA1 Message Date
Michael Natterer
121607ae04 gtk: remove begin-user-action/end-user-action around copying
Copying to the clipboard is not a buffer mutation, so calling
gtk_text_buffer_begin_user_action() and _end_user_action() is only
confusing apps which connect to these signals in order to build undo
stacks or otherwise track buffer changes. Most likely, these apps
either didn't notice the bugus undo step or simply work around it.
(cherry picked from commit 0a49865ec4)
2010-03-12 17:57:34 -05:00
Joanmarie Diggs
f687aafe58 Add/Remove ATK_STATE_SENSITIVE according to cells' state.
Bug #569042.
(cherry picked from commit 4759da2634)
2010-03-12 17:57:19 -05:00
Li Yuan
8ba7712b4e Return FALSE in signal handlers to make the signals be propagated
Bug #611686.
(cherry picked from commit 8c30affb6e)
2010-03-12 17:57:08 -05:00
Matthias Clasen
d3374dbc00 Protect against X errors when clearing the DND cache
This was reported as a problem in bug 609952.
(cherry picked from commit 325cbef27e)
2010-03-12 17:55:05 -05:00
Matthias Clasen
4623a485c7 Prevent a crash in the TGA loader
Reported in bug 609744.
(cherry picked from commit 33330ab332)
2010-03-12 17:54:49 -05:00
Matthias Clasen
9268b23522 Handle out-of-bounds parameters in gtk_assistant_get_nth_page
Better do what the docs say...fix by Tadej Borovšak, bug 610141.
(cherry picked from commit 06d02578f8)
2010-03-12 17:54:37 -05:00
Matthias Clasen
c94513e44b Fix a segfault in gtk_assistant_set_current_page
Reported by Tadej Borovšak in bug 610184
(cherry picked from commit ddcc305f4e)
2010-03-12 17:54:29 -05:00
Matthias Clasen
35938479ca Clarify the docs for gtk_info_bar_set_default_response
According to bug 610632
(cherry picked from commit c3f0cdcfcf)
2010-03-12 17:54:20 -05:00
Matthias Clasen
203d6d7a1e Add some padding in tool buttons
The default value of the icon-spacing style property was 0, which
is just not good. Themes are of course free to change this anyway.
Bug 610381.
(cherry picked from commit 9ce6db1297)
2010-03-12 17:54:04 -05:00
Carlos Garcia Campos
aa883e0295 [docs] Fix GtkPlug::embedded signal documentation
See bug #609650.
(cherry picked from commit 62758ff5ef)
2010-03-12 17:53:43 -05:00
Carlos Garcia Campos
1a5d7d968f Emit GtkPlug::embedded signal when plug/socket are in the same process too
Fixes bug #609650.
(cherry picked from commit e5fc3dcf64)
2010-03-12 17:53:30 -05:00
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