fix markup being ignored when a window title has a forbidden character in

2003-08-08  Bastien Nocera  <hadess@hadess.net>

	* src/metacity-dialog.c: (kill_window_question),
	(warn_about_no_sm_support): fix markup being ignored when a window
	title has a forbidden character in it (eg. "Send & Receive")
	* src/tools/metacity-window-demo.c: fix warning
This commit is contained in:
Bastien Nocera 2003-08-08 16:25:34 +00:00 committed by Bastien Nocera
parent 435bf3f2e4
commit a252050cb8
3 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2003-08-08 Bastien Nocera <hadess@hadess.net>
* src/metacity-dialog.c: (kill_window_question),
(warn_about_no_sm_support): fix markup being ignored when a window
title has a forbidden character in it (eg. "Send & Receive")
* src/tools/metacity-window-demo.c: fix warning
2003-07-29 Arvind Samptur <arvind.samptur@wipro.com> 2003-07-29 Arvind Samptur <arvind.samptur@wipro.com>
* src/xprops.c (utf8_list_from_results): Number of * src/xprops.c (utf8_list_from_results): Number of

View File

@ -81,8 +81,9 @@ kill_window_question (const char *window_name,
GtkWidget *dialog; GtkWidget *dialog;
char *str, *tmp; char *str, *tmp;
str = g_strdup_printf (_("The window \"%s\" is not responding."), tmp = g_markup_escape_text (window_name, -1);
window_name); str = g_strdup_printf (_("The window \"%s\" is not responding."), tmp);
g_free (tmp);
dialog = gtk_message_dialog_new (NULL, 0, dialog = gtk_message_dialog_new (NULL, 0,
GTK_MESSAGE_WARNING, GTK_MESSAGE_WARNING,

View File

@ -704,6 +704,7 @@ sleep_cb (GtkWidget *button,
sleep (1000); sleep (1000);
} }
static void
toggle_aspect_ratio (GtkWidget *button, toggle_aspect_ratio (GtkWidget *button,
gpointer data) gpointer data)
{ {