* src/prefs_toolbar.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 10 Jan 2003 22:01:14 +0000 (22:01 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 10 Jan 2003 22:01:14 +0000 (22:01 +0000)
put right A_SEPARATOR description string in "displayed
toolbar items list" so manually added separators are
saved correctly (bug #10, "Adding a separator to the main
toolbar fails, entry in xml file is wrong")

ChangeLog.claws
configure.in
src/prefs_toolbar.c

index 9ad3279d166dea58409532d875a9ff59a3bed706..f026bcb3a1e3c35113b76d61c86e9f2237c2540f 100644 (file)
@@ -1,3 +1,11 @@
+2003-01-10 [alfons]    0.8.8claws79
+
+       * src/prefs_toolbar.c
+               put right A_SEPARATOR description string in "displayed
+               toolbar items list" so manually added separators are
+               saved correctly (bug #10, "Adding a separator to the main 
+               toolbar fails, entry in xml file is wrong")
+
 2003-01-10 [christoph] 0.8.8claws78
 
        * src/imap.c
index 1f5c1c89a071971c3fb877d962abc25352b2ff82..c9a2fce7f587495922828f75ba00ab4d30d91058 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws78
+EXTRA_VERSION=claws79
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 01ba13a4ee9c0fdc554cfb0bad2af9f9a8a0cd7e..a873856d9dc366c41dfb988b2962b8fdff706d68 100644 (file)
@@ -402,7 +402,7 @@ static void prefs_toolbar_register(GtkButton *button, gpointer data)
        if (g_strcasecmp(item[1], toolbar_ret_descr_from_val(A_SEPARATOR)) == 0) {
                item[0] = g_strdup(SEPARATOR_PIXMAP);
                item[2] = g_strdup("");
-               item[3] = g_strdup("");
+               item[3] = g_strdup(toolbar_ret_descr_from_val(A_SEPARATOR));
                
                row_set = gtk_clist_append(GTK_CLIST(prefs_toolbar.clist_set), item);
 
@@ -472,7 +472,7 @@ static void prefs_toolbar_substitute(GtkButton *button, gpointer data)
        if (g_strcasecmp(item[1], toolbar_ret_descr_from_val(A_SEPARATOR)) == 0) {
                item[0] = g_strdup(SEPARATOR_PIXMAP);
                item[2] = g_strdup("");
-               item[3] = g_strdup("");
+               item[3] = g_strdup(toolbar_ret_descr_from_val(A_SEPARATOR));
 
                gtk_clist_remove(clist_set, row_set);
                row_set = gtk_clist_insert(clist_set, row_set, item);