aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-09-12 06:57:23 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-09-12 06:57:23 +0000
commita491efa0f2fc9fb9b9cbdce132d939f260718d31 (patch)
tree5a638921e05cf14600501e8062b7b619a368dd4b /src/mainwindow.c
parent55f3cbdecc3e30021d63b07c51afb21bf51c5660 (diff)
added 'To' column to the summary view.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1894 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 40cbea87..fb2698f2 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1820,9 +1820,7 @@ static SensitiveCond main_window_get_current_state(MainWindow *mainwin)
if (selection == SUMMARY_SELECTED_SINGLE)
state |= M_SINGLE_TARGET_EXIST;
if (selection == SUMMARY_SELECTED_SINGLE &&
- (item &&
- (item->stype == F_OUTBOX || item->stype == F_DRAFT ||
- item->stype == F_QUEUE)))
+ FOLDER_ITEM_IS_SENT_FOLDER(item))
state |= M_ALLOW_REEDIT;
if (cur_account)
state |= M_HAVE_ACCOUNT;
@@ -3487,7 +3485,8 @@ static void collapse_threads_cb(MainWindow *mainwin, guint action,
static void set_display_item_cb(MainWindow *mainwin, guint action,
GtkWidget *widget)
{
- prefs_summary_column_open();
+ prefs_summary_column_open
+ (FOLDER_ITEM_IS_SENT_FOLDER(mainwin->summaryview->folder_item));
}
static void sort_summary_cb(MainWindow *mainwin, guint action,