install an alarm to timeout the no-sm-dialog after 4 minutes of

2003-06-09  Rob Adams  <robadams@ucla.edu>

	* src/metacity-dialog.c (warn_about_no_sm_support): install an
	alarm to timeout the no-sm-dialog after 4 minutes of inactivity.
	Patch from Ximian.  See #114789.
This commit is contained in:
Rob Adams 2003-06-09 18:58:53 +00:00 committed by Rob Adams
parent c523d2827c
commit 3f6bad087d
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-06-09 Rob Adams <robadams@ucla.edu>
* src/metacity-dialog.c (warn_about_no_sm_support): install an
alarm to timeout the no-sm-dialog after 4 minutes of inactivity.
Patch from Ximian. See #114789.
2003-06-07 Rob Adams <robadams@ucla.edu>
* src/window.c (meta_window_new): call meta_group_compute_group

View File

@ -236,6 +236,9 @@ warn_about_no_sm_support (char **lame_apps)
G_CALLBACK (gtk_main_quit),
NULL);
/* Wait 4 minutes then force quit, so we don't wait around all night */
g_timeout_add (4 * 60 * 1000, (GSourceFunc) gtk_main_quit, NULL);
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_CLOSE);
list = create_lame_apps_list (lame_apps);