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
Matthias Clasen
bc58a60a0b
Minor rewording in the tutorial
2011-01-29 22:44:29 -05:00
Matthias Clasen
d39f98fff4
Go back to using the image/* example
2011-01-29 22:42:14 -05:00
Paolo Borelli
350d0b54e3
Do not use old functions in the docs.
2011-01-29 21:32:56 +01:00
Matthias Clasen
f783a75d61
Add a gtkx.h header for X11-specific GTK+ api
...
This keeps us from pulling gdkx.h into gtk.h
https://bugzilla.gnome.org/show_bug.cgi?id=640902
2011-01-29 14:16:47 -05:00
Matthias Clasen
1641e71c9a
Add a missing end tag
2011-01-29 13:40:19 -05:00
Luca Ferretti
66d4f07f29
Updated Italian translation
2011-01-29 15:55:20 +01:00
Carlos Garnacho
8a056d4774
Move "widget/window under device" accounting to be per-widget
...
This management is better done per-widget rather than per-screen,
as windows being destroyed won't trigger a leave notify for the
devices on top of it, and this information is too transitive
to keep weak refs and such.
This fixes the critical warning seen in gtk/tests/testing.
2011-01-29 14:45:05 +01:00
Paolo Borelli
55713025c0
Add padding to the themingengine class.
2011-01-29 14:34:29 +01:00
Paolo Borelli
001697a22a
Move the get_cursor_color in GtkStyleContext
...
Move the private get_cursor_color method belongs to StyleContext. Change
the api so that retrieving both primary and secondary color is possible.
I left the method private for now, though it should probably be public
as all the other getters.
2011-01-29 13:13:42 +01:00
Paolo Borelli
9e20341775
Use GtkRGBA for the cursor color priv api.
2011-01-29 12:38:50 +01:00
Paolo Borelli
469f4592d4
Fix typo in calculating secondary cursor color
2011-01-29 12:24:37 +01:00
A S Alam
3f918a8b2d
update Punjabi Translation by A S Alam
2011-01-29 07:56:20 +05:30
A S Alam
861dd0886c
update Punjabi Translation by A S Alam
2011-01-29 07:33:39 +05:30