Matthias Clasen
d60fe93937
HighContrast: Keep spinbuttons from resizing on hover
2016-01-05 13:42:57 -05:00
Matthias Clasen
37ab99d1d2
HighContrast: Fix checks and radios
2016-01-05 13:42:57 -05:00
Matthias Clasen
c25b8e25f5
HighContrast: Some menu fixes
2016-01-05 13:42:57 -05:00
Matthias Clasen
fd57a552cf
HighContrast: paned fixes
...
Mostly copied from Adwaita.
2016-01-05 13:42:57 -05:00
Cosimo Cecchi
0f3f2e7f9c
HighContrast: more combobox fixes
...
Taken from Adwaita.
2016-01-05 10:01:54 -08:00
Paolo Borelli
c4996873dc
docs: try to clarify widget_get_state_flags vs context_get_state
2016-01-05 18:46:56 +01:00
Matthias Clasen
4a9c6777a7
HighContrast: Some combobox fixes
...
Mostly copied from Adwaita.
2016-01-04 23:52:28 -05:00
Matthias Clasen
d17f89f6bf
HighContrast: Fix frame styling
2016-01-04 23:45:13 -05:00
Matthias Clasen
a11c30d0df
HighContrast: fix up color chooser theming
...
Mostly copied from Adwaita.
2016-01-04 23:28:32 -05:00
Matthias Clasen
32177aa03b
HighContrast: Fix up stackswitcher
...
Copy Some of the more recent additions from Adwaita.
2016-01-04 22:08:53 -05:00
Matthias Clasen
c110ffcb1a
HighContrast: No blue spinners
...
Spinners are drawing backgrounds now, so setting a blue
background color is pretty distracting.
2016-01-04 21:35:55 -05:00
Matthias Clasen
f63e8edec6
Make sure icons update on theme change
...
Gadgets don't connect to style-changed for widget nodes, and
GtkImage uses its widget node for the icon helper. The visible
effect of this is that symbolic icons don't change color when
switching to the dark variant of Adwaita.
Fix this by manually invalidating the icon helper.
2016-01-04 21:32:19 -05:00
Matthias Clasen
b387a966ce
widget-factory: Make the notebook action truly circular
...
The sidebar-button class doesn't work out so well for this
since it has horizontal padding.
2016-01-04 21:32:19 -05:00
Cosimo Cecchi
637ade656a
levelbar: loop over all block gadgets to determine min size
...
Instead of just picking the first. This is because the theme might set a
border on only one of them, like the HighContrast theme does.
2016-01-04 18:14:33 -08:00
Cosimo Cecchi
183bcb41ec
levelbar: fix parameter confusion
...
We're always interested in the minimum size.
2016-01-04 17:56:50 -08:00
Cosimo Cecchi
beeefa1629
HighContrast: update to use -gtk-outline-radius
2016-01-04 17:50:24 -08:00
Cosimo Cecchi
bc66c0c31e
HighContrast: update to use :hover
2016-01-04 17:49:41 -08:00
Cosimo Cecchi
2780865534
HighContrast: update to use :indeterminate
2016-01-04 17:48:59 -08:00
Cosimo Cecchi
b2b1b0e238
HighContrast: update to use :disabled
2016-01-04 17:46:43 -08:00
Matthias Clasen
bc020fdeb7
tests: Rework the way foreigndrawing works
...
Instead of the weird PathElt struct, generate a quick-n-dirty parser
that parses CSS selectors into GtkWidgetPath elements.
Based on a patch by Benjamin Otte.
2016-01-04 15:39:48 -05:00
Matthias Clasen
c543712551
Document radial gradient syntax
2016-01-04 13:59:48 -05:00
Matthias Clasen
d9a70bc56a
Add a CSS style test for gradients
...
This mainly just tests that gradients are properly
reproduced by gtk_style_context_to_string.
2016-01-04 13:59:48 -05:00
Matthias Clasen
fcea12f790
Add some tests for radial gradient parsing
...
These are the examples from the CSS spec.
2016-01-04 13:59:24 -05:00
Matthias Clasen
f727ee5687
Implement CSS radial gradients
...
Implement parsing and drawing of radial gradients according to
http://www.w3.org/TR/css3-images/#radial-gradients .
Transitions are not implemented yet.
2016-01-04 13:59:24 -05:00
Christoph Reiter
f66191346c
Mention GtkIconSize in all docs where the argument/return is annotated as taking an int instead of GtkIconSize
...
In https://bugzilla.gnome.org/show_bug.cgi?id=601425 the annotations
were changed to int as they not only take the predefined enum values
but also user defined values registered through gtk_icon_size_register()
As a result the typelib doesn't contain any information about
GtkIconSize for those arguments and the Python docstring only
shows the corresponding Python type "int".
This changes the argument docs to mention the type explicitly
so the Python doc generator can add a link to Gtk.IconSize
which contains the most useful predefined values.
https://bugzilla.gnome.org/show_bug.cgi?id=757411
2016-01-04 11:56:44 +01:00
Marek Černocký
10f71dd98c
Updated Czech translation
2016-01-04 11:52:10 +01:00
Marek Černocký
77d9248e2a
Updated Czech translation
2016-01-04 11:51:20 +01:00
Rico Tzschichholz
e213ec9e36
docs/gtk: Include css.xml
2016-01-04 10:16:45 +01:00
Rico Tzschichholz
2e0a3ec57a
docs/gtk: Sort content_files/expand_content_files alphabetically
2016-01-04 09:53:24 +01:00
Piotr Drąg
d29bfb3c7d
Updated POTFILES.skip
2016-01-04 08:27:02 +01:00
Chun-wei Fan
aa352168c9
config.h.win32.in: Update for _lock_file()
...
The Visual Studio versions that we support supports locking functions in
their CRT, so support that to optimize things a bit. Also update the
config.h.win32.in so that its entries are more in line with the ones in
the autootols builds, and make sure that we use UNIX line endings.
2016-01-04 15:09:14 +08:00
Cosimo Cecchi
a009a50239
cssstyle: fix a compiler warning
2016-01-03 17:20:06 -08:00
Matthias Clasen
d8e1fd6079
Update expected output
...
The previous commit changed the format of the output
generated by the CSS style tests.
2016-01-03 17:23:59 -05:00
Matthias Clasen
cfa0884165
Improve formatting of CSS style prints
...
Add a newline after CSS properties, so things don't run into
each other.
2016-01-03 17:05:16 -05:00
Matthias Clasen
12be432df7
Skip GdkX11DeviceManagerCore in default value tests
...
We already skip the XI2 implementation, and the core
one needs the same treatment.
2016-01-03 16:14:43 -05:00
Matthias Clasen
e1634d18de
Update expected output for CSS style tests
...
The format for CSS values changed slightly in one of the
previous commits.
2016-01-03 15:41:09 -05:00
Matthias Clasen
3c26aef826
Use a custom theme for CSS style tests
...
Use a custom, empty theme and stop importing reset-to-defaults.css.
This avoids overwriting initial values, so our initial value
filtering works better.
2016-01-03 15:39:55 -05:00
Matthias Clasen
2e921691d9
Redo CSS style printing
...
Drop the custom style printing implementation in gtkcssnode.c and
instead reuse the existing gtk_css_style_print function, extending
it a bit to suit our needs.
Instead of computing values, just recognize initial values by
having no CSS section. Also do away with the show-initial flag, and
just always filter out initial values. The flag can come back when
it is needed.
2016-01-03 15:36:48 -05:00
Matthias Clasen
d0e648d4f6
Update expected output for node and style tests
...
The previous commit changed the format of the output.
2016-01-03 14:41:43 -05:00
Matthias Clasen
0c52eca34c
Move node printing to GtkCssNodeDeclaration
...
The node declaration has all the information we are printing
here (except for visibility). At the same time, redo the format
to print the information in selector format, and indicate
(in)visibility by enclosing the selector in square brackets.
2016-01-03 14:41:43 -05:00
Cosimo Cecchi
28e185dd1b
tests: fix Makefile.am syntax
...
It requires a tab character, or the build will fail.
2016-01-03 11:33:19 -08:00
Cosimo Cecchi
dcaffe369f
cssnode: fix a compiler warning
2016-01-03 11:25:45 -08:00
Matthias Clasen
489928cbb4
Fix the build
2016-01-03 12:05:57 -05:00
Matthias Clasen
f7a93c015c
Forgotten file
...
I forgot to add this file to source control when the new tests
were initially added.
2016-01-03 12:02:11 -05:00
Felix Riemann
daa08862ff
shortcuts: Separate gestures in search results
...
Gestures where shown separately from other shortcuts in the search
results before. This restores that behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=760097
2016-01-03 17:07:23 +01:00
Felix Riemann
bd4b3091f6
shortcuts: Show icons and subtitles for gestures in search results
...
https://bugzilla.gnome.org/show_bug.cgi?id=760097
2016-01-03 17:07:23 +01:00
Matthias Clasen
2dd8d1ad53
Update expected results of a11y tests
...
All of these now have a harmless extra "panel".
2016-01-03 10:56:11 -05:00
Matthias Clasen
1aeaa33e68
lockbutton: Fix up the template
...
I forgot to clean this up when switching to a stack.
2016-01-03 10:42:13 -05:00
Matthias Clasen
7a01741575
Skip GdkX11DeviceManagerCore in notify tests
...
We already skip the XI2 implementation, and the core
one needs to the same treatment.
2016-01-03 10:34:40 -05:00
Matthias Clasen
9c39232ab3
assistant: Drop unnecessary frame
...
We can just style the sidebar box itself, no need for an
extra frame widget.
2016-01-03 10:33:54 -05:00