Cosimo Cecchi
0032b1e88c
themingengine: don't hardcode white to draw insensitive labels shadow
...
Use the background color instead.
I think the optimal solution would be delegating the shadow rendering to
the theme completely, and removing this in GtkThemingEngine, but for
now, this simple fix makes the dark variant more usable.
https://bugzilla.gnome.org/show_bug.cgi?id=645405
2011-03-21 11:00:04 -04:00
Cosimo Cecchi
8d0e30c4b5
filechooserdefault: fix a build warning
2011-03-21 10:59:42 -04:00
Garrett Regier
488241b3be
Fix leaking calls to gdk_device_manager_list_devices()
...
gdk_device_manager_list_devices() returns a newly allocated list.
https://bugzilla.gnome.org/show_bug.cgi?id=645234
2011-03-21 10:37:49 -04:00
Matthias Clasen
acbdd23d29
Fix portability issues in configure
...
Avoid using bash features unnecessarily.
Patch by Matteo Settenvini
https://bugzilla.gnome.org/show_bug.cgi?id=645057
2011-03-21 10:34:15 -04:00
Garrett Regier
4dc4740b69
Free the motion hint infos in GdkDisplay
...
https://bugzilla.gnome.org/show_bug.cgi?id=645235
2011-03-21 10:24:01 -04:00
Gintautas Miliauskas
6048d8c5e2
Updated Lithuanian translation.
2011-03-21 14:29:25 +01:00
Rudolfs Mazurs
c6593fbf7a
Updated Latvian translation.
2011-03-20 15:27:18 +02:00
Gabor Kelemen
bc05fbd531
Updated Hungarian translation
2011-03-19 23:45:36 +01:00
Wouter Bolsterlee
8df5aad492
Updated Dutch translation by Wouter Bolsterlee
2011-03-19 17:58:06 +01:00
Cosimo Cecchi
64860e184a
radiobutton: exclude states we set manually from the previous state
...
https://bugzilla.gnome.org/show_bug.cgi?id=645172
2011-03-18 15:14:25 -04:00
Cosimo Cecchi
db4034ddd8
radiobutton: build the new state flags from the previous flags on click
...
This fixes e.g. sensitivity issues with GtkRadioButton on state update.
https://bugzilla.gnome.org/show_bug.cgi?id=645172
2011-03-18 15:10:30 -04:00
Мирослав Николић
fdf7bb1f9a
Updated Serbian Translation
2011-03-18 19:02:04 +01:00
Cosimo Cecchi
78051a6935
switch: fix boundaries for the switch motion
...
We were ignoring the focus ring padding, and we were incorrectly setting
handle_x to padding.left, while the draw handler already takes padding
into account while redrawing.
https://bugzilla.gnome.org/show_bug.cgi?id=645134
2011-03-18 09:51:53 -04:00
Cosimo Cecchi
0bc9efd230
notebook: don't forget to reset the style after setting show-tabs
...
This fixes a regression after commit
b04f4c536a
2011-03-17 17:26:15 -04:00
Cosimo Cecchi
6544532e51
treeview: add the separator style class to the tree view separator lines
2011-03-17 17:10:47 -04:00
William Jon McCann
0d7da653e8
filechooser: use the sidebar style class for the file chooser sidebar
...
https://bugzilla.gnome.org/show_bug.cgi?id=642712
2011-03-17 17:10:21 -04:00
Cosimo Cecchi
3652a771ab
stylecontext: add a sidebar style class
2011-03-17 17:10:21 -04:00
William Jon McCann
882cdf3728
set initial pane position
...
https://bugzilla.gnome.org/show_bug.cgi?id=642712
2011-03-17 16:25:06 -04:00
Cosimo Cecchi
6c1524b48f
filechooser: add the inline-toolbar style class to the bottom toolbar
2011-03-17 15:44:18 -04:00
Cosimo Cecchi
0e5b591a57
stylecontext: add an inline-toolbar style class
2011-03-17 15:44:03 -04:00
Cosimo Cecchi
89c1d93b68
styleproperties: don't force replacing the font description
...
Otherwise custom fonts will always get overridden by the default stored
in GtkSettings when merging them.
https://bugzilla.gnome.org/show_bug.cgi?id=644975
2011-03-17 14:34:24 -04:00
Bastien Nocera
b04f4c536a
notebook: Don't set notebook style with hidden tabs
...
When tabs are not shown, and the notebook is used as a container,
we should not set the notebook style, otherwise the theme has no
way to know whether tabs are shown or not, and which colour to draw
the background.
https://bugzilla.gnome.org/show_bug.cgi?id=640692
2011-03-17 17:59:46 +00:00
Frédéric Péters
31af690844
Update properties POTFILES
2011-03-17 14:41:43 +01:00
Bruce Cowan
ec7a50f5f2
Updated British English properties translation
2011-03-17 12:50:44 +00:00
Mario Blättermann
8d680da023
[l10n] Updated German translation
2011-03-17 11:52:28 +01:00
Jasper St. Pierre
2dcfc1ebae
Don't only use ch != 0 to check if a character is a control char.
...
https://bugzilla.gnome.org/show_bug.cgi?id=644976
2011-03-16 20:58:14 -04:00
Jasper St. Pierre
0164c69568
gdkkeyuni: Fix DEL for binary search
...
The list needs to be sorted in order for the binary search to work properly.
https://bugzilla.gnome.org/show_bug.cgi?id=644976
2011-03-16 20:58:13 -04:00
Cosimo Cecchi
c96057e613
range: allow stepper-spacing > 0 and trough-under-steppers = TRUE
...
Commit 4bb3d64414
introduced a limitation
to GtkRange style properties; when stepper-spacing is > 0,
trough-under-steppers is automatically set to FALSE; this means that
setting a spacing between the steppers (e.g. the scrollbar buttons) and
the trough (i.e. the area over which the slider is free to move) would
make the buttons always get the full allocation on the !orientation
direction.
The rationale is without this limitation, you would get an area which
seems clickable, but it's actually not.
While this is true, and undesirable, for big stepper spacings, themes
that use trough-under-steppers (which is TRUE by default anyway),
might want to set smaller spacings to avoid drawing a double line between
the button and the slider borders.
To add confusion, the documentation got it flipped, i.e. it stated
setting a positive stepper-spacing would set trough-under-steppers to
TRUE (which would also make the behavior expected by commit
4bb3d64414
impossible).
I don't think hardcoding either of the two limitations is a good thing.
We should let themes handle this instead, and remove this limitation. If
you want the old behavior, you can manually set trough-under-steppers to
FALSE if you set a positive stepper-spacing in your theme.
https://bugzilla.gnome.org/show_bug.cgi?id=644777
2011-03-16 13:19:30 -04:00
Matthias Clasen
ff412d2c5d
Make gdk_keyval_to_unicode return more codes
...
Previously, we didn't map ASCII controls to their Unicode
counterparts. Fix that.
https://bugzilla.gnome.org/show_bug.cgi?id=644836
2011-03-16 12:54:16 -04:00
Cosimo Cecchi
b9b535d7a2
widget: reset widget style after applying style classes from GtkBuilder
...
Otherwise, the parsed style classes do not get propagated to the
children.
https://bugzilla.gnome.org/show_bug.cgi?id=644925
2011-03-16 10:56:37 -04:00
Fran Diéguez
c89f9d8da0
Updated Galician translations
2011-03-15 20:27:41 +01:00
Matthias Clasen
fda0032d8a
Bump version
2011-03-14 14:31:02 -04:00
Matthias Clasen
5b3d82176a
Update NEWS
3.0.3
2011-03-14 12:31:13 -04:00
Cosimo Cecchi
565744d498
notebook: make GtkNotebook respect the focus-padding style property
...
https://bugzilla.gnome.org/show_bug.cgi?id=644348
2011-03-14 12:00:25 -04:00
Erdal Ronahi
318dbe7524
Updated Kurdish translation
2011-03-14 00:04:10 +01:00
Changwoo Ryu
80b6fd0978
Updated Korean translation
2011-03-13 23:27:02 +09:00
Matthias Clasen
da22745fa2
Add annotations to gtk_window_get_position
...
Part of bug 644353, patch by Ulrik Sverdrup.
2011-03-12 21:33:21 -05:00
Matthias Clasen
7abeab8490
Fix annotations for gtk_accelerator_parse
...
Part of bug 644353, patch by Ulrik Sverdrup.
2011-03-12 21:33:04 -05:00
Cosimo Cecchi
be3fc28e66
paned: don't set the "pane-separator" style class to all the container
...
Otherwise children inherit color properties specified for the pane
separator itself.
https://bugzilla.gnome.org/show_bug.cgi?id=644276
2011-03-12 20:38:49 -05:00
Carlos Garcia Campos
647f8fb2fb
themingengine: Use render_background_internal() to render handle background
...
Instead of using always the background color. This fixes handles that
have a background image like gnome-panel applets in a transparent
panel.
https://bugzilla.gnome.org/show_bug.cgi?id=644570
2011-03-12 20:38:43 -05:00
Petr Kovar
c65309b673
Update Czech translation
2011-03-12 23:33:53 +01:00
Matthias Clasen
6ff74f6e06
GtkAboutDialog: keep toggle button state in sync
...
When hiding the dialog, we hide the credits/license parts, so
we need to update the toggle buttons controlling them.
https://bugzilla.gnome.org/show_bug.cgi?id=644355
2011-03-12 13:44:03 -05:00
Bruno Brouard
021ba76ceb
Updated French translation
2011-03-12 18:08:25 +01:00
Yaron Shahrabani
1859972b3b
Updated Hebrew translation.
2011-03-12 06:21:40 +02:00
Luca Ferretti
f17bed1eac
Updated Italian translation
2011-03-12 02:09:30 +01:00
Daniel Nylander
6accf7bf16
Updated Swedish translation
2011-03-11 23:52:05 +01:00
Daniel Nylander
a5d5edace1
Updated Swedish translation
2011-03-11 23:51:51 +01:00
Klemen Košir
ed188c8b10
Updated Slovenian translation
2011-03-11 21:51:36 +01:00
Benjamin Otte
fa8bd08f5d
gtk: Queue a resize after state changes
...
Lots of style properties - border-width in this case - can change the
size of widgets, so we need to queue a resize instead of just redrawing.
2011-03-11 19:53:35 +01:00
Tristan Van Berkom
8ee894ae46
Fixed gdk_window_beep() to pass the toplevel instance to the toplevel's implementation vfunc.
...
This incorrect assignment would cause asynchronous aborts from the X server
(they would occur if for instance, an offscreen GtkTreeView calls
gtk_widget_error_bell()).
2011-03-10 14:11:41 +09:00