diff options
author | Milan Crha <mcrha@redhat.com> | 2012-03-09 20:43:36 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-03-09 20:43:36 +0800 |
commit | e9dde84d48d9e17d6f15b71c6e034984145918c0 (patch) | |
tree | 0e58e485783c1df87590410e2e8278d429b783fe /calendar | |
parent | 5554e8583b4faccae008946646fd94cf6c7cc79f (diff) | |
download | gsoc2013-evolution-e9dde84d48d9e17d6f15b71c6e034984145918c0.tar.gz gsoc2013-evolution-e9dde84d48d9e17d6f15b71c6e034984145918c0.tar.zst gsoc2013-evolution-e9dde84d48d9e17d6f15b71c6e034984145918c0.zip |
Bug #664326 - Buttons to handle exceptions in event is always disabled
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 5658cd0fb3..838ab76c4d 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -615,7 +615,7 @@ update_with_readonly (RecurrencePage *rpage, gtk_widget_set_sensitive (priv->params, FALSE); gtk_widget_set_sensitive (priv->recurs, !read_only && sensitize); - gtk_widget_set_sensitive (priv->exception_add, !read_only && e_cal_component_has_recurrences (priv->comp) && sensitize); + gtk_widget_set_sensitive (priv->exception_add, !read_only && sensitize && gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->recurs))); gtk_widget_set_sensitive (priv->exception_modify, !read_only && selected_rows > 0 && sensitize); gtk_widget_set_sensitive (priv->exception_delete, !read_only && selected_rows > 0 && sensitize); } |