aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-11 06:10:57 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-11 06:10:57 +0000
commitcaf18276da32a76cef4559bbf6b410a7c0e557c9 (patch)
treed77c8bec9fd88984797548590c1eb1f8375fbf3a
parent1ef33ad10764f0bf1786e455a12422aa428e9e3c (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--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/mainwindow.c6
3 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c4821d6..e6f4f316 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}