aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
Commit message (Collapse)AuthorAgeFilesLines
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-57/+57
| | | | svn path=/trunk/; revision=23206
* fixed typo in menu item label.Rodrigo Moya2003-10-291-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-29 Rodrigo Moya <rodrigo@ximian.com> * 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
* changed fill_component_from_model virtual method to get an ETableModel,Rodrigo Moya2003-10-271-3/+2
| | | | | | | | | | | | | | | | | 2003-10-27 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-model.h: changed fill_component_from_model virtual method to get an ETableModel, not an ECalModel. * gui/e-cal-model.c (ecm_append_row): the source model sent from ETable is an ETableModel, not an ECalModel. * gui/e-cal-model-calendar.c (ecmc_fill_component_from_model): get an ETableModel for the 'source_model' argument. * gui/e-cal-model-tasks.c (ecmt_fill_component_from_model): ditto. svn path=/trunk/; revision=23082
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-115/+167
| | | | svn path=/trunk/; revision=22965
* Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): AddHans Petter Jansson2003-10-101-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-10 Hans Petter Jansson <hpj@ximian.com> * calendar/gui/Makefile.am (etspec_DATA): Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): Add e-cal-list-view.[ch]. * calendar/gui/calendar-commands.c (show_list_view_clicked): Implement. (calendar_get_text_for_folder_bar_label): Add case for list view. Use month case and tweak it so it doesn't show "%d - %d" if the time span contains only one day. (verbs): Add list view. (pixmaps): Add list view. * calendar/gui/calendar-view-factory.c (calendar_view_factory_get_title): Add list view case. (calendar_view_factory_get_type_code): Add list view case. * calendar/gui/control-factory.c (get_prop): Add list view case. * calendar/gui/e-cal-model.c (get_classification): Fix to conform to updated libical. (ecm_set_value_at): Add missing break statements. (ecm_get_color_for_component): Add braces for clarity. * calendar/gui/gnome-cal.c (gnome_calendar_get_current_view_widget): Add list view case. (get_focus_location): Add list view case. (connect_list_view_focus): Implement. (setup_widgets): Set up list view. (gnome_calendar_direction): Add list view case. (set_view): Add list view case. (gnome_calendar_setup_view_menus): Add list view factory. (gnome_calendar_construct): Account for list view. (gnome_calendar_update_config_settings): Account for list view. (get_days_shown): Implement list view case. * calendar/gui/gnome-cal.h (GnomeCalendarViewType): Add list view. * calendar/gui/e-cal-list-view.[ch]: Implement ECalListView, subclassing ECalView. * ui/evolution-calendar.xml: Add calendar list view task button. * art/listview.xpm: Add calendar list view icon. svn path=/trunk/; revision=22850
* Import new libical from mainline HEAD and make appropriate changes toHans Petter2003-09-121-3/+14
| | | | | | Evolution. svn path=/trunk/; revision=22538
* Merged from calendar-views-with-model branchRodrigo Moya2003-08-201-28/+96
| | | | svn path=/trunk/; revision=22308
* Merged missing bits from branchRodrigo Moya2003-08-091-35/+204
| | | | svn path=/trunk/; revision=22152
* Merge new-calendar-branch into HEADRodrigo Moya2003-08-081-0/+1303
svn path=/trunk/; revision=22129