aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel van Vugt <vanvugt@gmail.com>2011-07-08 15:01:04 +0800
committerDaniel van Vugt <vanvugt@gmail.com>2011-07-08 15:01:04 +0800
commitc596a941fd9dd70a49f5eb541ffe33d4e5bc7f53 (patch)
treece3bf6ed4f3c1c9884f82865ae19c687466767fe
parent331ab6a0abc53276af8da99ea141071bbb605820 (diff)
downloadayatana-indicator-session-c596a941fd9dd70a49f5eb541ffe33d4e5bc7f53.tar.gz
ayatana-indicator-session-c596a941fd9dd70a49f5eb541ffe33d4e5bc7f53.tar.bz2
ayatana-indicator-session-c596a941fd9dd70a49f5eb541ffe33d4e5bc7f53.zip
Keep Log Out / Restart / Shut Down dialogs on top (LP: #807357)
-rw-r--r--src/dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dialog.c b/src/dialog.c
index 9633224..d38f8bf 100644
--- a/src/dialog.c
+++ b/src/dialog.c
@@ -183,6 +183,8 @@ logout_dialog_new (LogoutDialogType type)
"text", _(body_strings[type]),
NULL));
+ gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE);
+
gboolean allowed = FALSE;
if (type == LOGOUT_DIALOG_TYPE_LOG_OUT) {
allowed = ck_check_allowed(LOGOUT_DIALOG_TYPE_RESTART);