summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-08-14 22:57:16 +0200
committermonsta <[email protected]>2017-10-23 12:27:40 +0300
commit6d106acfdbc026ab99f53c3133b981f58db61f7d (patch)
tree233c32f2d5e3164fc63161d6ef4b71324655a387
parentbc125d68280112c3b85b46c33e9727b9e4250aaa (diff)
downloadmate-session-manager-6d106acfdbc026ab99f53c3133b981f58db61f7d.tar.bz2
mate-session-manager-6d106acfdbc026ab99f53c3133b981f58db61f7d.tar.xz
add style class logout-dialog
-rw-r--r--mate-session/gsm-logout-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c
index 0dbeb2b..107fc0c 100644
--- a/mate-session/gsm-logout-dialog.c
+++ b/mate-session/gsm-logout-dialog.c
@@ -146,6 +146,10 @@ gsm_logout_dialog_init (GsmLogoutDialog *logout_dialog)
logout_dialog->priv->timeout = 0;
logout_dialog->priv->default_response = GTK_RESPONSE_CANCEL;
+ GtkStyleContext *context;
+ context = gtk_widget_get_style_context (GTK_WIDGET (logout_dialog));
+ gtk_style_context_add_class (context, "logout-dialog");
+
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (logout_dialog), TRUE);
gtk_window_set_keep_above (GTK_WINDOW (logout_dialog), TRUE);
gtk_window_stick (GTK_WINDOW (logout_dialog));