From 1ea1e9cadd8c886c1f3d74275164adf59370f859 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 14 Aug 2017 22:57:16 +0200 Subject: add style class logout-dialog --- mate-session/gsm-logout-dialog.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mate-session') 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)); -- cgit v1.2.1