summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-07 00:57:27 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-09 17:13:38 +0100
commitcf64555dbb649d2c88a1dd529344586e00533e4a (patch)
treef8970b01cfd9da324ddcc47ae7811938373aa4c4 /applets/clock
parent9b4ccd5323d3c745b8fcfc67a662b022814d887a (diff)
downloadmate-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/clock')
-rw-r--r--applets/clock/clock.c7
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 */