[Xfce4-commits] [apps/xfce4-screensaver] 247/425: add style class lock-dialog

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:51:34 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit e3d8ca494335bcea1aa776614ed17c75012e1f2b
Author: raveit65 <chat-to-me at raveit.de>
Date:   Sat Apr 9 19:49:42 2016 +0200

    add style class lock-dialog
---
 src/gs-lock-plug.c | 7 +++++++
 1 file changed, 7 insertions(+)

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!");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list