diff options
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index cfd1642e8b..b421d6ee95 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -87,7 +87,7 @@ struct _EventPagePrivate { GtkWidget *source_selector; - GtkWidget *sendoptions_label; + GtkWidget *sendoptions_frame; GtkWidget *sendoptions_button; EAlarmList *alarm_list_store; @@ -170,7 +170,7 @@ event_page_init (EventPage *epage) priv->alarm_custom = NULL; priv->categories_btn = NULL; priv->categories = NULL; - priv->sendoptions_label = NULL; + priv->sendoptions_frame = NULL; priv->sendoptions_button = NULL; priv->sod = NULL; @@ -642,9 +642,8 @@ event_page_hide_options (EventPage *page) { g_return_if_fail (IS_EVENT_PAGE (page)); - gtk_widget_hide (page->priv->sendoptions_label); - gtk_widget_hide (page->priv->sendoptions_button); - + gtk_widget_hide (page->priv->sendoptions_frame); + page->priv->sendoptions_shown = FALSE; } @@ -653,8 +652,7 @@ event_page_show_options (EventPage *page) { g_return_if_fail (IS_EVENT_PAGE (page)); - gtk_widget_show (page->priv->sendoptions_label); - gtk_widget_show (page->priv->sendoptions_button); + gtk_widget_show (page->priv->sendoptions_frame); if (e_cal_get_static_capability (COMP_EDITOR_PAGE (page)->client, CAL_STATIC_CAPABILITY_NO_GEN_OPTIONS)) e_sendoptions_set_need_general_options (page->priv->sod, FALSE); @@ -1174,7 +1172,7 @@ get_widgets (EventPage *epage) priv->source_selector = GW ("source"); - priv->sendoptions_label = GW ("send-options-label"); + priv->sendoptions_frame = GW ("send-options-frame"); priv->sendoptions_button = GW ("send-options-button"); #undef GW @@ -1195,7 +1193,7 @@ get_widgets (EventPage *epage) && priv->alarm_custom && priv->categories_btn && priv->categories - && priv->sendoptions_label + && priv->sendoptions_frame && priv->sendoptions_button); } |