evolution r37490 - trunk/mail
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r37490 - trunk/mail
- Date: Thu, 2 Apr 2009 14:37:30 +0000 (UTC)
Author: mcrha
Date: Thu Apr 2 14:37:29 2009
New Revision: 37490
URL: http://svn.gnome.org/viewvc/evolution?rev=37490&view=rev
Log:
2009-04-02 Milan Crha <mcrha redhat com>
* em-folder-tree.c: (em_folder_tree_get_selected_folder):
Do not ask for a folder when no folder selected.
Modified:
trunk/mail/ChangeLog
trunk/mail/em-folder-tree.c
Modified: trunk/mail/em-folder-tree.c
==============================================================================
--- trunk/mail/em-folder-tree.c (original)
+++ trunk/mail/em-folder-tree.c Thu Apr 2 14:37:29 2009
@@ -2550,7 +2550,8 @@
gtk_tree_model_get (model, &iter, COL_POINTER_CAMEL_STORE, &store,
COL_STRING_FULL_NAME, &full_name, -1);
- folder = camel_store_get_folder (store, full_name, CAMEL_STORE_FOLDER_INFO_FAST, &ex);
+ if (store && full_name)
+ folder = camel_store_get_folder (store, full_name, CAMEL_STORE_FOLDER_INFO_FAST, &ex);
camel_exception_clear (&ex);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]