Matthias Clasen
e9aea98969
widget-factory: Rename outline radius in css
...
Rename all outline*radius properties to -gtk-outline*radius.
2015-12-22 16:20:09 -05:00
Matthias Clasen
ad87ebb5e7
Adwaita: Adapt to previous commit
...
Rename all outline*radius properties to -gtk-outline*radius.
2015-12-22 16:19:18 -05:00
Matthias Clasen
f61b7ba797
Prefix outline radius CSS properties
...
These are not in any CSS specifications, so mark them as GTK+
additions by giving them a -gtk prefix. The old names still work.
2015-12-22 16:18:10 -05:00
Matthias Clasen
2d6ce0da08
Add some docs to GtkIcon
2015-12-22 15:03:15 -05:00
Matthias Clasen
5f330418ae
Add some docs to GtkBuiltinIcon
2015-12-22 15:03:15 -05:00
Cosimo Cecchi
a5a5091555
stylecontext: fix gtk-doc comment syntax
2015-12-22 11:56:23 -08:00
Cosimo Cecchi
22c9169883
Adwaita: don't set deprecated style property
2015-12-22 11:53:07 -08:00
Matthias Clasen
c8206ca698
Adwaita: Fix app-notification theming
...
The way to disable the frame border has changed.
2015-12-22 13:53:43 -05:00
Matthias Clasen
f5f80b40c3
Fix GtkFrame padding
...
This was showing up in the app-notification in widget-factory.
2015-12-22 13:53:43 -05:00
Cosimo Cecchi
23d8791a47
combobox: remove unused struct member
...
The box was removed a while ago.
2015-12-22 10:53:03 -08:00
Cosimo Cecchi
8d0ad79238
Adwaita: remove combobox separator styling
...
The separator does not exist anymore.
2015-12-22 10:49:21 -08:00
Cosimo Cecchi
ef41bd7112
combobox: deprecate shadow-type style property
...
It does not add any value to what can be achieved through regular CSS
styling.
2015-12-22 09:29:43 -08:00
Cosimo Cecchi
f5628f0439
combobox: port to use a gadget
...
Wrap the size request and allocate code into a GtkCssCustomGadget. This
makes margins work on GtkComboBox.
2015-12-22 09:29:43 -08:00
Cosimo Cecchi
a90d928a34
combobox: use a private variable when possible
...
Instead of dereferencing the same variable over and over.
2015-12-22 09:29:43 -08:00
Cosimo Cecchi
f03268eabe
combobox: trivial code cleanup
2015-12-22 09:29:43 -08:00
Cosimo Cecchi
ebc7b59b44
combobox: remove unneeded check
...
The combobox always has a window.
2015-12-22 09:29:43 -08:00
Cosimo Cecchi
5764c09272
combobox: use GtkIcon to render button arrow
...
We can now use the newly introduced GtkIcon widget to properly render
the arrow in the combobox with CSS.
2015-12-22 09:29:43 -08:00
Cosimo Cecchi
9b7473b633
Introduce GtkIcon private class
...
This is an utility widget that wraps a GtkBuiltinIcon for situations
where using a real widget is more convenient than a gadget.
2015-12-22 09:29:43 -08:00
Matthias Clasen
164e8ed6bd
menuitem: Simplify separators
...
For regular separators, we just rely on standard CSS background
rendering nowadays. Do the same for separators in menus.
https://bugzilla.gnome.org/show_bug.cgi?id=759765
2015-12-22 10:30:51 -05:00
Matthias Clasen
2438a06d54
Revert "window: Remove suspicious branch"
...
This reverts commit 67ab00e01e
.
See https://bugzilla.gnome.org/show_bug.cgi?id=759705
for a case where this makes a difference.
2015-12-22 07:36:58 -05:00
Lapo Calamandrei
a64bf81a9f
Adwaita: fix bogus rounded corners on split headerbars
...
we have to do some assumptions for css selectors limits for this
particular case, so for split headerbars to work correctly the
actual haderbars need not to have the titlebar class applied.
2015-12-22 11:53:27 +01:00
Kjell Ahlstedt
939be8a24b
GdkSeat: Add G_BEGIN_DECLS and G_END_DECLS
...
https://bugzilla.gnome.org/show_bug.cgi?id=759771
2015-12-22 10:33:41 +01:00
Chun-wei Fan
7a05432843
gtk/gtkbuiltinicon.c: Fix build
...
The gtk_builtin_icon_get_default_size_property returns a const char *,
in a way such that some compilers insist that something that is of a
pointer value be returned, so fix that by replacing 0 with NULL.
2015-12-22 16:35:58 +08:00
Paolo Borelli
7f17468afc
W32: avoid code duplication in gdkdevice-win32|virtual
...
The same get_position function is cut and pasted in the two
classes.
2015-12-22 09:31:56 +01:00
Daiki Ueno
75b3eec7a6
inspector: Avoid crash when canceling at startup
...
When clicking "Cancel" on the "Do you want to use GTK+ Inspector?"
dialog, unregister the update_debugging idle handler. Also, steal
reference to 'inspector_window' while gtk_destroy_widget(), to make
further gtk_window_update_debugging() calls as a no-op.
https://bugzilla.gnome.org/show_bug.cgi?id=759764
2015-12-22 12:52:27 +09:00
Matthias Clasen
cc50652db5
Adwaita: Fix overwrite cursors in entries
...
GtkEntry uses the background color to render the text over
the block cursor. A transparent background color makes that
not work.
2015-12-21 20:17:35 -05:00
Matt Watson
11ad60d386
flowbox: remove unused prelight code
...
It was causing needless redraws
https://bugzilla.gnome.org/show_bug.cgi?id=759757
2015-12-21 14:52:11 -08:00
Matthias Clasen
5c704621ac
Fix import css parser tests
...
Don't use nonexisting properties here either
2015-12-21 16:33:50 -05:00
Alberts Muktupāvels
54c32fae1e
x11: create GdkSeat also in GdkX11DeviceManagerCore
...
There are at least few cases when GdkX11DeviceManagerXI2 will not
be used. Make sure that we have GdkSeat in such cases.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
2015-12-21 20:58:28 +01:00
Matthias Clasen
31f319d1c7
css parser test: Drop remaining made-up properties
...
These are not used anymore in any tests, and the css parser
doesn't support parsing custom properties anymore.
2015-12-21 14:53:09 -05:00
Matthias Clasen
ece3d33858
Fix css parser integer test
...
Use margin-top instead of a made-up property.
2015-12-21 14:52:06 -05:00
Matthias Clasen
ce859a7c65
Update css parser value none test
...
The test is affected by icon-shadow being renamed and by
engine being deprecated.
2015-12-21 14:44:00 -05:00
Matthias Clasen
0fb84c5a68
Fix the css parser value initial test
...
This was affected by the recent renaming of icon-shadow to
-gtk-icon-shadow. Also, it produces an error now because
engine is deprecated.
2015-12-21 14:37:09 -05:00
Matthias Clasen
474f5b7784
Fix the css parser value inherit test
...
This was affected by the recent renaming of icon-shadow to
-gtk-icon-shadow. Also, it produces an error now because
engine is deprecated.
2015-12-21 14:35:11 -05:00
Matthias Clasen
db094092ae
Update font-weight css parser test
...
This is affected by the recent fix for parsing font-weight.
2015-12-21 14:32:01 -05:00
Matthias Clasen
ea651dcd31
Update font-family css parser test
...
There are no errors here.
2015-12-21 14:31:10 -05:00
Matthias Clasen
b931821f5e
Update the css parser unknown pseudo-class test
...
Use an existing property instead of a made-up one.
2015-12-21 14:29:17 -05:00
Matthias Clasen
8ff127940f
Update the css parser selector test
...
Use an existing property instead of the made-up one, here.
2015-12-21 14:27:52 -05:00
Matthias Clasen
1f298c385f
Drop the css parser enum test
...
We are no longer using and non-css properties, and css enums
are all parsed with custom code.
2015-12-21 14:25:46 -05:00
Matthias Clasen
e567f23bcd
Update another css parser test
...
This test was using the engine property, which has
been deprecated and thus generates an error now.
Instead, use the font property.
2015-12-21 14:18:51 -05:00
Matthias Clasen
dcc3dd1211
Update css parser test for declarations
...
Use existing CSS properties instead of made-up ones.
2015-12-21 14:14:36 -05:00
Matthias Clasen
0035d526c3
test-css-parser: Drop unused property
...
The rgba-property is no longer used in any tests, drop it.
2015-12-21 14:11:10 -05:00
Matthias Clasen
6eb4102bf2
Update css parser tests for colors
...
Use the color property instead of a made-up rgba-valued property.
2015-12-21 14:10:20 -05:00
Matthias Clasen
a21025e096
test-css-parser: Drop unused property
...
The border-property is no longer used in any tests, drop it.
2015-12-21 14:07:08 -05:00
Matthias Clasen
b56980eba2
Update css parser test for borders
...
Use the border-image-width property instead of a made-up
border-valued property.
2015-12-21 14:06:07 -05:00
Matthias Clasen
0c9c6b882e
Update border-radius-shorthand tests
...
The name of the css file is in the error output, so we
have to update that after the file was recently renamed.
2015-12-21 14:01:03 -05:00
Matthias Clasen
01f2d4dd0f
Update pseudo-class test
...
We have some more pseudo-classes now, and some are printed
out with their CSS name.
2015-12-21 13:59:24 -05:00
Matthias Clasen
6d86ce516d
test-css-parser: Drop unused properties
...
We don't have any tests involving these style
properties, so don't install those.
2015-12-21 13:57:26 -05:00
Matthias Clasen
a5ccef7470
Don't test parsing boolean values in css
...
CSS doesn't have any boolean properties.
2015-12-21 13:51:23 -05:00
Carlos Garnacho
fc2879108d
wayland: Don't trigger grab on missing capabilities
...
Those might not be currently there in the first place.
2015-12-21 19:14:21 +01:00