aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
Commit message (Collapse)AuthorAgeFilesLines
* make sure timezone value is sane (get_completed): dittoJP Rosevear2003-11-201-2/+2
| | | | | | | | | | | | | | 2003-11-19 JP Rosevear <jpr@ximian.com> * gui/e-cal-model-tasks.c (get_due): make sure timezone value is sane (get_completed): ditto * gui/e-cal-model.c (get_dtstart): add more guards * gui/e-cal-model-calendar.c (get_dtend): ditto svn path=/trunk/; revision=23442
* make sure the timezone value is saneJP Rosevear2003-11-191-5/+5
| | | | | | | | | | | 2003-11-18 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (get_dtstart): make sure the timezone value is sane * gui/e-cal-model-calendar.c (get_dtend): ditto svn path=/trunk/; revision=23435
* emit the added signal for the correct rowsJP Rosevear2003-11-171-8/+5
| | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (e_cal_view_objects_added_cb): emit the added signal for the correct rows svn path=/trunk/; revision=23375
* add it via e-tasks (remove_uri_for_source): remove it via e-tasksJP Rosevear2003-11-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * gui/tasks-component.c (add_uri_for_source): add it via e-tasks (remove_uri_for_source): remove it via e-tasks (get_default_task): provide a default for editing (impl_createControls): create the control directly (impl_requestCreateItem): implement * gui/gnome-cal.c (gnome_calendar_purge): don't let the two list iterators clobber each other * gui/e-tasks.h: add protos * gui/e-tasks.c (e_tasks_destroy): free the client list and the hash, disconnect signals (e_tasks_new_task): use the default client (e_tasks_add_todo_uri): add a uri (e_tasks_remove_todo_uri): remove a uri (e_tasks_set_default_uri): set default uri (e_tasks_get_default_client): get default client (e_tasks_delete_completed): expunge from all clients (e_tasks_setup_view_menus): use default client uri * gui/e-tasks.c (set_timezone): set the timezone for all clients (e_tasks_init): set up the clients has table * gui/e-calendar-table.etspec: yank some useless display columns * gui/e-cal-model.c (remove_client): remove objects in reverse order so we don't clobber ourselves * gui/calendar-component.c: add FIXME svn path=/trunk/; revision=23373
* use a standard calendar status (backend_cal_opened_online): dittoJP Rosevear2003-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | 2003-11-11 JP Rosevear <jpr@ximian.com> * gui/calendar-offline-handler.c (backend_cal_opened_offline): use a standard calendar status (backend_cal_opened_online): ditto * gui/alarm-notify/alarm-queue.c (cal_opened_cb): ditto * gui/gnome-cal.c (client_cal_opened_cb): ditto * gui/e-tasks.c (cal_opened_cb): ditto * gui/e-itip-control.c (default_server_started_cb): ditto * gui/e-cal-model.c (cal_opened_cb): ditto * gui/comp-editor-factory.c (cal_opened_cb): ditto svn path=/trunk/; revision=23286
* Remove get-vtype check from the completed-tasks query (and don't leak theDan Winship2003-11-111-36/+1
| | | | | | | | | | | | | * gui/e-tasks.c (e_tasks_delete_completed): Remove get-vtype check from the completed-tasks query (and don't leak the sexp string). * gui/e-cal-model.c (update_e_cal_view_for_client): Don't adjust the sexp to use get-vtype. * gui/gnome-cal.c (adjust_e_cal_view_sexp, gnome_calendar_purge): Remove get-vtype check from queries svn path=/trunk/; revision=23263
* 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