diff options
author | JP Rosevear <jpr@src.gnome.org> | 2003-03-05 03:52:37 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-03-05 03:52:37 +0800 |
commit | 6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62 (patch) | |
tree | bba07b5f28966c10a90de8f550af895014b0b9bb /calendar/gui/dialogs/event-page.c | |
parent | cd4477930e72b1be069d5c97b90d96e989645bfc (diff) | |
download | gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.gz gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.bz2 gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.lz gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.xz gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.zst gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.zip |
If only the pipe wouldn't break.
svn path=/trunk/; revision=20143
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index e9bc511ece..a7e1655c5a 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -67,7 +67,8 @@ struct _EventPagePrivate { GtkWidget *classification_public; GtkWidget *classification_private; GtkWidget *classification_confidential; - + + GtkWidget *show_time_frame; GtkWidget *show_time_as_free; GtkWidget *show_time_as_busy; @@ -164,6 +165,7 @@ event_page_init (EventPage *epage) priv->classification_public = NULL; priv->classification_private = NULL; priv->classification_confidential = NULL; + priv->show_time_frame = NULL; priv->show_time_as_free = NULL; priv->show_time_as_busy = NULL; priv->contacts_btn = NULL; @@ -454,7 +456,7 @@ event_page_fill_widgets (CompEditorPage *page, CalComponent *comp) const char *location; const char *categories; GSList *l; - + g_return_if_fail (page->client != NULL); epage = EVENT_PAGE (page); @@ -539,8 +541,10 @@ event_page_fill_widgets (CompEditorPage *page, CalComponent *comp) transparency_map); break; } - - + if (cal_client_get_static_capability (page->client, "no-transparency")) + gtk_widget_hide (priv->show_time_frame); + else + gtk_widget_show (priv->show_time_frame); /* Categories */ cal_component_get_categories (comp, &categories); @@ -791,6 +795,7 @@ get_widgets (EventPage *epage) priv->classification_private = GW ("classification-private"); priv->classification_confidential = GW ("classification-confidential"); + priv->show_time_frame = GW ("show-time-frame"); priv->show_time_as_free = GW ("show-time-as-free"); priv->show_time_as_busy = GW ("show-time-as-busy"); @@ -813,6 +818,7 @@ get_widgets (EventPage *epage) && priv->classification_public && priv->classification_private && priv->classification_confidential + && priv->show_time_frame && priv->show_time_as_free && priv->show_time_as_busy && priv->contacts_btn |