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
Matthias Clasen
ec37512f64
Add a gtkscaleprivate.h header
2011-01-30 03:17:05 -05:00
Matthias Clasen
4a0aa41742
Add gtkorientableprivate.h header
2011-01-30 03:12:49 -05:00
Matthias Clasen
d463bbfdcd
Some updates
2011-01-30 02:57:59 -05:00
Matthias Clasen
d4b218131d
Drop 2.x release notes
2011-01-30 02:52:55 -05:00
Matthias Clasen
4b5b1ab43a
Fix build
...
We must build gtk before gtk/tests
2011-01-30 02:49:31 -05:00
Matthias Clasen
b71134fc77
Drop unused theme-bits
2011-01-30 02:47:27 -05:00
Matthias Clasen
572441f94f
Drop unused file circles.xml
2011-01-30 02:45:01 -05:00
Matthias Clasen
6c3ce36f63
Remove GTK+ 1 era xbm icons
2011-01-30 02:43:38 -05:00
Matthias Clasen
bcdfd15893
Remove some dead templates
2011-01-30 02:38:59 -05:00
Matthias Clasen
242c2a389d
Whitespace fixes
2011-01-30 02:36:17 -05:00
Matthias Clasen
837c504a11
Move GtkPrintOperation docs inline
2011-01-30 02:34:59 -05:00
Matthias Clasen
701075b2c8
Nicer configure summary
2011-01-30 02:21:16 -05:00
Matthias Clasen
645650ae24
Silence unused variable warnings in the cups printbackend
2011-01-30 02:16:18 -05:00
Matthias Clasen
2ba878ca1b
Silence unused variable warnings in gail
2011-01-30 02:14:08 -05:00
Matthias Clasen
cb6e036d67
More compiler warnings silenced
2011-01-30 01:59:12 -05:00
Matthias Clasen
2b631739c0
Fix another compiler warning about unused variables
2011-01-30 01:53:49 -05:00
Matthias Clasen
6dc142a50a
Silence more compiler warnings
2011-01-30 01:52:55 -05:00
Matthias Clasen
5caa76c5df
Fix compiler warnings about unused variables
2011-01-30 01:50:58 -05:00
Matthias Clasen
0c2e16f04b
Include gtkx.h here
...
When building under X11, gtktypefuncs.c includes references to gdk
X11 backend functions, so we need to include the header.
2011-01-30 01:45:18 -05:00
Matthias Clasen
61f8dbc245
Silence compiler warnings
2011-01-30 01:40:51 -05:00
Matthias Clasen
b1be543ba5
Use free() to free XIButtonState.mask
...
XIQueryPointer() allocates it using malloc() (without any mention
in the documentation...).
2011-01-29 23:27:36 -05:00
Matthias Clasen
10b6afa1f5
Improve some deprecation notes
2011-01-29 23:09:51 -05:00
Matthias Clasen
cbc4e82314
Mention theme-specific settings in the migration guide
2011-01-29 22:59:32 -05:00
Matthias Clasen
02d952ca6d
More documentation tweaks
2011-01-29 22:52:02 -05:00
Matthias Clasen
f6cd9c1553
Documentation tweaks
2011-01-29 22:47:33 -05:00