Skip to content

Commit

Permalink
add style class lock-dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
raveit65 committed Apr 9, 2016
1 parent 53302f7 commit e3d8ca4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/gs-lock-plug.c
Expand Up @@ -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!");
Expand Down

0 comments on commit e3d8ca4

Please sign in to comment.