diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-11 09:13:29 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-11 09:13:29 +0000 |
commit | 33358d1e043a4006791e652374a2b269c4f83c76 (patch) | |
tree | d9bbab3f0434f049b450b2ee51e0644140855881 /src/mainwindow.c | |
parent | 02ecfb2ce6166c0ce44753363d558063bcba8176 (diff) |
implemented summary_thread_build().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@244 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index be7e4ac5..a2b0fa1e 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -2932,13 +2932,10 @@ static void thread_cb(MainWindow *mainwin, guint action, GtkWidget *widget) if (mainwin->menu_lock_count) return; if (!mainwin->summaryview->folder_item) return; - if (GTK_CHECK_MENU_ITEM(widget)->active) { - mainwin->summaryview->folder_item->threaded = TRUE; + if (GTK_CHECK_MENU_ITEM(widget)->active) summary_thread_build(mainwin->summaryview); - } else { - mainwin->summaryview->folder_item->threaded = FALSE; + else summary_unthread(mainwin->summaryview); - } } static void expand_threads_cb(MainWindow *mainwin, guint action, |