aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-page.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-01-08 02:33:44 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-01-08 02:33:44 +0800
commit7bff0633bf1c5ef2ba72382d4715f8ad6f291857 (patch)
treefb6430d963b2309a997c74cc47ffca38071d371d /calendar/gui/dialogs/event-page.c
parent594b4609238bc4168c83bb5800149d7c5036df9d (diff)
downloadgsoc2013-evolution-7bff0633bf1c5ef2ba72382d4715f8ad6f291857.tar
gsoc2013-evolution-7bff0633bf1c5ef2ba72382d4715f8ad6f291857.tar.gz
gsoc2013-evolution-7bff0633bf1c5ef2ba72382d4715f8ad6f291857.tar.bz2
gsoc2013-evolution-7bff0633bf1c5ef2ba72382d4715f8ad6f291857.tar.lz
gsoc2013-evolution-7bff0633bf1c5ef2ba72382d4715f8ad6f291857.tar.xz
gsoc2013-evolution-7bff0633bf1c5ef2ba72382d4715f8ad6f291857.tar.zst
gsoc2013-evolution-7bff0633bf1c5ef2ba72382d4715f8ad6f291857.zip
put a name to the 'Send options' frame.
2005-01-07 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: put a name to the 'Send options' frame. * gui/dialogs/event-page.c (event_page_init): initialize reference to the 'Send options' frame. (get_widgets): get the 'Send options' frame from the .glade file. (event_page_hide_options): just hide the frame. (event_page_show_options): just show the frame. * gui/dialogs/task-page.c (task_page_init): initialize reference to the 'Send options' frame. (get_widgets): get the 'Send options' frame from the .glade file. (task_page_hide_options): just hide the frame. (task_page_show_options): just show the frame. svn path=/trunk/; revision=28277
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r--calendar/gui/dialogs/event-page.c16
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);
}