From 104ef59a6ae16a83f0ba16cedae32c6322b3fdc3 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Wed, 29 Oct 2003 13:27:24 +0000 Subject: fixed typo in menu item label. 2003-10-29 Rodrigo Moya * gui/calendar-component.c (fill_popup_menu_callback): fixed typo in menu item label. * gui/e-cal-model.[ch] (e_cal_model_get_use_24_hour_format): new function. * gui/e-cal-view.[ch]: no need to keep the 'use_24_hour' setting, it's already in the model. (e_cal_view_get_use_24_hour_format, e_cal_view_set_use_24_hour_format): new functions. * gui/e-day-view.[ch] (e_day_view_get_24_hour_format, (e_day_view_set_24_hour_format): removed. (e_day_view_convert_time_to_display, e_day_view_update_event_label, e_day_view_get_time_string_width): use the ECalView's function to get the 24 hour format. * gui/e-week-view.[ch] (e_week_view_get_24_hour_format, e_week_view_set_24_hour_format): removed. (e_week_view_convert_time_to_display, e_week_view_get_time_string_width): use the ECalView's function to get the 24 hour format. * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-time-item.c (e_day_view_time_item_draw): * gui/e-week-view-event-item.c (e_week_view_draw_time): don't use the view's use_24_hour_format, but the ECalView method. svn path=/trunk/; revision=23113 --- calendar/gui/e-week-view.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'calendar/gui/e-week-view.h') diff --git a/calendar/gui/e-week-view.h b/calendar/gui/e-week-view.h index 0296c19c42..f36760d76a 100644 --- a/calendar/gui/e-week-view.h +++ b/calendar/gui/e-week-view.h @@ -218,9 +218,6 @@ struct _EWeekView /* The first day of the week, 0 (Monday) to 6 (Sunday). */ gint week_start_day; - /* Whether we use 12-hour of 24-hour format. */ - gboolean use_24_hour_format; - /* The first day of the week we display, 0 (Monday) to 6 (Sunday). This will usually be week_start_day, but if the weekend is compressed, and week_start_day is Sunday we have to use Saturday. */ @@ -383,11 +380,6 @@ gint e_week_view_get_week_start_day (EWeekView *week_view); void e_week_view_set_week_start_day (EWeekView *week_view, gint week_start_day); -/* Whether we use 12-hour or 24-hour format. */ -gboolean e_week_view_get_24_hour_format (EWeekView *week_view); -void e_week_view_set_24_hour_format (EWeekView *week_view, - gboolean use_24_hour); - void e_week_view_delete_occurrence (EWeekView *week_view); /* Returns the number of selected events (0 or 1 at present). */ -- cgit