2007-02-11 [colin] 2.7.2cvs41
authorColin Leroy <colin@colino.net>
Sun, 11 Feb 2007 20:08:44 +0000 (20:08 +0000)
committerColin Leroy <colin@colino.net>
Sun, 11 Feb 2007 20:08:44 +0000 (20:08 +0000)
* src/alertpanel.c
Make sure to escape the title

ChangeLog
PATCHSETS
configure.ac
src/alertpanel.c

index 21e8dc30f9a5d77c043329be1ffc7dfc2c0393c2..ff7389251b1c0c2e195496646a98e1823a049001 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-11 [colin]     2.7.2cvs41
+
+       * src/alertpanel.c
+               Make sure to escape the title
+
 2007-02-11 [colin]     2.7.2cvs40
 
        * src/codeconv.c
index 47c1de50da3efa33a14f233a52c2b7ab34848757..898999a467e04184507457b64209846da5d24a5b 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.13.2.31 -r 1.13.2.32 src/plugins/clamav/clamav_plugin.c;  ) > 2.7.2cvs38.patchset
 ( cvs diff -u -r 1.382.2.359 -r 1.382.2.360 src/compose.c;  ) > 2.7.2cvs39.patchset
 ( cvs diff -u -r 1.65.2.56 -r 1.65.2.57 src/codeconv.c;  ) > 2.7.2cvs40.patchset
+( cvs diff -u -r 1.17.2.31 -r 1.17.2.32 src/alertpanel.c;  ) > 2.7.2cvs41.patchset
index 2d140f1f8498800835285594773b41cc9302111c..b17343d0e5af7f1e762c64194cc91978c05bf438 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=7
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=40
+EXTRA_VERSION=41
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index b0ae91d47588d12c757ef065528b2caaef2c1f52..c1cafe6389d649d9363cde29d728fe7cbc9c5512 100644 (file)
@@ -237,11 +237,12 @@ static void alertpanel_create(const gchar *title,
        GtkWidget *button3;
        const gchar *label2;
        const gchar *label3;
-       
+       gchar *tmp = title?g_markup_printf_escaped("%s", title)
+                       :g_strdup("");
        gchar *title_full = g_strdup_printf("<span weight=\"bold\" "
                                "size=\"larger\">%s</span>",
-                               title?title:"");
-
+                               tmp);
+       g_free(tmp);
        debug_print("Creating alert panel dialog...\n");
 
        dialog = gtk_dialog_new();