From 2168cd3eb752f5045dfdf09e64d700c3f20d81cb Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Fri, 6 Oct 2006 22:02:48 +0000 Subject: Patch from Bruno Boaventura to improve the "Force Quit" dialog. #121936 2006-10-06 Elijah Newren * src/metacity-dialog.c (kill_window_question): Patch from Bruno Boaventura to improve the "Force Quit" dialog. #121936 --- ChangeLog | 5 +++++ src/metacity-dialog.c | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3456acf6..4bdc396a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-06 Elijah Newren + + * src/metacity-dialog.c (kill_window_question): Patch from Bruno + Boaventura to improve the "Force Quit" dialog. #121936 + 2006-10-02 Elijah Newren Ignore edge resistance for size-increment windows when resizing diff --git a/src/metacity-dialog.c b/src/metacity-dialog.c index 7e733254..aed67643 100644 --- a/src/metacity-dialog.c +++ b/src/metacity-dialog.c @@ -87,16 +87,16 @@ kill_window_question (const char *window_name, char *str, *tmp; tmp = g_markup_escape_text (window_name, -1); - str = g_strdup_printf (_("The window \"%s\" is not responding."), tmp); + str = g_strdup_printf (_("\"%s\" is not responding."), tmp); g_free (tmp); - dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, - "%s\n\n%s", - str, - _("Forcing this application to quit will " - "cause you to lose any unsaved changes.")); + "%s\n\n%s", + str, + _("You may choose to wait a short while" + "for it to continue or force the application" + "to quit entirely.")); g_free (str); gtk_window_set_icon_name (GTK_WINDOW (dialog), "panel-force-quit"); @@ -104,7 +104,7 @@ kill_window_question (const char *window_name, gtk_label_set_line_wrap (GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label), TRUE); gtk_dialog_add_buttons (GTK_DIALOG (dialog), - GTK_STOCK_CANCEL, + _("_Wait"), GTK_RESPONSE_REJECT, _("_Force Quit"), GTK_RESPONSE_ACCEPT, -- cgit v1.2.1