4a6957f50d
stylecontext: Remove state from _peek_style_property()
...
It evaluates to "current state" in all cases, so no need to special case
it.
2014-06-11 01:18:04 +02:00
d1dd33d885
css: Fix uninitializaed variable
2014-06-10 15:58:17 +02:00
b0c6263f6c
inspector: Add combobox popups to the tree
2014-06-10 08:54:12 -04:00
ec9cf6d7c3
GtkComboBox: Add private api to get the popup
...
This will be used to make the popup appear in the inspector.
2014-06-10 08:54:12 -04:00
634972e063
inspector: Add submenus to the tree
2014-06-10 08:54:12 -04:00
c906aa7e08
menuitem: Use .arrow style class for submenu indicators
...
As requested by the Adwaita guys.
2014-06-10 13:47:51 +02:00
b21c86f49a
treeview: Remove unused variable
2014-06-10 13:47:51 +02:00
cdd341ed7d
viewport: Remove unused variable
2014-06-10 13:47:51 +02:00
8ea013290b
cellrenderertoggle: Remove copy/paste leftovers
...
Introduced in 2d88a3ae30
2014-06-10 13:47:51 +02:00
4b793dd508
a11y: Remove an outdated comment
2014-06-10 01:17:00 +02:00
3759190c26
css: Parse text-shadow values properly
...
We used to accept the same syntax for text-shadow and icon-shadow as
we accept for box-shadow. However, box-shadow does accept a spread and
the inset keyword while the others should not.
2014-06-10 01:07:57 +02:00
fc00381d30
GtkEntryAccessible: Emit signal after insertion
...
The signal needs to be emitted after the text insertion as at-spi gets
the text to compute the inserted text due to the AtkText::insert-text
signal not containing it.
Also adjust position to reflect changes to the offsets.
https://bugzilla.gnome.org/show_bug.cgi?id=731429
2014-06-10 01:07:57 +02:00
fbc6a0c400
Add some theming for csd popups
...
Not attempt to make this look good, just to demonstrate
that themes can in fact do it.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:16:12 -04:00
a39985a43e
Request csd for tooltips
...
Use the new private GtkWindow api to request
client-side decorations for tooltips.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:15:28 -04:00
179d6a4c7b
GtkTooltip: take csd shadows into account for placement
...
When placing tooltips, we don't want the shadow to influence
our choice.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:15:28 -04:00
49bb39ecf5
GtkTooltip: remove hardcoded tooltip drawing
...
This is old code from dating back many years. Nowadays, we can
just use css drawing and csd windows to achieve much the same
effect.
Themes will need some adjustment for this change.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:15:27 -04:00
dae252e3d2
Request csd for menus
...
Use the new private GtkWindow api to request
client-side decorations for menus.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:15:24 -04:00
3cf916be8a
GtkMenu: Add a separate style class to the toplevel of menus
...
This is necessary in order to use .window-frame.csd.popup for
styling csd menus.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:14:48 -04:00
e9ed210b0b
GtkMenu: take csd shadows into account for placement
...
When placing menus, we don't want the shadow to influence
our choice.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:01:42 -04:00
bde4e86357
Allow csd for override-redirect windows
...
This commit makes it possible to use client-side decorations for
override-redirect windows by calling _gtk_window_request_csd()
before realizing the window. Since the wm won't do interactive
resizing for us in this case anyway, don't bother creating
the border windows we use for this purpose on regular toplevels.
To make this accessible to themes, we set a "csd" style class
on client-side decorated windows. With this, .window-frame.csd.menu
can be used to define the shadow for csd menus, and .menu can be
used to define a border for menus under non-composited wms.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:01:42 -04:00
60cd7076cf
Add a csd style class
...
This will be used for client-side decorated windows.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:01:42 -04:00
b22b2298be
GtkViewport: Don't do silly things in a setter
...
Just queue a resize instead of fiddling with the size allocation.
2014-06-09 13:51:58 -04:00
ee8a3a4192
Mark GtkStyleContext::direction as deprecated
...
The setter was deprecated a while ago, do the same for the property.
2014-06-09 13:42:07 -04:00
ac2329b842
Mark GtkContainer::resize-mode as deprecated
...
The setter was deprecated a while ago, do the same for the property.
2014-06-09 13:39:38 -04:00
46803aae11
GtkVolumeButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:14 -04:00
bcd804613f
GtkViewport: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:14 -04:00
785e4d376e
GtkTreeViewColumn: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:13 -04:00
fe31f87bf0
GtkTreeView: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:13 -04:00
d169f409b0
GtkTreeSelection: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:13 -04:00
71ac4d626e
GtkToolPalette: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:13 -04:00
cf6274c979
GtkToolItemGroup: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:13 -04:00
40c3804ecd
GtkToolbar: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:12 -04:00
6e64bc13de
GtkTextView: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:12 -04:00
eed1ae682b
GtkSwitch: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:12 -04:00
17059f9c17
GtkToolItem: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:12 -04:00
3074fcf31d
GtkToolButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:11 -04:00
db8101c998
GtkToggleToolButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:11 -04:00
b73e810613
GtkStyleContext: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:11 -04:00
1208539eff
GtkStatusIcon: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:10 -04:00
9321b30b0b
GtkSpinner: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:10 -04:00
d03752cdcc
GtkSpinButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:10 -04:00
83669856b2
GtkSizeGroup: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:09 -04:00
4867e95291
GtkSeparatorToolItem: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:09 -04:00
710a5b3a90
GtkSearchBar: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:09 -04:00
115faae371
GtkSearchBar: Handle lack of an entry
...
We were not dealing with the possibility of priv->entry being
NULL in all places.
2014-06-09 13:31:09 -04:00
0dd1102cc4
GtkSeparator: Explicitly notify orientation
2014-06-09 13:31:08 -04:00
ed6f9c1ee9
GtkScrolledWindow: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:08 -04:00
570194640e
GtkScrollable: Use G_PARAM_EXPLICIT_NOTIFY
...
Implementors will have to be adjusted.
2014-06-09 13:31:08 -04:00
0505a189d3
GtkScaleButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:08 -04:00
1740663584
GtkScale: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:07 -04:00