[evolution-patches] Exchange: patch for bug #311959



Sorry, my previous mail doesn't contain the patch. I forgot to attach
the patch. Attaching it now. Please review the patch.

Thanks,
Shakti


Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/exchange-operations/ChangeLog,v
retrieving revision 1.49
diff -u -p -r1.49 ChangeLog
--- ChangeLog	25 Aug 2005 15:27:51 -0000	1.49
+++ ChangeLog	26 Aug 2005 05:11:44 -0000
@@ -1,3 +1,10 @@
+2005-08-26  Shakti Sen <shprasad novell com>
+
+	* exchange-folder.c (org_gnome_exchange_folder_unsubscribe): Fixes the
+	'Label disappears' problem in Tasks, Calendar and Contacts.
+
+	Fixes bug #311959.
+
 2005-08-25  Arunprakash  <arunp novell com>
 
 	* exchange-config-listener.c (account_added) : Need to set the
Index: exchange-folder.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/exchange-operations/exchange-folder.c,v
retrieving revision 1.11
diff -u -p -r1.11 exchange-folder.c
--- exchange-folder.c	25 Aug 2005 14:46:34 -0000	1.11
+++ exchange-folder.c	26 Aug 2005 05:11:44 -0000
@@ -486,7 +486,7 @@ org_gnome_exchange_folder_unsubscribe (E
 	ESource *source = NULL;
 	ExchangeAccount *account = NULL;
 	gchar *title = NULL;
-	gchar *displayed_folder_name = NULL;
+	const gchar *displayed_folder_name;
 	gint response;
 	gint mode;
 	ExchangeConfigListenerStatus status;
@@ -512,7 +512,7 @@ org_gnome_exchange_folder_unsubscribe (E
 	}	
 
 	source = e_source_selector_peek_primary_selection (E_SOURCE_SELECTOR (target->selector));
-	displayed_folder_name = (gchar *) e_source_peek_name (source);
+	displayed_folder_name =  e_source_peek_name (source);
 	dialog = gtk_message_dialog_new (NULL,
 					 GTK_DIALOG_MODAL,
 					 GTK_MESSAGE_QUESTION,
@@ -533,7 +533,6 @@ org_gnome_exchange_folder_unsubscribe (E
 	gtk_window_set_title (GTK_WINDOW (dialog), title);
 	response = gtk_dialog_run (GTK_DIALOG (dialog));
 	g_free (title);
-	g_free (displayed_folder_name);
 
 	gtk_widget_show (dialog);
 	unsubscribe_dialog_response (GTK_DIALOG (dialog), response, data);


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