diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-12-09 10:18:19 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-12-09 10:18:19 +0000 |
commit | 447bcaed412ca4ed652f0dce57c8af4b86ca1fb1 (patch) | |
tree | 99fc473654978f5d4259c7f9d72111d93226f926 | |
parent | 4966287d56be3f724ef0c31030baa4db29aeb72b (diff) |
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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/foldersel.c | 4 |
3 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,9 @@ 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. * libsylph/procheader.[ch]: procheader_get_header_list_from_msginfo(): added. diff --git a/ChangeLog.ja b/ChangeLog.ja index 130482dd..8c38033d 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,10 @@ 2005-12-09 + * src/foldersel.c: FOLDER_SEL_ALL でトップフォルダも選択するように + した。 + +2005-12-09 + * src/filter.[ch]: filter_rule_requires_full_headers(): 追加。 * libsylph/procheader.[ch]: procheader_get_header_list_from_msginfo(): 追加。 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); |