diff options
author | raveit65 <[email protected]> | 2016-04-09 19:49:42 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-04-09 19:49:42 +0200 |
commit | e3d8ca494335bcea1aa776614ed17c75012e1f2b (patch) | |
tree | e6a494a57e9cca641b57aef2c41560e1e1f02c46 /src | |
parent | 53302f74f9e7488d33f78dc80d328e37370cba37 (diff) | |
download | mate-screensaver-e3d8ca494335bcea1aa776614ed17c75012e1f2b.tar.bz2 mate-screensaver-e3d8ca494335bcea1aa776614ed17c75012e1f2b.tar.xz |
add style class lock-dialog
Diffstat (limited to 'src')
-rw-r--r-- | src/gs-lock-plug.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c index 67decba..53b091f 100644 --- a/src/gs-lock-plug.c +++ b/src/gs-lock-plug.c @@ -2253,6 +2253,13 @@ gs_lock_plug_init (GSLockPlug *plug) plug->priv->leave_note_enabled = FALSE; #endif +#if GTK_CHECK_VERSION(3, 0, 0) + GtkStyleContext *context; + + context = gtk_widget_get_style_context (GTK_WIDGET (plug)); + gtk_style_context_add_class (context, "lock-dialog"); +#endif + if (! load_theme (plug)) { gs_debug ("Unable to load theme!"); |