0e462f0d2d
css: Implement "all" shorthand
...
Here's the spec:
http://dev.w3.org/csswg/css-cascade/#all-shorthand
Also use it in the reset-to-defaults CSS where a bunch of properties had
been missing.
2014-05-11 03:23:55 +02:00
3a72e2fb24
css: Implement "unset"
...
Quoting the spec:
If the cascaded value of a property is the unset keyword,
then if it is an inherited property, this is treated as
inherit, and if it is not, this is treated as initial.
Spec in question:
http://dev.w3.org/csswg/css-cascade/
Also use unset in the reset-to-defaults.css we use to reset css in
reftests.
2014-05-11 03:23:55 +02:00
f2258cb05c
reftests: Create the surface after running the main loop
...
Running the main loop may cause resizes, so creating the surface based
on the size before running it seems wrong.
2014-05-11 03:23:55 +02:00
fa8ca5fd13
iconhelper: Simplify code
...
In the GTK_IMAGE_ICON_NAME case, instead of keeping around the icon_name,
create a GThemedIcon and use that. This way, we can reuse the code paths
for the GTK_IMAGE_GICON case.
2014-05-11 03:23:54 +02:00
61ed31a473
win32embed: Set the visible flag and avoid recursion
...
We have to use the internal accessor to the visible flag, instead of
calling gtk_widget_set_visible(), from within the show() and hide()
implementations - otherwise we'll recurse.
https://bugzilla.gnome.org/show_bug.cgi?id=721069
2014-05-10 19:42:35 +01:00
c0200b9a68
Updated Spanish translation
2014-05-10 19:53:22 +02:00
207f2984d2
Updated Spanish translation
2014-05-10 19:53:04 +02:00
f5e64936da
GtkWindow: small cleanup
...
The window type is a construct-only property, so we should
pass it to g_object_new, not set it after the fact in the
constructor.
2014-05-09 17:13:53 -04:00
b0ace67712
widget: deprecate focus-line-width style property
...
Nothing in GTK uses it anymore.
2014-05-09 11:02:46 -07:00
57f4d3d78a
flowbox: don't use focus-line-width
2014-05-09 11:02:46 -07:00
9eb1e1b15e
listbox: don't use focus-line-width
2014-05-09 11:02:46 -07:00
13649a3fbc
colorscale: don't use focus-line-width
2014-05-09 11:02:46 -07:00
caa73b2128
modelbutton: don't use focus-line-width
2014-05-09 11:02:46 -07:00
e2f2571dee
range: don't use focus-line-width
2014-05-09 11:02:46 -07:00
69f2fecb1c
expander: don't use focus-line-width
2014-05-09 11:02:46 -07:00
853dcc615d
notebook: don't use focus-line-width
2014-05-09 11:02:45 -07:00
1627c903d8
spinbutton: remove unused code
2014-05-09 11:02:45 -07:00
9f7bab0aca
entry: remove unused code
2014-05-09 11:02:45 -07:00
92d23be47d
switch: don't use focus-line-width
2014-05-09 11:02:45 -07:00
8fff30090b
radiobutton: don't use focus-line-width
2014-05-09 11:02:45 -07:00
a32260660b
checkbutton: don't use focus-line-width
2014-05-09 11:02:45 -07:00
a2a1c6da95
cellarea: don't use focus-line-width
...
Use CSS padding instead.
2014-05-09 11:02:45 -07:00
2cbf3c66ef
treeview: use the CELL style class while doing cell size request
...
Since we use the same style class later when we draw them. Otherwise
we'll get inconsistent results for CSS borders/paddings between the two
cycles.
2014-05-09 11:02:45 -07:00
0ff3f16da1
calendar: don't use focus-line-width
2014-05-09 11:02:44 -07:00
694b209094
button: don't use focus-line-width
2014-05-09 11:02:44 -07:00
bbadfbcd2a
button: remove unused code
2014-05-09 11:02:44 -07:00
e8c906966e
widget: deprecate focus-line-pattern style property
...
Nothing in GTK uses it.
2014-05-09 11:02:44 -07:00
a2decd1f2f
widget: deprecate focus-padding style property
...
There's no use left inside GTK.
2014-05-09 11:02:44 -07:00
5cb43c70f7
calendar: simplify code
...
Always use the newly introduced get_component_paddings() instead of
doing the work manually every time.
2014-05-09 11:02:44 -07:00
1e66a7ccdb
calendar: use CSS paddings instead of focus pad for day/week areas
...
focus-padding is going away.
2014-05-09 11:02:44 -07:00
83b4e67307
range: remove unused code
2014-05-09 11:02:44 -07:00
c62d6fea70
colorscale: don't use focus padding
2014-05-09 11:02:44 -07:00
365ab7f73b
range: don't use focus padding
2014-05-09 11:02:43 -07:00
d0b8ef3a6f
scale: remove unused code
2014-05-09 11:02:43 -07:00
24a422631d
expander: don't use focus padding
2014-05-09 11:02:43 -07:00
d2f77984dc
expander: add support for CSS padding and borders
...
We need to do this since we're about to remove focus-pad.
2014-05-09 11:02:43 -07:00
9a811e2c94
notebook: don't use focus padding
2014-05-09 11:02:43 -07:00
80981f5c95
modelbutton: don't use focus padding
2014-05-09 11:02:43 -07:00
053b21cc1f
flowbox: don't use focus padding
2014-05-09 11:02:43 -07:00
241b4c0c75
listbox: don't use focus padding
2014-05-09 11:02:43 -07:00
ceab6ee15d
switch: don't use focus padding
2014-05-09 11:02:42 -07:00
52e40a1725
treeview: don't use focus padding
2014-05-09 11:02:42 -07:00
c20e8b0b49
checkbutton: support CSS paddings and borders
...
We need this since we just removed focus-padding.
2014-05-09 11:02:42 -07:00
99f0776f19
checkbutton: don't use focus padding
2014-05-09 11:02:42 -07:00
8b068e996f
button: don't read focus padding property
...
We're going to deprecate it.
2014-05-09 11:02:42 -07:00
b03c22e0c9
widget: deprecate interior-focus style property
...
Nothing uses it anymore inside GTK.
2014-05-09 11:02:42 -07:00
ce8846521e
reftests: never set interior-focus
2014-05-09 11:02:42 -07:00
521475da4d
win32: don't set interior-focus in the theme
2014-05-09 11:02:42 -07:00
a3cbcc6451
textview: always use interior focus
2014-05-09 11:02:42 -07:00
5a16ec366d
spinbutton: remove unused code
2014-05-09 11:02:41 -07:00