diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2005-01-08 02:33:44 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2005-01-08 02:33:44 +0800 |
commit | 7bff0633bf1c5ef2ba72382d4715f8ad6f291857 (patch) | |
tree | fb6430d963b2309a997c74cc47ffca38071d371d /calendar/gui/dialogs/task-page.c | |
parent | 594b4609238bc4168c83bb5800149d7c5036df9d (diff) | |
download | gsoc2013-evolution-7bff0633bf1c5ef2ba72382d4715f8ad6f291857.tar.gz 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/task-page.c')
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index bea294bcf4..f1fd4fea1b 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -73,7 +73,7 @@ struct _TaskPagePrivate { GtkWidget *categories; GtkWidget *source_selector; - GtkWidget *sendoptions_label; + GtkWidget *sendoptions_frame; GtkWidget *sendoptions_button; gboolean updating; @@ -146,7 +146,7 @@ task_page_init (TaskPage *tpage) priv->classification = NULL; priv->categories_btn = NULL; priv->categories = NULL; - priv->sendoptions_label = NULL; + priv->sendoptions_frame = NULL; priv->sendoptions_button = NULL; priv->sendoptions_shown = FALSE; priv->sod = NULL; @@ -274,8 +274,7 @@ task_page_hide_options (TaskPage *page) { g_return_if_fail (IS_TASK_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; @@ -285,8 +284,7 @@ task_page_show_options (TaskPage *page) { g_return_if_fail (IS_TASK_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); @@ -701,7 +699,7 @@ get_widgets (TaskPage *tpage) 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 @@ -716,7 +714,7 @@ get_widgets (TaskPage *tpage) && priv->description && priv->categories_btn && priv->categories - && priv->sendoptions_label + && priv->sendoptions_frame && priv->sendoptions_button); } |