summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDenis Gorodnichev <[email protected]>2016-04-18 11:27:59 +0300
committerraveit65 <[email protected]>2016-06-05 11:02:36 +0200
commitb5093f7c7e8de0a8c921a4da6832b09809cbc23e (patch)
tree51dd9aa2f386cc57fe4efe00657c332013094204 /plugins
parentb2c6ddcb6778322c826178a033457ead91f9c0e8 (diff)
downloadmate-settings-daemon-b5093f7c7e8de0a8c921a4da6832b09809cbc23e.tar.bz2
mate-settings-daemon-b5093f7c7e8de0a8c921a4da6832b09809cbc23e.tar.xz
GTK+3 media-keys: add style class OSD for MsdOsdWindow
Diffstat (limited to 'plugins')
-rw-r--r--plugins/common/msd-osd-window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/common/msd-osd-window.c b/plugins/common/msd-osd-window.c
index b384c0f..c902870 100644
--- a/plugins/common/msd-osd-window.c
+++ b/plugins/common/msd-osd-window.c
@@ -633,6 +633,12 @@ msd_osd_window_constructor (GType type,
"focus-on-map", FALSE,
NULL);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkWidget *widget = GTK_WIDGET (object);
+ GtkStyleContext *style_context = gtk_widget_get_style_context (widget);
+ gtk_style_context_add_class (style_context, "osd");
+#endif
+
return object;
}