[evolution] Bug #664326 - Buttons to handle exceptions in event is always disabled
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #664326 - Buttons to handle exceptions in event is always disabled
- Date: Fri, 9 Mar 2012 12:43:57 +0000 (UTC)
commit e9dde84d48d9e17d6f15b71c6e034984145918c0
Author: Milan Crha <mcrha redhat com>
Date: Fri Mar 9 13:43:36 2012 +0100
Bug #664326 - Buttons to handle exceptions in event is always disabled
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 5658cd0..838ab76 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]