diff options
author | JP Rosevear <jpr@ximian.com> | 2004-04-15 23:45:27 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-04-15 23:45:27 +0800 |
commit | c692eb0612942d959dd119063d68741a4694ff00 (patch) | |
tree | 2465bed9de33eb8e7a6637d9b501efbfebdb9739 /calendar/gui/dialogs/meeting-page.c | |
parent | ba90e141e1e5364871c0c9edcd133d6b3267d5a5 (diff) | |
download | gsoc2013-evolution-c692eb0612942d959dd119063d68741a4694ff00.tar gsoc2013-evolution-c692eb0612942d959dd119063d68741a4694ff00.tar.gz gsoc2013-evolution-c692eb0612942d959dd119063d68741a4694ff00.tar.bz2 gsoc2013-evolution-c692eb0612942d959dd119063d68741a4694ff00.tar.lz gsoc2013-evolution-c692eb0612942d959dd119063d68741a4694ff00.tar.xz gsoc2013-evolution-c692eb0612942d959dd119063d68741a4694ff00.tar.zst gsoc2013-evolution-c692eb0612942d959dd119063d68741a4694ff00.zip |
Fixes #53903
2004-04-15 JP Rosevear <jpr@ximian.com>
Fixes #53903
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
show/hide add button properly
(change_clicked_cb): ditto
* gui/dialogs/comp-editor.c (needs_send_cb): call back when "needs_send"
(page_changed_cb): use accessor
svn path=/trunk/; revision=25482
Diffstat (limited to 'calendar/gui/dialogs/meeting-page.c')
-rw-r--r-- | calendar/gui/dialogs/meeting-page.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c index ab82e4eb93..fdd0cb40e1 100644 --- a/calendar/gui/dialogs/meeting-page.c +++ b/calendar/gui/dialogs/meeting-page.c @@ -354,6 +354,7 @@ meeting_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) gtk_widget_show (priv->existing_organizer_table); if (itip_organizer_is_user (comp, page->client)) { gtk_widget_show (priv->invite); + gtk_widget_show (priv->add); if (e_cal_get_static_capability ( page->client, CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS)) @@ -364,6 +365,7 @@ meeting_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS)) gtk_widget_hide (priv->existing_organizer_btn); gtk_widget_hide (priv->invite); + gtk_widget_hide (priv->add); } if (organizer.cn != NULL) @@ -543,8 +545,9 @@ change_clicked_cb (GtkWidget *widget, gpointer data) gtk_widget_show (priv->organizer_table); gtk_widget_hide (priv->existing_organizer_table); gtk_widget_show (priv->invite); + gtk_widget_show (priv->add); - comp_editor_page_notify_needs_send (COMP_EDITOR_PAGE (mpage)); + comp_editor_page_notify_changed (COMP_EDITOR_PAGE (mpage)); priv->existing = FALSE; } |