Index: publish-calendar.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/publish-calendar/publish-calendar.c,v
retrieving revision 1.3
diff -u -p -r1.3 publish-calendar.c
--- publish-calendar.c	25 Jan 2006 07:29:18 -0000	1.3
+++ publish-calendar.c	9 Feb 2006 10:49:44 -0000
@@ -273,6 +273,12 @@ url_list_enable_toggled (GtkCellRenderer
 		gtk_tree_model_get (model, &iter, URL_LIST_URL_COLUMN, &url, -1);
 
 		url->enabled = !url->enabled;
+
+		if(url->enabled)
+			gtk_widget_set_sensitive (ui->url_enable, FALSE);
+		else
+			gtk_widget_set_sensitive (ui->url_enable, TRUE);
+
 		gtk_list_store_set (GTK_LIST_STORE (model), &iter, URL_LIST_ENABLED_COLUMN, url->enabled, -1);
 	}
 
@@ -284,11 +290,18 @@ selection_changed (GtkTreeSelection *sel
 {
 	GtkTreeModel *model;
 	GtkTreeIter iter;
+	EPublishUri *url = NULL;
 
 	if (gtk_tree_selection_get_selected (selection, &model, &iter)) {
+		gtk_tree_model_get (model, &iter, URL_LIST_URL_COLUMN, &url, -1);
 		gtk_widget_set_sensitive (ui->url_edit, TRUE);
 		gtk_widget_set_sensitive (ui->url_remove, TRUE);
-		gtk_widget_set_sensitive (ui->url_enable, TRUE);
+
+		if(url->enabled)
+			gtk_widget_set_sensitive (ui->url_enable, FALSE);
+		else
+			gtk_widget_set_sensitive (ui->url_enable, TRUE);
+
 	} else {
 		gtk_widget_set_sensitive (ui->url_edit, FALSE);
 		gtk_widget_set_sensitive (ui->url_remove, FALSE);
@@ -427,7 +440,13 @@ url_enable_clicked (GtkButton *button, P
 	if (gtk_tree_selection_get_selected (selection, &model, &iter)) {
 		gtk_tree_model_get (model, &iter, URL_LIST_URL_COLUMN, &url, -1);
 		url->enabled = !url->enabled;
-		gtk_list_store_set (GTK_LIST_STORE (model), &iter, URL_LIST_URL_COLUMN, url->enabled, -1);
+
+		if(url->enabled)
+			gtk_widget_set_sensitive (ui->url_enable, FALSE);
+		else
+			gtk_widget_set_sensitive (ui->url_enable, TRUE);
+
+		gtk_list_store_set (GTK_LIST_STORE (model), &iter, URL_LIST_ENABLED_COLUMN, url->enabled, -1);
 		gtk_tree_selection_select_iter (selection, &iter);
 		url_list_changed (ui);
 	}
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/publish-calendar/ChangeLog,v
retrieving revision 1.12
diff -u -p -r1.12 ChangeLog
--- ChangeLog	30 Jan 2006 10:49:25 -0000	1.12
+++ ChangeLog	9 Feb 2006 10:50:01 -0000
@@ -1,3 +1,8 @@
+2006-02-09  Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
+
+	Fixes #328389
+	* publish-calendar.c: Disabled Enabled button for Enabled Url
+
 2006-01-30  Chenthill Palanisamy  <pchenthill@novell.com>
 
 	Fixes #328413
