util: Use a sad face in the force-quit dialog
https://bugzilla.gnome.org/show_bug.cgi?id=684306
This commit is contained in:
parent
7e1e9320bc
commit
ae1be578ba
4 changed files with 11 additions and 2 deletions
|
@ -126,7 +126,8 @@ delete_ping_timeout_func (MetaDisplay *display,
|
|||
meta_show_dialog ("--question",
|
||||
window_content, NULL,
|
||||
window->screen->screen_name,
|
||||
_("_Wait"), _("_Force Quit"), window->xwindow,
|
||||
_("_Wait"), _("_Force Quit"),
|
||||
"face-sad-symbolic", window->xwindow,
|
||||
NULL, NULL);
|
||||
|
||||
g_free (window_content);
|
||||
|
|
|
@ -1811,7 +1811,7 @@ warn_about_lame_clients_and_finish_interact (gboolean shutdown)
|
|||
"you log in."),
|
||||
"240",
|
||||
meta_get_display()->active_screen->screen_name,
|
||||
NULL, NULL,
|
||||
NULL, NULL, NULL,
|
||||
None,
|
||||
columns,
|
||||
lame_details);
|
||||
|
|
|
@ -585,6 +585,7 @@ meta_show_dialog (const char *type,
|
|||
const char *display,
|
||||
const char *ok_text,
|
||||
const char *cancel_text,
|
||||
const char *icon_name,
|
||||
const int transient_for,
|
||||
GSList *columns,
|
||||
GSList *entries)
|
||||
|
@ -625,6 +626,12 @@ meta_show_dialog (const char *type,
|
|||
append_argument (args, cancel_text);
|
||||
}
|
||||
|
||||
if (icon_name)
|
||||
{
|
||||
append_argument (args, "--icon-name");
|
||||
append_argument (args, icon_name);
|
||||
}
|
||||
|
||||
tmp = columns;
|
||||
while (tmp)
|
||||
{
|
||||
|
|
|
@ -107,6 +107,7 @@ GPid meta_show_dialog (const char *type,
|
|||
const char *display,
|
||||
const char *ok_text,
|
||||
const char *cancel_text,
|
||||
const char *icon_name,
|
||||
const int transient_for,
|
||||
GSList *columns,
|
||||
GSList *entries);
|
||||
|
|
Loading…
Reference in a new issue