diff options
author | raveit65 <[email protected]> | 2017-08-14 22:57:16 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-14 22:57:16 +0200 |
commit | 1ea1e9cadd8c886c1f3d74275164adf59370f859 (patch) | |
tree | 182a3ea9e9a8f9463fddcecba5b919f27b083079 /mate-session | |
parent | 7bd3d1432fb154cb64ecae1ed918c8a6afd5df24 (diff) | |
download | mate-session-manager-1ea1e9cadd8c886c1f3d74275164adf59370f859.tar.bz2 mate-session-manager-1ea1e9cadd8c886c1f3d74275164adf59370f859.tar.xz |
add style class logout-dialog
Diffstat (limited to 'mate-session')
-rw-r--r-- | mate-session/gsm-logout-dialog.c | 4 |
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)); |