Commit Graph

19213 Commits

Author SHA1 Message Date
Alexander Larsson
a68e02b7c7 Flush outstanding stuff when clearing directly on a window
Clearing will directly modify the contents of the window, so we need
to flush any outstanding moves or double-buffering.
(cherry picked from commit 8c1ea38d84)
2009-11-05 13:57:59 +01:00
Adrian Johnson
9d43f0fff0 Take printer margins into account on Windows
Fixes bug #381371.
2009-10-27 12:29:37 +02:00
Dumitru Mișu Moldovan
a21ab9d169 Updated Romanian translation 2009-10-26 22:48:18 +02:00
Dumitru Mișu Moldovan
51a3630acb Updated Romanian translation 2009-10-26 22:28:45 +02:00
Matthias Clasen
90f7a1ccfd Fix issues with symbolic colors in rc file parsing
Don't recreate the settings color hash every time, repopulate it
instead. This avoids invalidating the references held by RcContexts.
2009-10-25 23:53:50 -04:00
Matthias Clasen
d56f5a843d Fixes for the compose-parse.py script
Several fixes by Ray Strode and Peter Hutterer to make compose-parse.py
work with the current X.org Compose file.
2009-10-25 23:53:41 -04:00
Matthias Clasen
69a93aaf9c Update compose sequences
This patch includes additions to the X.org Compose file from the
last year. Patch by Peter Hutterer
2009-10-25 23:53:28 -04:00
Matthew Barnes
e3b14b6652 Bug 581150 - GtkIconView tries to paint items with invalid sizes
Run gtk_icon_view_layout() if necessary before attempting to paint the
icon view items during an expose event.  This ensures all the items have
valid sizes, as some themes don't take kindly to negative dimensions.
2009-10-23 19:56:21 -04:00
Tor Lillqvist
c3bc476174 Use correct type text/uri-list for the dropped files selection
Fixes bug #599321.
2009-10-23 13:43:18 +03:00
Luca Ferretti
23eaeaf922 Add translators comments for tab labels (closes 599118) 2009-10-21 22:06:14 +02:00
Luca Ferretti
624619cba8 Minor fixes 2009-10-21 22:04:56 +02:00
Federico Mena Quintero
e7e58a5301 bgo#563010 - Fix clearing the selection in GtkFileChooserButton
Previously the filename would get re-set on the button if one cleared the selection,
as an async cancellable was not getting canceled in that case.  Patch with
contributions from Milan Crha <mcrha@redhat.com>

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-10-21 12:31:25 -05:00
Matej Urbančič
69b525c6ff Updated Slovenian translation 2009-10-21 13:54:04 +02:00
Marek Kasik
ac6f5d27e6 A small correction of previous commit
Correct of a typo.
2009-10-19 22:28:40 +02:00
Leonid Kanter
f822714f98 Updated Russian translation 2009-10-19 19:35:13 +03:00
Leonid Kanter
15cdac8725 Updated Russian translation 2009-10-19 19:33:41 +03:00
Leonid Kanter
38f07a7a22 Updated Russian translation 2009-10-19 19:33:23 +03:00
Matthias Clasen
ebcffee813 Correct a small oversight
When changing themes, we also need to update the box spacing of
tooltips.
2009-10-18 20:39:43 -04:00
Tor Lillqvist
b3c11e8cf0 Use correct size for root window with multiple monitors
The root window width and height have already been correctly
initialised in _gdk_root_window_size_init() to cover all monitors, so
don't incorrectly re-initialise using GetSystemMetrics(SM_C[XY]SCREEN)
which only gives the size of the primary monitor anyway. (See MSDN.)

This fixes at least gdk_screen_get_{width,height}() which indirectly
affects at least the positioning of combo box pop-up menus on multiple
monitors.
2009-10-18 14:43:06 +03:00
Tor Lillqvist
975f101095 Delete a couple of leftover commented-out lines 2009-10-18 14:42:54 +03:00
Tor Lillqvist
28520601d5 Add missing newline to debugging output 2009-10-18 14:42:36 +03:00
Tor Lillqvist
880bec1717 Delete unused leftover static function 2009-10-18 12:11:49 +03:00
Tor Lillqvist
e341a8c5f9 More meaningful debugging output in gdk_win32_window_get_root_coords 2009-10-18 12:11:26 +03:00
Tor Lillqvist
1516e6205b Remove unused variables and static functions 2009-10-18 11:53:27 +03:00
Tor Lillqvist
6e6c4813b2 Correct function names in debugging output 2009-10-18 11:53:03 +03:00
Matthias Clasen
ff765f478d Don't omit GTK_ICON_SIZE_DIALOG 2009-10-18 02:09:08 -04:00
Matthias Clasen
a30b59229f Fix a problem in GtkImage size allocation
When GtkMisc padding is set on an image, the optimization for only
recalculating size after a clear() breaks, since the requisition is
not (0, 0). We need a separate 'need_calc' flag.
2009-10-18 01:39:22 -04:00
Matthias Clasen
e47847baac Bump version 2009-10-17 00:54:44 -04:00
Matthias Clasen
a8b26a8e87 2.18.3 2.18.3 2009-10-17 00:52:44 -04:00
Matthias Clasen
54856967db Updates 2009-10-16 21:52:07 -04:00
Rodrigo L. M. Flores
d5d2e34b2f Updated Brazilian Portuguese translation 2009-10-16 17:33:54 -03:00
Eitan Isaacson
1f91789951 Explicitly set the accessible name of GtkToolButton.
GAIL is not able to retrieve the correct button name alone, so it must be set in gtktoolbutton.c

https://bugzilla.gnome.org/show_bug.cgi?id=597596
2009-10-16 10:38:56 -04:00
Ivar Smolin
6c18744be1 Updating Estonian translation 2009-10-16 11:46:02 +03:00
Ivar Smolin
579d725947 Updating Estonian translation 2009-10-16 11:42:53 +03:00
David Planella
8ae3b32538 Updated Catalan translation from the master branch 2009-10-15 20:39:49 +02:00
David Planella
5b3929efda Updated Catalan translation 2009-10-15 20:39:11 +02:00
David Planella
8b9a272949 Updated Catalan translation from the master branch 2009-10-15 20:36:49 +02:00
David Planella
75933df105 Updated Catalan translation 2009-10-15 20:35:58 +02:00
Tor Lillqvist
97e9ee336b Don't use XP themes until they work 2009-10-13 21:32:04 +03:00
Tor Lillqvist
07e073bd7f Don't include gdkwin32.h when testing Objective-C++
Fixes bug #594644. If somebody actually some day needs to include
gdkwin32.h from an Objective-C++ program something needs to be done.
2009-10-09 14:34:41 +03:00
Matthias Clasen
b7be3e521a Make selecting the last character work again
This broke when I added link support. git bisect helped to track it
down.
2009-10-09 07:12:01 +02:00
Tor Lillqvist
d3eaae3a35 Create and install gtk-update-icon-cache.exe.manifest to avoid UAC 2009-10-08 15:40:45 +03:00
Tor Lillqvist
0ba0899b10 Don't ignore SIGPIPE unless it exists 2009-10-08 15:15:35 +03:00
Tor Lillqvist
70f6d0d4cc Fix the GDI+ gdk-pixbuf loader
Should fix bug #552678. Patch by Dominic Lachowicz, based on a clueful
response from Jason Copenhaver on Albeto Ruiz's blog
http://aruiz.typepad.com/siliconisland/2009/08/dear-lazyweb-gtk-need-gdi-help.html
2009-10-08 13:15:56 +03:00
Matthias Clasen
4ee18f8b94 Bump version 2009-10-05 17:44:25 -04:00
Matthias Clasen
68f25328e4 2.18.2 2.18.2 2009-10-05 17:42:00 -04:00
Matthias Clasen
c29e8f6cff Updates 2009-10-05 16:43:37 -04:00
Alexander Larsson
c5d0861179 Don't request window sizes with zero width or height
Zero width/height is unsupported and will magically be turned into one.
For instance, gtk_widget_size_allocate() will eventually do this magic
on the value stored in widget->allocation.

However, if we don't do this magic conversion early, then the value
returned from gtk_window_compute_configure_request() will not be
comparable with whats stored in widget->allocation. (I.E. they will
differ if width or height are zero).

This is dangerous, as we do such a comparison in gtk_window_move_resize().
Currently a change from e.g. 10x1 (current allocation) to 10x0 (new size)
will be expected to produce a ConfigureNotify, when it actually won't,
thus never thawing the frozen toplevel.

Fixes bug #588059
2009-10-05 22:07:06 +02:00
Alexander Larsson
786b589d95 Fix up _gdk_windowing_window_at_pointer coordinate reporting
We need to do a final XQueryWindow to get the coordinates inside the
windows rather than in the parent window.

This fixes bug #597386, "Cannot click buttons more than once...", which
failed due to the grab tracking stuff getting the wrong coordinates as
per the above.
2009-10-05 11:41:50 +02:00
Matthias Clasen
4581432387 Plug a memory leak
Valgrind reported a leak of regions from gdk_window_process_updates_internal.
2009-10-04 22:35:12 -04:00