aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShakti Sen <shprasad@novell.com>2005-08-26 18:28:30 +0800
committerShakti Prasad Sen <shaktis@src.gnome.org>2005-08-26 18:28:30 +0800
commit7812029bcf75f7ee0ca1887e38cef6010b4b6e07 (patch)
treef7eacb60de81559e617b60f72f4097d3caadc296
parent227226622fd38260b1e816dc39328f51e907d7b9 (diff)
downloadgsoc2013-evolution-7812029bcf75f7ee0ca1887e38cef6010b4b6e07.tar.gz
gsoc2013-evolution-7812029bcf75f7ee0ca1887e38cef6010b4b6e07.tar.zst
gsoc2013-evolution-7812029bcf75f7ee0ca1887e38cef6010b4b6e07.zip
Fixes the 'Label disappears' problem in Tasks, Calendar and Contacts.
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. svn path=/trunk/; revision=30258
-rw-r--r--plugins/exchange-operations/ChangeLog7
-rw-r--r--plugins/exchange-operations/exchange-folder.c5
2 files changed, 9 insertions, 3 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog
index 42939e4aec..e55420b3b7 100644
--- a/plugins/exchange-operations/ChangeLog
+++ b/plugins/exchange-operations/ChangeLog
@@ -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
diff --git a/plugins/exchange-operations/exchange-folder.c b/plugins/exchange-operations/exchange-folder.c
index f9b2dfa68c..4e48a66dfd 100644
--- a/plugins/exchange-operations/exchange-folder.c
+++ b/plugins/exchange-operations/exchange-folder.c
@@ -486,7 +486,7 @@ org_gnome_exchange_folder_unsubscribe (EPopup *ep, EPopupItem *p, void *data)
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 (EPopup *ep, EPopupItem *p, void *data)
}
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 (EPopup *ep, EPopupItem *p, void *data)
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);