diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2004-06-08 23:58:12 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-06-08 23:58:12 +0800 |
commit | 7601e9e71eb0f412b7671954c8724e1820e519cd (patch) | |
tree | 412e8c2d6396369899c4cebd0d1f217b07bffd66 /calendar/gui/dialogs/alarm-page.c | |
parent | c2d7dc57764bc05a28d3b765f50ccff901524fba (diff) | |
download | gsoc2013-evolution-7601e9e71eb0f412b7671954c8724e1820e519cd.tar gsoc2013-evolution-7601e9e71eb0f412b7671954c8724e1820e519cd.tar.gz gsoc2013-evolution-7601e9e71eb0f412b7671954c8724e1820e519cd.tar.bz2 gsoc2013-evolution-7601e9e71eb0f412b7671954c8724e1820e519cd.tar.lz gsoc2013-evolution-7601e9e71eb0f412b7671954c8724e1820e519cd.tar.xz gsoc2013-evolution-7601e9e71eb0f412b7671954c8724e1820e519cd.tar.zst gsoc2013-evolution-7601e9e71eb0f412b7671954c8724e1820e519cd.zip |
do not set the private client here, it is set in comp-editor.c.
2004-06-08 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/comp-editor-page.c
(comp_editor_page_notify_client_changed): do not set the private
client here, it is set in comp-editor.c.
* gui/dialogs/event-page.c (sensitize_widgets): new function.
(source_changed_cb): call sensitize_buttons().
* gui/dialogs/recurrence-page.c (sensitize_buttons): new
function, to deal correctly with the sensitivity of all widgets
in the page.
(recurrence_page_fill_widgets, type_toggled_cb, client_changed_cb):
call sensitize_buttons() instead of sensitize_recur_widgets().
(recurrence_page_construct): g_signal_connect_after for
"client_changed", to get notifications after CompEditorPage
gets his.
* gui/dialogs/alarm-page.c (sensitize_buttons): sensitize the missing
widgets in the page.
(alarm_page_construct): g_signal_connect_after for "client_changed",
to get notifications after CompEditorPage gets his.
svn path=/trunk/; revision=26254
Diffstat (limited to 'calendar/gui/dialogs/alarm-page.c')
-rw-r--r-- | calendar/gui/dialogs/alarm-page.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c index d7faebf14c..8270332707 100644 --- a/calendar/gui/dialogs/alarm-page.c +++ b/calendar/gui/dialogs/alarm-page.c @@ -345,6 +345,12 @@ sensitize_buttons (AlarmPage *apage) else gtk_widget_set_sensitive (apage->priv->add, sensitivity); gtk_widget_set_sensitive (priv->delete, have_selected && !read_only ? TRUE : FALSE); + gtk_widget_set_sensitive (priv->action, sensitivity); + gtk_widget_set_sensitive (priv->interval_value, sensitivity); + gtk_widget_set_sensitive (priv->value_units, sensitivity); + gtk_widget_set_sensitive (priv->relative, sensitivity); + gtk_widget_set_sensitive (priv->time, sensitivity); + gtk_widget_set_sensitive (priv->button_options, sensitivity); } /* Appends an alarm to the list */ @@ -862,8 +868,8 @@ alarm_page_construct (AlarmPage *apage) init_widgets (apage); - g_signal_connect (G_OBJECT (apage), "client_changed", - G_CALLBACK (client_changed_cb), NULL); + g_signal_connect_after (G_OBJECT (apage), "client_changed", + G_CALLBACK (client_changed_cb), NULL); return apage; } |