mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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:
parent
c523d2827c
commit
3f6bad087d
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user