aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/alarm-page.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-05-24 05:17:41 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-05-24 05:17:41 +0800
commit30dce44f3897757c3a1cb2ecfe215a6c628e9024 (patch)
tree72d7b8fd58dddb121317449651c61b61e44feb47 /calendar/gui/dialogs/alarm-page.c
parent76f220863e83aa27c4f2d9efe214f697885072e0 (diff)
downloadgsoc2013-evolution-30dce44f3897757c3a1cb2ecfe215a6c628e9024.tar.gz
gsoc2013-evolution-30dce44f3897757c3a1cb2ecfe215a6c628e9024.tar.zst
gsoc2013-evolution-30dce44f3897757c3a1cb2ecfe215a6c628e9024.zip
Finished porting from the old event-editor.c. Made it store a clone of the
2001-05-23 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/recurrence-page.c: Finished porting from the old event-editor.c. Made it store a clone of the component for when we need to expand the recurrence set. 2001-05-22 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/event-page.c (event_page_get_dates): New function. * gui/dialogs/editor-page.c (editor_page_set_dates): Renamed from editor_page_set_dtstart(); now sets both DTSTART and DTEND. * gui/dialogs/alarm-page.c (alarm_page_set_dates): Ahem, it is a svn path=/trunk/; revision=9953
Diffstat (limited to 'calendar/gui/dialogs/alarm-page.c')
-rw-r--r--calendar/gui/dialogs/alarm-page.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c
index a4e0054c6b..85141e9c47 100644
--- a/calendar/gui/dialogs/alarm-page.c
+++ b/calendar/gui/dialogs/alarm-page.c
@@ -71,7 +71,7 @@ static void alarm_page_fill_widgets (EditorPage *page, CalComponent *comp);
static void alarm_page_fill_component (EditorPage *page, CalComponent *comp);
static void alarm_page_set_summary (EditorPage *page, const char *summary);
static char *alarm_page_get_summary (EditorPage *page);
-static void alarm_page_set_dtstart (EditorPage *page, time_t start);
+static void alarm_page_set_dates (EditorPage *page, time_t start, time_t end);
static EditorPageClass *parent_class = NULL;
@@ -125,7 +125,7 @@ alarm_page_class_init (AlarmPageClass *class)
editor_page_class->fill_component = alarm_page_fill_component;
editor_page_class->set_summary = alarm_page_set_summary;
editor_page_class->get_summary = alarm_page_get_summary;
- editor_page_class->set_dtstart = alarm_page_set_dtstart;
+ editor_page_class->set_dates = alarm_page_set_dates;
object_class->destroy = alarm_page_destroy;
}
@@ -488,9 +488,9 @@ alarm_page_get_summary (EditorPage *page)
return e_utf8_gtk_entry_get_text (GTK_ENTRY (priv->summary));
}
-/* set_dtstart handler for the alarm page */
+/* set_dates handler for the alarm page */
static void
-alarm_page_set_dtstart (EditorPage *page, time_t start)
+alarm_page_set_dates (EditorPage *page, time_t start, time_t end)
{
AlarmPage *apage;
AlarmPagePrivate *priv;
@@ -503,7 +503,7 @@ alarm_page_set_dtstart (EditorPage *page, time_t start)
tm = *localtime (&start);
strftime (str, sizeof (str), _("%A %b %d %Y %H:%M:%S"), &tm);
- gtk_entry_set_text (GTK_ENTRY (priv->starting_date), str);
+ gtk_label_set_text (GTK_LABEL (priv->starting_date), str);
}