aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/eventedit.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-05-16 09:06:02 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-05-16 09:06:02 +0800
commitcc2d908a389a1fa383eadda8acee628656d244cf (patch)
treeb512b191984664a05a97021e499065f6ab2fb980 /calendar/eventedit.c
parent418f8bfcb52e54cdf88ef9b10c2cd185cd116fe8 (diff)
downloadgsoc2013-evolution-cc2d908a389a1fa383eadda8acee628656d244cf.tar
gsoc2013-evolution-cc2d908a389a1fa383eadda8acee628656d244cf.tar.gz
gsoc2013-evolution-cc2d908a389a1fa383eadda8acee628656d244cf.tar.bz2
gsoc2013-evolution-cc2d908a389a1fa383eadda8acee628656d244cf.tar.lz
gsoc2013-evolution-cc2d908a389a1fa383eadda8acee628656d244cf.tar.xz
gsoc2013-evolution-cc2d908a389a1fa383eadda8acee628656d244cf.tar.zst
gsoc2013-evolution-cc2d908a389a1fa383eadda8acee628656d244cf.zip
Various bug fixes that were reported:
Various bug fixes that were reported: 1. Correct event span computation for some cases. 2. Correct drawing of events that span more than one day 3. EventEditor supports 12/24 hour formats. mguel. svn path=/trunk/; revision=216
Diffstat (limited to 'calendar/eventedit.c')
-rw-r--r--calendar/eventedit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/eventedit.c b/calendar/eventedit.c
index b843ad049c..5f728793ba 100644
--- a/calendar/eventedit.c
+++ b/calendar/eventedit.c
@@ -228,7 +228,7 @@ event_editor_setup_time_frame (EventEditor *ee)
ee->ical->dtstart = time (NULL);
ee->ical->dtend = time_add_minutes (ee->ical->dtstart, 30);
}
- ee->start_time = start_time = gnome_date_edit_new (ee->ical->dtstart, TRUE);
+ ee->start_time = start_time = gnome_date_edit_new (ee->ical->dtstart, TRUE, !am_pm_flag);
gnome_date_edit_set_popup_range ((GnomeDateEdit *) start_time, day_begin, day_end);
gtk_signal_connect (GTK_OBJECT (start_time), "date_changed",
GTK_SIGNAL_FUNC (check_dates), ee);
@@ -244,7 +244,7 @@ event_editor_setup_time_frame (EventEditor *ee)
0, 0);
/* 2. End time */
- ee->end_time = end_time = gnome_date_edit_new (ee->ical->dtend, TRUE);
+ ee->end_time = end_time = gnome_date_edit_new (ee->ical->dtend, TRUE, !am_pm_flag);
gnome_date_edit_set_popup_range ((GnomeDateEdit *) end_time, day_begin, day_end);
gtk_signal_connect (GTK_OBJECT (end_time), "date_changed",
GTK_SIGNAL_FUNC (check_dates), ee);
@@ -1201,7 +1201,7 @@ ee_rp_init_ending_date (EventEditor *ee)
else
enddate = ee->ical->dtend;
- ee->recur_ed_end_on = widget = gnome_date_edit_new (enddate, FALSE);
+ ee->recur_ed_end_on = widget = gnome_date_edit_new (enddate, FALSE, !am_pm_flag);
gtk_box_pack_start (GTK_BOX (ihbox), widget, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (radio1), "toggled",
@@ -1356,7 +1356,7 @@ ee_rp_init_exceptions (EventEditor *ee)
vbox = gtk_vbox_new (FALSE, 4);
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
- ee->recur_ex_date = widget = gnome_date_edit_new (time (NULL), FALSE);
+ ee->recur_ex_date = widget = gnome_date_edit_new (time (NULL), FALSE, !am_pm_flag);
gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE, FALSE, 0);
widget = gtk_button_new_with_label (_("Add exception"));