reedit enabled in queue
authorHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Fri, 18 May 2001 10:17:00 +0000 (10:17 +0000)
committerHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Fri, 18 May 2001 10:17:00 +0000 (10:17 +0000)
ChangeLog.claws
src/summaryview.c

index 084f299..788bcfd 100644 (file)
@@ -20,7 +20,8 @@
                better handling of missing directories
 
        * src/summaryview.c
-               reedit is enabled is outbox
+               reedit is enabled in outbox
+               reedit is enabled in queue
 
 2001-05-17 [hoa]
 
index 2c7b0f9..97c2d3b 100644 (file)
@@ -845,7 +845,8 @@ static void summary_set_menu_sensitive(SummaryView *summaryview)
        menu_set_sensitive(ifactory, "/View source", sens);
        menu_set_sensitive(ifactory, "/Show all header", sens);
        if ((summaryview->folder_item->stype == F_DRAFT) ||
-           (summaryview->folder_item->stype == F_OUTBOX))
+           (summaryview->folder_item->stype == F_OUTBOX) ||
+           (summaryview->folder_item->stype == F_QUEUE))
                menu_set_sensitive(ifactory, "/Reedit", sens);
 
        menu_set_sensitive(ifactory, "/Save as...", sens);
@@ -1756,7 +1757,9 @@ void summary_reedit(SummaryView *summaryview)
 
        if (!summaryview->selected) return;
        if (!summaryview->folder_item ||
-           summaryview->folder_item->stype != F_DRAFT) return;
+           (summaryview->folder_item->stype != F_DRAFT &&
+            summaryview->folder_item->stype != F_OUTBOX &&
+            summaryview->folder_item->stype != F_QUEUE)) return;
 
        msginfo = gtk_ctree_node_get_row_data(GTK_CTREE(summaryview->ctree),
                                              summaryview->selected);