diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-02-19 03:33:41 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-02-19 03:33:41 +0800 |
commit | 327242a925af1a111d07dc1f9171b4bead02e85f (patch) | |
tree | c891fd5ebd85b7a2d87bbf791fdba96573108f86 /mail/em-folder-tree.c | |
parent | c67d072763b1bb27263e63f3dac6b1d0e70cc3f1 (diff) | |
download | gsoc2013-evolution-327242a925af1a111d07dc1f9171b4bead02e85f.tar.gz gsoc2013-evolution-327242a925af1a111d07dc1f9171b4bead02e85f.tar.zst gsoc2013-evolution-327242a925af1a111d07dc1f9171b4bead02e85f.zip |
Updated for em-popup API change (altho currently passes a dummy value).
2004-02-12 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_tree_button_press): Updated for em-popup
API change (altho currently passes a dummy value).
* em-popup.c (em_popup_target_new_folder): Check for vTrash/vJunk
by checking the CAMEL_FOLDER_VIRTUAL info flags bit. (perhaps this
flag should be renamed to SPECIAL? VIRTUAL might not have been a
good name). Also changed to check flags & CAMEL_FOLDER_NOSELECT
rather than checking the uri string for a noselect param.
* mail-folder-cache.c (unset_folder_info): Instead of checking for
";noselect" in the uri, check for a CAMEL_FOLDER_NOSELECT flag on
mfi->flags.
(setup_folder): Copy the fi->flags to mfi->flags here.
(rename_folders): Same.
(setup_folder): Check fi->flags for CAMEL_FOLDER_NOSELECT here
instead.
(rename_folders): Same. Also gets rid of a FIXME.
svn path=/trunk/; revision=24784
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index d6cfb977be..0e1c6c4357 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -2224,7 +2224,9 @@ emft_tree_button_press (GtkWidget *treeview, GdkEventButton *event, EMFolderTree selection = gtk_tree_view_get_selection (priv->treeview); emft_selection_get_selected (selection, &model, &iter); gtk_tree_model_get (model, &iter, COL_STRING_URI, &uri, COL_BOOL_IS_STORE, &isstore, -1); - target = em_popup_target_new_folder(uri, isstore); + + /* FIXME: pass valid fi->flags here */ + target = em_popup_target_new_folder(uri, 0, isstore); for (i = 0; i < sizeof (emft_popup_menu) / sizeof (emft_popup_menu[0]); i++) { EMPopupItem *item = &emft_popup_menu[i]; |