evolution r36133 - branches/mail-dbus-remoting/mail



Author: sragavan
Date: Wed Aug 27 18:23:58 2008
New Revision: 36133
URL: http://svn.gnome.org/viewvc/evolution?rev=36133&view=rev

Log:
Make the stores appear on the folder tree.


Modified:
   branches/mail-dbus-remoting/mail/em-folder-tree-model.c

Modified: branches/mail-dbus-remoting/mail/em-folder-tree-model.c
==============================================================================
--- branches/mail-dbus-remoting/mail/em-folder-tree-model.c	(original)
+++ branches/mail-dbus-remoting/mail/em-folder-tree-model.c	Wed Aug 27 18:23:58 2008
@@ -800,13 +800,14 @@
 	char *uri;
 
 	g_return_if_fail (EM_IS_FOLDER_TREE_MODEL (model));
-	g_return_if_fail (CAMEL_IS_STORE (store));
 	g_return_if_fail (display_name != NULL);
 
 	if ((si = g_hash_table_lookup (model->store_hash, store)))
 		em_folder_tree_model_remove_store (model, store);
 
-	uri = camel_url_to_string (((CamelService *) store)->url, CAMEL_URL_HIDE_ALL);
+	#warning make the function to pass flags for it.
+	// uri = camel_url_to_string (camel_store_get_url_remote (store), CAMEL_URL_HIDE_ALL);
+	uri = camel_store_get_url_remote (store);
 
 	account = mail_config_get_account_by_source_url (uri);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]