aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/recurrence-page.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-08-17 07:37:38 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-08-17 07:37:38 +0800
commitb9b5aa0a0e5bbe9b7ed4eb45e37109ecf90d38c4 (patch)
tree3f8511620831134e115b24e08440ca5f1711d2d9 /calendar/gui/dialogs/recurrence-page.c
parentd103befa6dce296f571319c0b69700b1f06d4a83 (diff)
downloadgsoc2013-evolution-b9b5aa0a0e5bbe9b7ed4eb45e37109ecf90d38c4.tar
gsoc2013-evolution-b9b5aa0a0e5bbe9b7ed4eb45e37109ecf90d38c4.tar.gz
gsoc2013-evolution-b9b5aa0a0e5bbe9b7ed4eb45e37109ecf90d38c4.tar.bz2
gsoc2013-evolution-b9b5aa0a0e5bbe9b7ed4eb45e37109ecf90d38c4.tar.lz
gsoc2013-evolution-b9b5aa0a0e5bbe9b7ed4eb45e37109ecf90d38c4.tar.xz
gsoc2013-evolution-b9b5aa0a0e5bbe9b7ed4eb45e37109ecf90d38c4.tar.zst
gsoc2013-evolution-b9b5aa0a0e5bbe9b7ed4eb45e37109ecf90d38c4.zip
hide the timezone fields for all-day events. We will use DATE values for
2001-08-16 Damon Chaplin <damon@ximian.com> * gui/dialogs/event-page.c: hide the timezone fields for all-day events. We will use DATE values for these eventually, and these don't have timezones associated with them. Currently we just use the default timezone for all-day events, as a workaround until we have DATE values working. * gui/dialogs/comp-editor-util.c (comp_editor_new_date_edit): added make_time_insensitive flag. Though we may not use it. * gui/dialogs/event-page.glade: made the 'All day event' toggle right-aligned, so it doesn't move when the other widgets are shown and hidden. * gui/e-timezone-entry.c (e_timezone_entry_set_default_timezone): new function to set the default timezone of the widget. If the current timezone setting matches the default then the entry field is hidden. Most people won't use timezones so this makes the GUI simpler. * gui/dialogs/event-page.c (init_widgets): * gui/dialogs/task-page.c (init_widgets): set the default timezone using the above function. * gui/dialogs/task-page.c (task_page_fill_widgets): if the start date or due date is not set, we use the default timezone, so the user doesn't have to set this each time they set the date. svn path=/trunk/; revision=12137
Diffstat (limited to 'calendar/gui/dialogs/recurrence-page.c')
-rw-r--r--calendar/gui/dialogs/recurrence-page.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c
index 20310f6433..f06d8f76ec 100644
--- a/calendar/gui/dialogs/recurrence-page.c
+++ b/calendar/gui/dialogs/recurrence-page.c
@@ -1213,7 +1213,8 @@ make_ending_until_special (RecurrencePage *rpage)
/* Create the widget */
- priv->ending_date_edit = comp_editor_new_date_edit (TRUE, FALSE);
+ priv->ending_date_edit = comp_editor_new_date_edit (TRUE, FALSE,
+ FALSE);
de = E_DATE_EDIT (priv->ending_date_edit);
gtk_container_add (GTK_CONTAINER (priv->ending_special),
@@ -2237,3 +2238,13 @@ recurrence_page_new (void)
return rpage;
}
+
+
+GtkWidget *make_exdate_date_edit (void);
+
+GtkWidget *
+make_exdate_date_edit (void)
+{
+ return comp_editor_new_date_edit (TRUE, TRUE, FALSE);
+}
+