Commit Graph

26623 Commits

Author SHA1 Message Date
Cosimo Cecchi
e94b311fbf combobox: allocate the right border to the arrow and not to the label
When the combobox is in menu mode, the right padding of the togglebutton
inside, should be allocated to its rightmost children, which is the
arrow.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:20 -04:00
Cosimo Cecchi
22eb1f5b91 combobox: don't use the border as a padding
This causes the combobox to behave badly from the theme.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:20 -04:00
Cosimo Cecchi
9f4183c453 combobox: don't add the button style class to the whole widget
It already has a toggle button inside, and this way we cannot theme them
separately.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:19 -04:00
Cosimo Cecchi
2c29311955 button: don't use the border values for padding
It's wrong, and makes it impossible to theme the button properly.

https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:19 -04:00
Cosimo Cecchi
29e45c4c89 button: make gtk_button_get_props() return the padding too
https://bugzilla.gnome.org/show_bug.cgi?id=646882
2011-04-12 17:06:19 -04:00
Dan Winship
00802c73e4 gtk_window_present_with_time: fix when window is not initially visible
When called on a hidden window, gtk_window_present_with_time() would
just fall back to gtk_widget_show(), completely ignoring the passed-in
timestamp. This ended up working anyway if the timestamp came from
in-process, since gdk_window_x11_show() would initialize its user_time
from the time of the most recent event. But if the timestamp came from
another process, this would result in the window being shown with an
out-of-date timestamp.

Fix this by remembering the timestamp from
gtk_window_present_with_time(), and then setting the GdkWindow's
user_time from that when it the window is realized.

https://bugzilla.gnome.org/show_bug.cgi?id=647275
2011-04-12 14:48:27 -04:00
Dan Winship
9404f77eb1 GdkDeviceManagerXI2: don't set user_time on ButtonRelease
The XI2 device manager was mistakenly setting the window user_time on
both ButtonPress and ButtonRelease, which meant that processes that
tried to launch another process based on the time of a ButtonPress
event would end up always focus-stealing-preventing the new app.

https://bugzilla.gnome.org/show_bug.cgi?id=647275
2011-04-12 14:48:02 -04:00
Dan Winship
94b9e819a0 GdkDeviceManagerXI2: process send_event core events
XSendEvent doesn't currently work with XI2 events, so add code to
translate core events when they have the send_event flag.

(We still don't actually select for core pointer/keyboard events, so
we will only receive send_event events that are sent with a 0
event_mask.)

https://bugzilla.gnome.org/show_bug.cgi?id=644847
2011-04-12 14:29:12 -04:00
Takayoshi OKANO
a0d9da7454 Updated Japanese translation. 2011-04-11 23:17:23 +09:00
Tristan Van Berkom
e21d72cf3a Fix some crashes caused by unimplemented functions in GdkOffscreenWindow
These crashes happen when accessing GtkWindow properties and the
GdkWindow is an offscreen (fixes https://bugzilla.gnome.org/show_bug.cgi?id=647244)
2011-04-09 02:03:25 +09:00
Matthias Clasen
f14a1af30e Avoid a warning out of the print dialog
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=647152
2011-04-08 20:46:57 -04:00
Cosimo Cecchi
dcaafb1bc1 themingengine: don't set a line width before saving the cairo context
https://bugzilla.gnome.org/show_bug.cgi?id=647086
2011-04-08 20:34:16 -04:00
Cosimo Cecchi
e5ae44bd1b separator: call gtk_style_context_restore() after drawing
https://bugzilla.gnome.org/show_bug.cgi?id=647086
2011-04-08 20:34:16 -04:00
Cosimo Cecchi
ccc1739161 calendar: make sure to call gtk_style_context_restore()
https://bugzilla.gnome.org/show_bug.cgi?id=647086
2011-04-08 20:34:15 -04:00
Paolo Borelli
68c2bac9b1 Do not leak list when drawing notebook.
When we construct the list in the other order we must free it.

https://bugzilla.gnome.org/show_bug.cgi?id=646886
2011-04-08 20:20:33 -04:00
Manoj Kumar Giri
f6cfd6a862 Updated Oriya Translation 2011-04-07 15:32:41 +05:30
Manoj Kumar Giri
ffda85161c Updated Oriya Translation 2011-04-07 14:38:13 +05:30
Manoj Kumar Giri
4e514b5b62 Updated Oriya Translation 2011-04-07 14:36:31 +05:30
Matthias Clasen
32428d8c12 GtkColorButton: Don't leak references
https://bugzilla.gnome.org/show_bug.cgi?id=646815
2011-04-06 00:58:38 -04:00
Matthias Clasen
be19d1ae14 GtkGrid: Add forgotten RTL flipping
How did we manage to add a non-RTL savy container in GTK+ 3.0 ?
2011-04-06 00:58:19 -04:00
Petr Kovar
0da77d180d Update Czech translation 2011-04-06 03:43:06 +02:00
Jordi Serratosa
845066293c [l10n]Fixes on Catalan translation 2011-04-04 21:53:00 +02:00
Jordi Serratosa
76a4f1ed31 [l10n]Fixes on Catalan translation 2011-04-04 21:50:08 +02:00
Jamil Ahmed
68653d113f Updated Bengali translation 2011-04-05 01:40:43 +06:00
Chao-Hsiung Liao
e0b5853a0f Updated Traditional Chinese translation (Hong Kong and Taiwan) 2011-04-04 20:31:41 +08:00
Jamil Ahmed
234802e0df Updated Bengali translation 2011-04-04 16:44:56 +06:00
Amitakhya Phukan
56a53bb5ba Updated Assamese translations 2011-04-04 11:20:11 +05:30
Daniel Korostil
9ae29b3214 Uploaded Ukranian 2011-04-04 03:32:50 +03:00
Gil Forcada
0a0687a476 [l10n]Updated Catalan translation 2011-04-04 01:07:43 +02:00
Matthias Clasen
fbf8bc4b51 Update for 3.0.8 3.0.8 2011-04-03 17:54:34 -04:00
Matthias Clasen
9c1b238bf9 Make gdk_x11_window_set_theme_variant do nothing for non-toplevels
This avoids problems when calling this e.g. on offscreen windows.
2011-04-03 17:41:29 -04:00
Matthias Clasen
62053dbe47 Keymap: properly initialize lock state
We need to get explicitly lock state initially, before we can
rely on state changed events to track it.
https://bugzilla.gnome.org/show_bug.cgi?id=645341
2011-04-03 17:38:55 -04:00
Tristan Van Berkom
cc837f531b Fixed warning catch in gtk_window_compute_hints(). 2011-04-03 18:09:22 +09:00
Wolfgang Stöggl
c551de2576 [l10n] Updated German translation, umlauts fixed 2011-04-03 19:19:30 +02:00
Yuri Kozlov
544d5820cc Updated Russian translation 2011-04-03 20:17:29 +04:00
Inaki Larranaga Murgoitio
0435283237 Updated Basque language 2011-04-03 13:36:57 +02:00
Inaki Larranaga Murgoitio
e6a5ce0209 Updated Basque language 2011-04-03 13:25:26 +02:00
Carlos Garnacho
45f350bbfd theme: Fix prelight on selected rows' expanders
There was no prelight effect on selected rows' expanders with the
builtin theme, noticed by Kris Rietveld.
2011-04-03 12:35:39 +02:00
Daniel Nylander
5a340126cc Updated Swedish translation 2011-04-03 11:36:46 +02:00
Lucian Adrian Grijincu
ca73bcf566 Updated Romanian translation 2011-04-03 02:12:32 +02:00
Lucian Adrian Grijincu
7ef205c52e Updated Romanian translation 2011-04-03 02:06:14 +02:00
Jorge González
88181d1cc2 Updated Spanish translation 2011-04-02 20:45:05 +02:00
Matthias Clasen
c7f02139bf Revert "Added GTK_SIZE_REQUEST_CONSTANT_SIZE to GtkSizeRequestMode"
This reverts commit bb39638c4f.
2011-04-02 14:10:59 -04:00
Matthias Clasen
c69d473a3b Revert "Reduce memory consumption of the size request cache."
This reverts commit 148d4cd3fa.
2011-04-02 14:10:59 -04:00
Matthias Clasen
7790f3091b Revert "Cache heights-for-range-of-widths instead of height for every width."
This reverts commit edb44589dc.
2011-04-02 14:10:59 -04:00
Ask H. Larsen
42ce306c8d Updated Danish translation 2011-04-02 19:44:22 +02:00
George Stefanakis
eb45a064b3 l10n: Updated Greek translation for gtk+ 2011-04-02 17:56:17 +03:00
Gil Forcada
ae4de72b55 [l10n]Updated Catalan translation 2011-04-02 09:09:35 +02:00
Matthias Clasen
b9031f7bc8 GtkAppChooserButton: avoid some leaks
gtk_tree_model_get() returns a reference for objects.
https://bugzilla.gnome.org/show_bug.cgi?id=646462
2011-04-01 23:52:46 -04:00
Matthias Clasen
c546cf5f59 Fix some refcounting issues in the print dialog
gtk_tree_model_get returns a reference for objects, but the
printers in the model can be NULL,
https://bugzilla.gnome.org/show_bug.cgi?id=646446
2011-04-01 22:05:44 -04:00