aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-05-07 04:24:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-07 04:24:33 +0800
commit1edcbb4aa658d9eb298b0d2347cf7fd85970b64a (patch)
treeca3dfa286901d0e9c410526a4856ed8d0ca8c643 /mail/mail-component.c
parent55b11cd1608e14064222c83f35a85fe56b72038d (diff)
downloadgsoc2013-evolution-1edcbb4aa658d9eb298b0d2347cf7fd85970b64a.tar
gsoc2013-evolution-1edcbb4aa658d9eb298b0d2347cf7fd85970b64a.tar.gz
gsoc2013-evolution-1edcbb4aa658d9eb298b0d2347cf7fd85970b64a.tar.bz2
gsoc2013-evolution-1edcbb4aa658d9eb298b0d2347cf7fd85970b64a.tar.lz
gsoc2013-evolution-1edcbb4aa658d9eb298b0d2347cf7fd85970b64a.tar.xz
gsoc2013-evolution-1edcbb4aa658d9eb298b0d2347cf7fd85970b64a.tar.zst
gsoc2013-evolution-1edcbb4aa658d9eb298b0d2347cf7fd85970b64a.zip
Check that the folder is selectable using the new flags argument.
2004-05-06 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (folder_selected_cb): Check that the folder is selectable using the new flags argument. * em-folder-selector.c (folder_selected_cb): Updated for below changes. * em-folder-tree.c (emft_tree_selection_changed): Updated to pass a flags argument to the folder_selected signal. (emft_tree_row_activated): Same. svn path=/trunk/; revision=25816
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index c40095ed3d..227fa3df34 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -323,9 +323,9 @@ mc_startup(MailComponent *mc)
}
static void
-folder_selected_cb (EMFolderTree *emft, const char *path, const char *uri, EMFolderView *view)
+folder_selected_cb (EMFolderTree *emft, const char *path, const char *uri, guint32 flags, EMFolderView *view)
{
- if (!path || !strcmp (path, "/"))
+ if ((flags & CAMEL_FOLDER_NOSELECT) || !path || !strcmp (path, "/"))
em_folder_view_set_folder (view, NULL, NULL);
else
em_folder_view_set_folder_uri (view, uri);