From 447bcaed412ca4ed652f0dce57c8af4b86ca1fb1 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 9 Dec 2005 10:18:19 +0000 Subject: foldersel.c: also select top folder on FOLDER_SEL_ALL. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@817 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 4 ++++ ChangeLog.ja | 5 +++++ src/foldersel.c | 4 ++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1ad00313..976ae968 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-12-09 + + * src/foldersel.c: also select top folder on FOLDER_SEL_ALL. + 2005-12-09 * src/filter.[ch]: filter_rule_requires_full_headers(): added. diff --git a/ChangeLog.ja b/ChangeLog.ja index 130482dd..8c38033d 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,8 @@ +2005-12-09 + + * src/foldersel.c: FOLDER_SEL_ALL でトップフォルダも選択するように + した。 + 2005-12-09 * src/filter.[ch]: filter_rule_requires_full_headers(): 追加。 diff --git a/src/foldersel.c b/src/foldersel.c index e6a8cfc9..c7b3950c 100644 --- a/src/foldersel.c +++ b/src/foldersel.c @@ -209,7 +209,7 @@ FolderItem *foldersel_folder_sel(Folder *cur_folder, FolderSelectionType type, if (cancelled || !selected_item) return NULL; - if (type == FOLDER_SEL_MOVE_FOLDER || + if (type == FOLDER_SEL_ALL || type == FOLDER_SEL_MOVE_FOLDER || (selected_item->path && !selected_item->no_select)) { folder_item = selected_item; return folder_item; @@ -494,7 +494,7 @@ static gboolean foldersel_selected(GtkTreeSelection *selection, selected_item = item; if (selected_item && - (sel_type == FOLDER_SEL_MOVE_FOLDER || + (sel_type == FOLDER_SEL_ALL || sel_type == FOLDER_SEL_MOVE_FOLDER || (selected_item->path && !selected_item->no_select))) { gchar *id; id = folder_item_get_identifier(selected_item); -- cgit v1.2.3