mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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:
parent
967ac0f1d9
commit
c9df553d02
@ -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):
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user