[mate-session-manager] 01/02: debian/patches: Add 1000_add_style_class_logout-dialog.patch.
Vangelis Mouhtsis
gnugr-guest at moszumanska.debian.org
Tue Aug 15 13:24:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
gnugr-guest pushed a commit to branch parrot/3.7
in repository mate-session-manager.
commit de0e4cd656a839fecac41b6b3cbf721ceb502a9d
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date: Mon Aug 14 22:51:33 2017 +0100
debian/patches: Add 1000_add_style_class_logout-dialog.patch.
---
.../patches/1000_add_style_class_logout-dialog.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/1000_add_style_class_logout-dialog.patch b/debian/patches/1000_add_style_class_logout-dialog.patch
new file mode 100644
index 0000000..d7f5e5f
--- /dev/null
+++ b/debian/patches/1000_add_style_class_logout-dialog.patch
@@ -0,0 +1,18 @@
+Author: Wolfgang Ulbrich <mate at raveit.de>
+Description: Add style class logout-dialog
+
+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));
diff --git a/debian/patches/series b/debian/patches/series
index 099c45f..f261328 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0005_lock-session-before-user-switch.patch
2000_revert_updating_environment_for_dbus_and_systemd_user_session.patch
+1000_add_style_class_logout-dialog.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-session-manager.git
More information about the pkg-mate-commits
mailing list