diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-07 00:57:27 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-09 17:13:38 +0100 |
commit | cf64555dbb649d2c88a1dd529344586e00533e4a (patch) | |
tree | f8970b01cfd9da324ddcc47ae7811938373aa4c4 /applets | |
parent | 9b4ccd5323d3c745b8fcfc67a662b022814d887a (diff) | |
download | mate-panel-cf64555dbb649d2c88a1dd529344586e00533e4a.tar.bz2 mate-panel-cf64555dbb649d2c88a1dd529344586e00533e4a.tar.xz |
clock: set css name
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=33e8c06
Diffstat (limited to 'applets')
-rw-r--r-- | applets/clock/clock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c index 7e43aaf2..cfdd29a4 100644 --- a/applets/clock/clock.c +++ b/applets/clock/clock.c @@ -240,6 +240,13 @@ clock_box_init (ClockBox *box) static void clock_box_class_init (ClockBoxClass *klass) { +#if GTK_CHECK_VERSION (3, 19, 0) + GtkWidgetClass *widget_class; + + widget_class = GTK_WIDGET_CLASS (klass); + + gtk_widget_class_set_css_name (widget_class, "clock-box"); +#endif } /* Clock */ |