diff options
author | Daniel van Vugt <vanvugt@gmail.com> | 2011-07-08 15:01:04 +0800 |
---|---|---|
committer | Daniel van Vugt <vanvugt@gmail.com> | 2011-07-08 15:01:04 +0800 |
commit | c596a941fd9dd70a49f5eb541ffe33d4e5bc7f53 (patch) | |
tree | ce3bf6ed4f3c1c9884f82865ae19c687466767fe | |
parent | 331ab6a0abc53276af8da99ea141071bbb605820 (diff) | |
download | ayatana-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.c | 2 |
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); |