Update meta_show_dialog for gtk's removal of --screen

gtk3 no longer has the --screen command-line argument, which mutter
was passing to zenity. Use --display (with an explicitly-specified
screen number) instead.

https://bugzilla.gnome.org/show_bug.cgi?id=643683
This commit is contained in:
Dan Winship
2011-03-17 09:54:47 -04:00
parent ab2de9dccd
commit 9f39a18fc5
5 changed files with 15 additions and 17 deletions

View File

@@ -103,8 +103,8 @@ delete_ping_timeout_func (MetaDisplay *display,
dialog_pid =
meta_show_dialog ("--question",
window_content, 0,
window->screen->number,
window_content, NULL,
window->screen->screen_name,
_("_Wait"), _("_Force Quit"), window->xwindow,
NULL, NULL);