[evolution-patches] Patch for solving problems after renaming a folder



Hi,

The attached patch will solve the following problems that occur on
renaming a groupwise folder. camel-groupwise-folder file is updated.

1) Shared-folder settings not visible on the properties dialog (bug
#73800)
2) Folder name not getting refreshed properly in the properties dialog
(bug #73676)

Regards,
Sankar P
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/ChangeLog,v
retrieving revision 1.38
diff -u -p -r1.38 ChangeLog
--- ChangeLog	15 Mar 2005 01:48:04 -0000	1.38
+++ ChangeLog	18 Mar 2005 06:17:12 -0000
@@ -1,3 +1,8 @@
+2005-03-18  Sankar P <psankar novell com>
+
+	* camel-groupwise-folder.c: (groupwise_folder_rename)
+	Added code to complete the rename operation by calling parent class' function
+
 2005-03-11  Parthasarathi Susarla <sparthasarathi novell com>
 	
 	* camel-groupwise-folder.c:
Index: camel-groupwise-folder.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-folder.c,v
retrieving revision 1.38
diff -u -p -r1.38 camel-groupwise-folder.c
--- camel-groupwise-folder.c	11 Mar 2005 08:39:56 -0000	1.38
+++ camel-groupwise-folder.c	18 Mar 2005 06:17:14 -0000
@@ -431,6 +431,7 @@ groupwise_folder_rename (CamelFolder *fo
 	CAMEL_GROUPWISE_FOLDER_LOCK (folder, cache_lock) ;
 	g_free (gw_folder->cache->path) ;
 	gw_folder->cache->path = g_strdup (folder_dir) ;
+	((CamelFolderClass )parent_class->parent_class).rename(folder,new);
 	CAMEL_GROUPWISE_FOLDER_UNLOCK (folder, cache_lock) ;
 
 	camel_folder_summary_set_filename (folder->summary, summary_path) ;


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