diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/common/msd-osd-window.c | 6 |
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; } |