Benjamin Otte
d217f4d09e
x11: Handle motif client message filter just like xdnd filters
2011-02-01 06:33:01 +01:00
Benjamin Otte
14cb485d22
x11: Use event->any.window instead of any random member
2011-02-01 06:33:01 +01:00
Benjamin Otte
fac914d70c
API: gtk: Remove client_event vfunc from GtkWidget
...
Also remove the (de-facto unused) implementation from GtkWindow that was
only used for sockets/plugs.
2011-02-01 06:33:01 +01:00
Matthias Clasen
b52db73f59
Deal gracefully with unowned selections
...
If a selection looses its owner without a replacement, owner is
None, which we did not handle very well.
https://bugzilla.gnome.org/show_bug.cgi?id=641042
2011-01-31 19:35:51 -05:00
Dan Winship
fc43e42bf2
Fix several bugs handling GtkTrayIcon symbolic colors
...
https://bugzilla.gnome.org/show_bug.cgi?id=641059
2011-01-31 19:13:29 -05:00
Matthias Clasen
6d218084c3
Clarify models vs callbacks in entry completion docs
...
See https://bugzilla.gnome.org/show_bug.cgi?id=641073
2011-01-31 19:01:16 -05:00
Kristian Rietveld
9dcdca2501
Don't use GTK_IS_PLUG for non-X11 backends
2011-02-01 00:26:04 +01:00
Kristian Rietveld
73afbc954a
Check whether mask is NULL
2011-01-31 23:54:38 +01:00
Kristian Rietveld
119d29dcb9
Only include gtktrayicon.h when building for X11
...
GtkTrayIcon depends on GtkPlug which is X11-specific. This fixes the
build for Quartz.
2011-01-31 23:54:38 +01:00
Matthias Clasen
726b0d8736
Bandaid fix for icon view subclassing
...
I've decided that it is isn't feasible to make cell areas runtime-settable
in the time we have left before 3.0, therefore, I'm going with the
approach to allow init() functions to instantiate the default cell area
and issue a warning if a construct property is ignored.
This is not ideal, but it keeps existing icon view and combo box
subclasses working.
https://bugzilla.gnome.org/show_bug.cgi?id=639139
2011-01-31 17:39:42 -05:00
Stefan Kost
1f3a5a8d92
Clarify key-{press,release}-event docs.
...
Mention key-repeat in key-press and fix a copy'n'paste in key-release docs.
2011-01-31 23:10:10 +02:00
Tristan Van Berkom
a37976dae0
Fixed GtkToolPalette ->forall implementation to be gtk_widget_destroy friendly
...
The forall() loop was buggy as it was skipping items in the list when
the current item gets removed from the groups array as a result of
calling the callback (causing memory leaks).
2011-02-01 05:02:56 +09:00
Tristan Van Berkom
ddb4b3ebe2
Added "shift" modifier versions of keybings for GtkFileChooser "folder-up"/"folder-down" bindings.
...
Also updated documentation, closes bug 322926
2011-02-01 05:02:56 +09:00
Daniel Mustieles
c01c018fde
Updated Spanish translation
2011-01-31 19:33:55 +01:00
Matthias Clasen
30958ea8ad
Fix a segfault in gtk_statusbar_remove_all
...
https://bugzilla.gnome.org/show_bug.cgi?id=640487
2011-01-31 11:50:23 -05:00
Emmanuele Bassi
d51c617e13
css-provider: Fix up the Switch style
...
As it was with the old style, when the Switch is in the "on" state the
trough should be using the selected background color.
2011-01-31 16:21:36 +00:00
Matthias Clasen
cb498c2101
Speed up expander animation
...
Go back to 200ms, which is what we had in GTK+ 2.x.
Themes can change this, of course.
2011-01-31 10:51:09 -05:00
Matthias Clasen
38f6065b2b
Make GtkEntryCompletion::match-selected arguments consistent
...
For keynav, we were still passing it the filter model.
https://bugzilla.gnome.org/show_bug.cgi?id=640698
2011-01-31 10:48:40 -05:00
Matthias Clasen
fb860a9527
Add a note to ::fill and ::expand docs
2011-01-31 10:26:28 -05:00
Matthias Clasen
a26ffdc740
Prevent a segfault in GtkPlug
...
The grabbed_keys might be NULL, so deal with that.
https://bugzilla.gnome.org/show_bug.cgi?id=641023
2011-01-31 10:17:21 -05:00
Matthias Clasen
0208539c4b
Remove RC file references from docs where appropriate
2011-01-31 09:34:46 -05:00
Matthias Clasen
677c8c2189
Remove references to RC files in the env var docs
2011-01-31 09:29:40 -05:00
Matthias Clasen
6a8d494ba1
Fix GTK_SPINNER_CLASS macro
...
https://bugzilla.gnome.org/show_bug.cgi?id=640999
2011-01-31 07:39:06 -05:00
Matthias Clasen
09a52de478
Add a missing id to the docs
2011-01-31 07:39:06 -05:00
Baurzhan Muftakhidinov
430f53bb52
Updated Kazakh translation
2011-01-31 16:22:38 +06:00
Benjamin Otte
9864445b1f
API: gdk: Change GdkEventOwnerChange to not take GdkNativeWindow
...
Use GdkWindow instead. This requires calling
gdk_x11_window_foreign_new_for_display(), so might cause a slight
performance penalty, but is required to be portable.
2011-01-31 07:17:31 +01:00
Matthias Clasen
cfa6505504
Mention key themes in the migration guide
2011-01-30 23:53:19 -05:00
Matthias Clasen
175c57ebd7
Small optimization
...
We can use the fact that all involved strings are interned; also
deprecate gtk_binding_set_add_path() in the headers, too.
2011-01-30 23:35:25 -05:00
Matthias Clasen
f67ab808fd
doc fixes
2011-01-30 23:35:25 -05:00
Matthias Clasen
b448bb81ce
Move GtkBindings docs inline
2011-01-30 23:00:12 -05:00
Matthias Clasen
dcf3430e17
Add a gtkbindingsprivate.h header
2011-01-30 21:50:54 -05:00
Matthias Clasen
8bb0d552f1
Improve binding-set parser
...
Make gtk_binding_entry_add_signal_from_string() return the expected
token in case of parsing error, so that we can return a GError
instead of spewing. Also, add a separate scope for binding-set,
since allowing {} in identifiers in SCOPE_VALUE breaks the fact
that the ; after the last assignment in a rule is optional.
2011-01-30 21:27:56 -05:00
Matthias Clasen
a04e721473
Add binding-set tests
2011-01-30 21:27:55 -05:00
Matthias Clasen
2ea010bca0
Convert remaining rc files to css
2011-01-30 21:27:55 -05:00
Matthias Clasen
f16dbe0db3
Convert the mac key theme to css
2011-01-30 21:27:55 -05:00
Matthias Clasen
c770f441ca
Convert the Emacs key theme to css
2011-01-30 21:27:55 -05:00
Matthias Clasen
bf9e59e392
Make documentation match behaviour
2011-01-30 21:27:55 -05:00
Carlos Garnacho
c0b8053089
Move key/theme CSS providers to GtkSettingsPrivate
2011-01-30 21:27:55 -05:00
Carlos Garnacho
a03e33b10b
Parse the gtk-keys.css file in the GtkSettings::gtk-key-theme-name theme path
2011-01-30 21:25:42 -05:00
Carlos Garnacho
081d5b14da
Add some bindings to testgtk.css for testing
2011-01-30 21:24:52 -05:00
Carlos Garnacho
c70b65f0eb
Document @binding-set and the gtk-key-bindings css parser property
2011-01-30 21:24:52 -05:00
Carlos Garnacho
b5bee0a827
Remove unneeded code from GtkBindingSet
2011-01-30 21:24:52 -05:00
Carlos Garnacho
9a3466832c
Hook up key bindings in CSS with key propagation.
...
This is done in the same place than it was done before the switch
to GtkStyleContext, the GtkBindingEntry has been slightly simplified
since it's now the GtkStyleContext which hands us the list
of binding sets applying to a widget, so no need to use the older
matching mechanisms.
2011-01-30 21:24:52 -05:00
Carlos Garnacho
d39f0411be
Add the gtk-key-bindings CSS parser property.
...
This property takes a list of binding set names to have these
stored as a GPtrArray containing GtkBindingSets. this property
is handled so merging GtkStyleProperties will merge both
GtkBindingSet lists.
2011-01-30 21:24:51 -05:00
Carlos Garnacho
dbff92fd9f
Add @binding-set rules to the CSS parser
...
these custom rules can be used to define key themes
as in the RC files, a series of bind/unbind rules
may be added then:
@binding foo-bar {
bind "<alt>1" { "move-cursor" (visual-positions, 1, 0) };
unbind "<ctl>d"
}
2011-01-30 21:24:51 -05:00
Carlos Garnacho
53ca6eb0b5
Add gtk_binding_entry_add_signal_from_string()
...
This function rescues part of the old parser (which
is now standalone) to load a bind/unbind definition
string into a GtkBindingSet.
2011-01-30 21:24:51 -05:00
Bastien Nocera
b98caf9385
GtkCssProvider: Take into account variant
...
When loading a theme, make sure we take into account the variant
so we don't use the plain version when the theme changes.
Also make sure to fallback to the plain theme when loading a variant
fails.
https://bugzilla.gnome.org/show_bug.cgi?id=640983
2011-01-30 21:22:12 -05:00
Bastien Nocera
7f3aa92086
GtkSettings: Fix theme not updating for dark theme
...
The theme was not updated when the "gtk-application-prefer-dark-theme"
GtkSettings property changed.
https://bugzilla.gnome.org/show_bug.cgi?id=640983
2011-01-30 20:48:29 -05:00
Jakob Kramer
c4cafd67c3
[l10n] Updated German translation
2011-01-30 20:49:34 +01:00
David Planella
23ac7efe03
Updated Catalan translation
2011-01-30 11:27:40 +01:00