After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 329710 - Cal publishUI, 'Enable' button should change to disable when account is enabled
Cal publishUI, 'Enable' button should change to disable when account is enabled
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
: 330090 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-03 04:19 UTC by Poornima
Modified: 2009-10-15 14:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Changed label of Enable button to Disable for enabled url (2.81 KB, patch)
2006-02-09 13:25 UTC, Rajeev R
reviewed Details | Review
proposed evo patch (2.81 KB, patch)
2009-08-03 17:58 UTC, Milan Crha
committed Details | Review

Description Poornima 2006-02-03 04:19:50 UTC
In Calendar publishing UI, 'Enable' button should change to disable when account is enabled.
Comment 1 Rajeev R 2006-02-09 13:25:04 UTC
Created attachment 58995 [details] [review]
Changed label of Enable button to Disable for enabled url
Comment 2 Chenthill P 2006-06-07 06:11:08 UTC
if (url->enabled)
+			gtk_button_set_label ((GtkButton *)ui->url_enable, "Disable");
+		else	
+			gtk_button_set_label ((GtkButton *)ui->url_enable, "Enable");
Instead of duplicating the code three times. Having a function to do it would be much better.
Comment 3 Matthew Barnes 2008-03-11 00:26:04 UTC
Bumping version to a stable release.
Comment 4 Milan Crha 2009-08-03 17:58:40 UTC
Created attachment 139804 [details] [review]
proposed evo patch

for evolution;

As this simple. Please notice two things:
a) there had been code to disable the "Enable" button; might be for some other
   bug report. Funnyly enough, 3 times the same code there.
b) when one changed the enabled by clicking in the tree directly, the new
   state wasn't saved, thus next start everything was back
Comment 5 Milan Crha 2009-08-05 15:41:02 UTC
*** Bug 330090 has been marked as a duplicate of this bug. ***
Comment 6 Milan Crha 2009-10-15 14:56:37 UTC
Created commit 47dcdfd in evo master (2.29.1+)