diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-01-11 06:10:57 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-01-11 06:10:57 +0000 |
commit | caf18276da32a76cef4559bbf6b410a7c0e557c9 (patch) | |
tree | d77c8bec9fd88984797548590c1eb1f8375fbf3a | |
parent | 1ef33ad10764f0bf1786e455a12422aa428e9e3c (diff) |
open search folder property on virtual folder with '/Edit/Search messages...'.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@884 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/mainwindow.c | 6 |
3 files changed, 15 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-01-11 + + * src/mainwindow.c: search_cb(): open search folder property on + virtual folder. + 2006-01-10 * src/prefs_search_folder.c: added name entry. Also show name in the diff --git a/ChangeLog.ja b/ChangeLog.ja index 1ad69742..44835e49 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,8 @@ +2006-01-11 + + * src/mainwindow.c: search_cb(): 仮想フォルダの場合は検索フォルダの + プロパティを開くようにした。 + 2006-01-10 * src/prefs_search_folder.c: 名前のエントリを追加。さらに名前を diff --git a/src/mainwindow.c b/src/mainwindow.c index d9d8a1db..337e9eca 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -71,6 +71,7 @@ #include "prefs_account.h" #include "prefs_summary_column.h" #include "prefs_template.h" +#include "prefs_search_folder.h" #include "action.h" #include "account.h" #include "account_dialog.h" @@ -2801,7 +2802,10 @@ static void search_cb(MainWindow *mainwin, guint action, GtkWidget *widget) FolderItem *item; item = folderview_get_selected_item(mainwin->folderview); - summary_search(item); + if (item && item->stype == F_VIRTUAL) + prefs_search_folder_open(item); + else + summary_search(item); } else message_search(mainwin->messageview); } |