← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~vanvugt/indicator-session/fix-807357 into lp:indicator-session

 

Daniel van Vugt has proposed merging lp:~vanvugt/indicator-session/fix-807357 into lp:indicator-session.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)
Related bugs:
  Bug #807357 in Session Menu: "Log Out / Restart / Shut Down dialogs can get lost behind other windows"
  https://bugs.launchpad.net/indicator-session/+bug/807357

For more details, see:
https://code.launchpad.net/~vanvugt/indicator-session/fix-807357/+merge/67284

Keep Log Out / Restart / Shut Down dialogs on top (LP: #807357)
-- 
https://code.launchpad.net/~vanvugt/indicator-session/fix-807357/+merge/67284
Your team ayatana-commits is subscribed to branch lp:indicator-session.
=== modified file 'src/dialog.c'
--- src/dialog.c	2011-02-07 02:22:03 +0000
+++ src/dialog.c	2011-07-08 07:04:32 +0000
@@ -183,6 +183,8 @@
 	                                      "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);


Follow ups