Matthias Clasen
|
e1819055b9
|
Copy GtkWidgetPaths correctly
The code was forgetting to copy class information.
|
2010-12-04 15:39:17 +01:00 |
|
Matthias Clasen
|
49fed3d7d7
|
More css parsing tests
|
2010-12-04 15:39:17 +01:00 |
|
Matthias Clasen
|
4135fbf4d6
|
A little closer to css
Declarations are ;-separated, but there is no ; required after
the last declaration. We harmlessly accept either.
|
2010-12-04 15:39:17 +01:00 |
|
Javier Jardón
|
295cf25d6b
|
docs: Refer to gtk_paint_*() instead draw_*() vfuncs in the migration guide
|
2010-12-04 15:39:17 +01:00 |
|
Matthias Clasen
|
933440e1f1
|
Some css parsing tests
|
2010-12-04 15:39:16 +01:00 |
|
Matthias Clasen
|
0396550ece
|
Work harder at parsing import statements
Also, turn g_warning() into g_message() for now, so that tests
don't abort. Eventually, this needs to all go into GErrors.
|
2010-12-04 15:39:16 +01:00 |
|
Matthias Clasen
|
11cd19987b
|
Move import syntax closer to css
Css allows @import url ("foo.css") or @import "foo.css" or
@import url ('foo.css') but not @import url(foo.css) or @immport foo.css.
|
2010-12-04 15:39:16 +01:00 |
|
Matthias Clasen
|
f92c352f96
|
Some error reporting
When we take a GError argument, better use it.
|
2010-12-04 15:39:16 +01:00 |
|
Matthias Clasen
|
5f13b65065
|
Fix prototype of gtk_css_style_provider_load_from_data
GError arguments must be **.
|
2010-12-04 15:39:16 +01:00 |
|
Matthias Clasen
|
72f9a7940f
|
Add an outline around menu popups
|
2010-12-04 15:39:15 +01:00 |
|
Matthias Clasen
|
c8e5d3b07b
|
Transform the 'menu' detail string to the 'popup' class
|
2010-12-04 15:39:15 +01:00 |
|
Matthias Clasen
|
016a656923
|
Fix prelighting of inconsistent radio and check buttons
|
2010-12-04 15:39:15 +01:00 |
|
Matthias Clasen
|
b6776dc116
|
Fix the resize handle drawing
|
2010-12-04 15:39:15 +01:00 |
|
Matthias Clasen
|
627b33265b
|
Handle float and uint style properties
These were giving errors in testgtk.
|
2010-12-04 15:39:15 +01:00 |
|
Matthias Clasen
|
f0eafe60f8
|
Remove debug output
|
2010-12-04 15:39:14 +01:00 |
|
Matthias Clasen
|
4e778d7371
|
Fix a typo
|
2010-12-04 15:39:14 +01:00 |
|
Matthias Clasen
|
512bc44dbc
|
Make frames visible by default
|
2010-12-04 15:39:14 +01:00 |
|
Matthias Clasen
|
9ca66efe2c
|
Fix a memory leak
|
2010-12-04 15:39:14 +01:00 |
|
Matthias Clasen
|
69f91fed94
|
Translate detail strings for radio buttons
|
2010-12-04 15:39:14 +01:00 |
|
Carlos Garnacho
|
25b6945971
|
GtkThemingEngine: remove unused code
|
2010-12-04 15:39:13 +01:00 |
|
Carlos Garnacho
|
892fe46324
|
Fix compile warnings
|
2010-12-04 15:39:13 +01:00 |
|
Carlos Garnacho
|
c9dc09e980
|
GtkStyleProvider: Pass a GParamSpec in get_style_property().
This is so we can know the owner type of the property, and matching
with the stored strings in GtkCssProvider is direct.
|
2010-12-04 15:39:13 +01:00 |
|
Carlos Garnacho
|
b613f1f1f2
|
GtkStyleContext: Also use screen providers for widget style properties.
|
2010-12-04 15:39:13 +01:00 |
|
Carlos Garnacho
|
13e186bbca
|
Handle menuitem detail string better.
|
2010-12-04 15:39:13 +01:00 |
|
Carlos Garnacho
|
9a2d1e5433
|
GtkSettings: install theme CSS with a lower priority.
This is so GtkSettings has an opportunity to modify theme colors.
|
2010-12-04 15:39:12 +01:00 |
|
Carlos Garnacho
|
0057aa5445
|
Add corners to GtkJunctionSides, defining sides as 2 corners.
|
2010-12-04 15:39:12 +01:00 |
|
Matthias Clasen
|
eb8a1c4e33
|
Don't whine about expander-style missing
This check was lost in the GtkStyleContext porting.
|
2010-12-04 15:39:12 +01:00 |
|
Carlos Garnacho
|
43cff6f6f7
|
GtkCssProvider: theme notebooks.
|
2010-12-04 15:39:11 +01:00 |
|
Carlos Garnacho
|
6099399fa7
|
GtkThemingEngine: Use border settings on render_extension/frame_gap()
|
2010-12-04 15:39:11 +01:00 |
|
Carlos Garnacho
|
60a2e90df7
|
GtkStyle: transform tabs' detail string.
|
2010-12-04 15:39:10 +01:00 |
|
Carlos Garnacho
|
534942d994
|
GtkThemingEngine: Do not use possible reserved word.
|
2010-12-04 15:39:10 +01:00 |
|
Carlos Garnacho
|
5bf9f8c410
|
testgtk: Try to locate the right file.
|
2010-12-04 15:39:09 +01:00 |
|
Carlos Garnacho
|
d4aade109f
|
Fix gtk_css_provider_get_named() docs.
|
2010-12-04 15:39:09 +01:00 |
|
Carlos Garnacho
|
c37797a10c
|
GtkSettings: Keep right refcount of the theme provider.
|
2010-12-04 15:39:08 +01:00 |
|
Carlos Garnacho
|
611cb007b4
|
GtkSettings: Ensure the theme CSS is loaded on startup.
|
2010-12-04 15:39:08 +01:00 |
|
Carlos Garnacho
|
8243c3c025
|
GtkCssProvider: Fix typo in gtk_css_provider_get_named()
provider was being redefined in the inner block, so the loaded
provider didn't get to be returned.
|
2010-12-04 15:39:08 +01:00 |
|
Carlos Garnacho
|
a185954d7c
|
Hardcode 3.0 version for style files and paths.
It's about time to start using the right paths.
|
2010-12-04 15:39:07 +01:00 |
|
Carlos Garnacho
|
37f9f491d2
|
Make testgtk load CSS for custom styling.
|
2010-12-04 15:39:07 +01:00 |
|
Carlos Garnacho
|
9ffaf1122d
|
GtkCssProvider: Accept '%' in value strings.
|
2010-12-04 15:39:06 +01:00 |
|
Carlos Garnacho
|
64e798e190
|
Do not initialize RC subsystem.
|
2010-12-04 15:39:06 +01:00 |
|
Carlos Garnacho
|
62ee0956e3
|
GtkStyleProperties: Use GParamSpec for properties registration.
|
2010-12-04 15:39:06 +01:00 |
|
Carlos Garnacho
|
1c847d9c21
|
GtkCssProvider: Docs fix for -gtk-gradient() syntax.
|
2010-12-04 15:39:06 +01:00 |
|
Carlos Garnacho
|
bcf81a0e23
|
Handle looping transition animations.
|
2010-12-04 15:39:05 +01:00 |
|
Carlos Garnacho
|
1123159dc9
|
GtkCssProvider: Handle better wrong enum/flag values.
|
2010-12-04 15:39:05 +01:00 |
|
Carlos Garnacho
|
9bb96e271d
|
GtkCssProviders: Parse GTypeFlags based values.
|
2010-12-04 15:39:05 +01:00 |
|
Carlos Garnacho
|
5cb6fed0bd
|
GtkCssProvider: Add initial unit parsing logic
At the moment only "px" are supported, and such is the default
value when no unit is specified.
|
2010-12-04 15:39:05 +01:00 |
|
Carlos Garnacho
|
65abcb722e
|
GtkCssProvider: Handle the "none" keyword to unset properties.
|
2010-12-04 15:39:05 +01:00 |
|
Carlos Garnacho
|
c57fdf4c75
|
GtkStyleContext: Resolve symbolic colors for widget style properties.
|
2010-12-04 15:39:04 +01:00 |
|
Carlos Garnacho
|
d865cf4b38
|
GtkStyleProperties: Handle GdkColor types.
Just in case.
|
2010-12-04 15:39:04 +01:00 |
|
Carlos Garnacho
|
8b9b9c22e7
|
GtkCssProvider: Also parse GdkColor values
This is necessary for widget style properties to work.
|
2010-12-04 15:39:04 +01:00 |
|