nickname bug / options disabled when on inbox
authorHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Sat, 3 Nov 2001 17:13:22 +0000 (17:13 +0000)
committerHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Sat, 3 Nov 2001 17:13:22 +0000 (17:13 +0000)
ChangeLog.claws
configure.in
src/folderview.c
src/summaryview.c

index 802733a..6318761 100644 (file)
@@ -1,3 +1,13 @@
+2001-11-18 [hoa]       0.6.4claws20
+
+       * src/folderview.c
+               enable property and scoring options when right
+               click on "inbox"
+
+       * src/summaryview.c
+               fixed bug when nickname were displayed using
+               the address book.
+
 2001-11-02 [darko]     0.6.4claws19
 
        * src/compose.c
index 91c8798..c27f75b 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws19
+EXTRA_VERSION=claws20
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index 27c9757..51345fb 100644 (file)
@@ -1253,6 +1253,8 @@ static void folderview_button_pressed(GtkWidget *ctree, GdkEventButton *event,
                                update_tree = rescan_tree = TRUE;
                        else if (item->stype == F_NORMAL)
                                rename_folder = delete_folder = folder_property = folder_scoring = TRUE;
+                       else if (item->stype == F_INBOX)
+                               folder_property = folder_scoring = TRUE;
                } else if (FOLDER_TYPE(folder) == F_NEWS) {
                        if (item->parent != NULL)
                                delete_folder = folder_scoring = TRUE;
index 7cb1a87..58def02 100644 (file)
@@ -2093,7 +2093,7 @@ static void summary_set_header(SummaryView *summaryview, gchar *text[],
                }
        }
 
-       if ((text[S_COL_FROM] != to) && prefs_common.use_addr_book &&
+       if ((text[col_pos[S_COL_FROM]] != to) && prefs_common.use_addr_book &&
            msginfo->from) {
                gint count;
                gchar *from;
@@ -2108,7 +2108,7 @@ static void summary_set_header(SummaryView *summaryview, gchar *text[],
                                from = get_complete_address(1);
                                from_name = procheader_get_fromname(from);
                                g_free(from);
-                               text[S_COL_FROM] = from_name;
+                               text[col_pos[S_COL_FROM]] = from_name;
                        }
                }
        }