aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-sidebar.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-10-07 19:08:32 +0800
committerMilan Crha <mcrha@redhat.com>2009-10-07 19:08:32 +0800
commit54de40109d1b90653d611dea99bae7a9d689be63 (patch)
tree7041c0479c4a62e08a4ed6f2064a66c8c7bbf622 /modules/mail/e-mail-shell-sidebar.c
parentc01df5acc66b878c5c46a0b68f9dc959526d7247 (diff)
downloadgsoc2013-evolution-54de40109d1b90653d611dea99bae7a9d689be63.tar
gsoc2013-evolution-54de40109d1b90653d611dea99bae7a9d689be63.tar.gz
gsoc2013-evolution-54de40109d1b90653d611dea99bae7a9d689be63.tar.bz2
gsoc2013-evolution-54de40109d1b90653d611dea99bae7a9d689be63.tar.lz
gsoc2013-evolution-54de40109d1b90653d611dea99bae7a9d689be63.tar.xz
gsoc2013-evolution-54de40109d1b90653d611dea99bae7a9d689be63.tar.zst
gsoc2013-evolution-54de40109d1b90653d611dea99bae7a9d689be63.zip
Bug #596824 - evolution hangs on start up
Diffstat (limited to 'modules/mail/e-mail-shell-sidebar.c')
-rw-r--r--modules/mail/e-mail-shell-sidebar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/mail/e-mail-shell-sidebar.c b/modules/mail/e-mail-shell-sidebar.c
index 3db9bd674e..fcc6805514 100644
--- a/modules/mail/e-mail-shell-sidebar.c
+++ b/modules/mail/e-mail-shell-sidebar.c
@@ -501,7 +501,6 @@ mail_shell_sidebar_check_state (EShellSidebar *shell_sidebar)
GtkTreeView *tree_view;
GtkTreeModel *model;
GtkTreeIter iter;
- CamelFolder *folder;
CamelStore *local_store;
CamelStore *store;
gchar *full_name;
@@ -550,8 +549,7 @@ mail_shell_sidebar_check_state (EShellSidebar *shell_sidebar)
(strcmp (full_name, "Templates") != 0);
if (!(folder_flags & CAMEL_FOLDER_HAS_BEEN_DELETED)) {
- folder = em_folder_tree_get_selected_folder (folder_tree);
- is_outbox = em_utils_folder_is_outbox (folder, NULL);
+ is_outbox = em_utils_folder_is_outbox (NULL, uri);
}
can_delete &= !(folder_flags & CAMEL_FOLDER_SYSTEM);
}