Fix the wording and HIGify the dialog.

2003-05-20  Anders Carlsson  <andersca@codefactory.se>

	* src/metacity-dialog.c: (kill_window_question):
	Fix the wording and HIGify the dialog.
This commit is contained in:
Anders Carlsson 2003-05-20 15:06:01 +00:00 committed by Anders Carlsson
parent 967ac0f1d9
commit c9df553d02
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-05-20 Anders Carlsson <andersca@codefactory.se>
* src/metacity-dialog.c: (kill_window_question):
Fix the wording and HIGify the dialog.
2003-05-18 Havoc Pennington <hp@pobox.com> 2003-05-18 Havoc Pennington <hp@pobox.com>
* src/window.c (unminimize_window_and_all_transient_parents): * src/window.c (unminimize_window_and_all_transient_parents):

View File

@ -81,17 +81,19 @@ kill_window_question (const char *window_name,
GtkWidget *dialog; GtkWidget *dialog;
dialog = gtk_message_dialog_new (NULL, 0, dialog = gtk_message_dialog_new (NULL, 0,
GTK_MESSAGE_QUESTION, GTK_MESSAGE_WARNING,
GTK_BUTTONS_NONE, GTK_BUTTONS_NONE,
_("The window \"%s\" is not responding.\n" _("<b>The window \"%s\" is not responding.</b>\n\n"
"Force this application to exit?\n" "Forcing this application to quit will "
"(Any open documents will be lost.)"), "cause you to lose any unsaved changes."),
window_name); window_name);
gtk_label_set_use_markup (GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label), TRUE);
gtk_label_set_line_wrap (GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label), TRUE);
gtk_dialog_add_buttons (GTK_DIALOG (dialog), gtk_dialog_add_buttons (GTK_DIALOG (dialog),
GTK_STOCK_CANCEL, GTK_STOCK_CANCEL,
GTK_RESPONSE_REJECT, GTK_RESPONSE_REJECT,
_("Kill application"), _("_Force Quit"),
GTK_RESPONSE_ACCEPT, GTK_RESPONSE_ACCEPT,
NULL); NULL);