2006-03-12 [paul] 2.0.0cvs133
authorPaul Mangan <paul@claws-mail.org>
Sun, 12 Mar 2006 08:06:04 +0000 (08:06 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sun, 12 Mar 2006 08:06:04 +0000 (08:06 +0000)
* src/compose.c
fix Bug 924, 'Account combo box shows up wrong
if & is in account name'

ChangeLog
PATCHSETS
configure.ac
src/compose.c

index f19d0e9..4cfff33 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-12 [paul]      2.0.0cvs133
+
+       * src/compose.c
+               fix Bug 924, 'Account combo box shows up wrong 
+               if & is in account name'
+
 2006-03-11 [colin]     2.0.0cvs132
 
        * src/summaryview.c
index 003ee7a..09f9cc7 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.18.2.30 -r 1.18.2.31 src/plugins/spamassassin/spamassassin.c;  cvs diff -u -r 1.4.2.10 -r 1.4.2.11 src/plugins/spamassassin/spamassassin.h;  cvs diff -u -r 1.23.2.23 -r 1.23.2.24 src/plugins/spamassassin/spamassassin_gtk.c;  ) > 2.0.0cvs130.patchset
 ( cvs diff -u -r 1.23.2.24 -r 1.23.2.25 src/plugins/spamassassin/spamassassin_gtk.c;  ) > 2.0.0cvs131.patchset
 ( cvs diff -u -r 1.395.2.180 -r 1.395.2.181 src/summaryview.c;  ) > 2.0.0cvs132.patchset
+( cvs diff -u -r 1.382.2.249 -r 1.382.2.250 src/compose.c;  ) > 2.0.0cvs133.patchset
index 9452d2f..d2b797d 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=132
+EXTRA_VERSION=133
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index a886318..c3d6833 100644 (file)
@@ -5834,11 +5834,11 @@ static GtkWidget *compose_account_option_menu_create(Compose *compose)
                if (ac == compose->account) def_menu = num;
 
                if (ac->name)
-                       name = g_strdup_printf("<i>%s</i> : %s &lt;<b>%s</b>&gt;",
+                       name = g_markup_printf_escaped("<i>%s</i> : %s &lt;<b>%s</b>&gt;",
                                               ac->account_name,
                                               ac->name, ac->address);
                else
-                       name = g_strdup_printf("<i>%s</i> : &lt;<b>%s</b>&gt;",
+                       name = g_markup_printf_escaped("<i>%s</i> : &lt;<b>%s</b>&gt;",
                                               ac->account_name, ac->address);
                MENUITEM_ADD(menu, menuitem, name, ac->account_id);
                gtk_label_set_use_markup (