summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2006-10-06 22:02:48 +0000
committerElijah Newren <newren@src.gnome.org>2006-10-06 22:02:48 +0000
commit2168cd3eb752f5045dfdf09e64d700c3f20d81cb (patch)
tree47782290caa91c97d49680b0df52cf066c1099f0
parent25910508aeb7f1c3fbc8bbb8d0ed63a46bad4d38 (diff)
downloadmetacity-2168cd3eb752f5045dfdf09e64d700c3f20d81cb.tar.gz
Patch from Bruno Boaventura to improve the "Force Quit" dialog. #121936
2006-10-06 Elijah Newren <newren gmail com> * src/metacity-dialog.c (kill_window_question): Patch from Bruno Boaventura to improve the "Force Quit" dialog. #121936
-rw-r--r--ChangeLog5
-rw-r--r--src/metacity-dialog.c14
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 <newren gmail com>
+
+ * src/metacity-dialog.c (kill_window_question): Patch from Bruno
+ Boaventura to improve the "Force Quit" dialog. #121936
+
2006-10-02 Elijah Newren <newren gmail com>
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,
- "<b>%s</b>\n\n%s",
- str,
- _("Forcing this application to quit will "
- "cause you to lose any unsaved changes."));
+ "<big><b>%s</b></big>\n\n%s",
+ str,
+ _("<i>You may choose to wait a short while"
+ "for it to continue or force the application"
+ "to quit entirely.</i>"));
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,