| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
svn path=/trunk/; revision=22143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch] (e_cal_view_delete_selected_occurrence):
new function.
(e_cal_view_get_timezone, e_cal_view_set_timezone): new functions.
(e_cal_view_class_init): added new class' signal.
* gui/e-week-view.[ch] (e_week_view_delete_occurrence,
e_week_view_delete_occurrence_internal): removed.
(e_week_view_get_timezone): removed.
(e_week_view_set_timezone): renamed to timezone_changed_cb, as
the callback for timezone changes in the parent ECalView.
(e_week_view_on_button_press): call gnome_calendar_new_appointment
instead of the non-existant e_week_view_new_appointment.
* gui/e-day-view.[ch] (e_day_view_delete_occurrence,
e_day_view_delete_occurrence_internal): removed.
(e_day_view_get_timezone): removed.
(e_day_view_set_timezone): renamed to timezone_changed_cb, as
the callback for timezone changes in the parent ECalView.
* gui/gnome-cal.c (gnome_calendar_delete_selected_occurrence):
made it call e_cal_view_delete_selected_occurrence.
(gnome_calendar_update_config_settings): call the generic
e_cal_view_set_timezone on all view widgets.
* gui/e-day-view-top-item.c:
* gui/e-week-view-main-item.c:
* gui/e-day-view-main-item.c: removed mentions to non-existant
structure fields.
svn path=/trunk/; revision=21948
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.h: define ECalViewEvent as the base struct for
the other views.
* gui/e-day-view.[ch]: EDayViewEvent is now based on ECalViewEvent.
(e_day_view_get_selected_events): made it return a list of
ECalViewEvent's, not CalComponent's, so that we can get more
information about the events.
* gui/e-week-view.[ch]: EWeekViewEvent is now based on ECalViewEvent.
(e_week_view_get_selected_events): same as e_day_view_get_selected_events.
* gui/e-cal-view.c (e_cal_view_cut_clipboard, e_cal_view_copy_clipboard,
e_cal_view_delete_selected_event, e_cal_view_delete_selected_events,
on_edit_appointment, on_save_as, on_print_event, on_meeting,
on_forward, e_cal_view_create_popup_menu):
* gui/calendar-commands.c (sensitize_calendar_commands): updated
to read ECalViewEvent's instead of CalComponent's as returned
by e_cal_view_get_selected_events().
svn path=/trunk/; revision=21946
|
|
|
|
|
|
|
|
| |
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.c (delete_event): check the uid before using it.
svn path=/trunk/; revision=21944
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.c (e_day_view_delete_event,
e_day_view_delete_event_internal):
* gui/e-week-view.c (e_week_view_delete_event,
e_week_view_delete_event_internal): removed.
* gui/e-cal-view.[ch] (e_cal_view_delete_selected_event): renamed
from e_cal_view_delete_event_internal.
(e_cal_view_delete_selected_events): new function.
* gui/gnome-cal.c (gnome_calendar_delete_selection): call
e_cal_view_delete_selected_events().
* gui/e-week-view-event-item.c (e_week_view_event_item_get_position,
e_week_view_event_item_button_press):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
adapted to changes in E*ViewPosition.
svn path=/trunk/; revision=21943
|
|
|
|
|
|
|
|
|
|
| |
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.c (on_print): added missing cases.
(setup_popup_icons): new function to set up icons for the popup menu.
(e_cal_view_create_popup_menu): call setup_popup_icons.
svn path=/trunk/; revision=21942
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch]: moved the duplicated popup menu code here.
(e_cal_view_create_popup_menu): new function to create the popup
menu for all views.
(on_new_appointment, on_new_event, on_new_meeting, on_new_task,
on_goto_today, on_goto_date, on_edit_appointment, on_print,
on_save_as, on_print_event, on_meeting, on_forward, on_publish,
on_settings, on_delete_appointment, on_cut, on_copy, on_paste,
on_unrecur_appointment): callbacks for the popup menu items.
* gui/e-week-view.c (e_week_view_on_new_appointment,
e_week_view_new_appointment, e_week_view_on_new_event,
e_week_view_on_new_meeting, e_week_view_on_new_task,
e_week_view_on_goto_today, e_week_view_on_goto_date,
e_week_view_on_edit_appointment, e_week_view_on_print,
e_week_view_on_save_as, e_week_view_on_print_event,
e_week_view_on_meeting, e_week_view_on_forward,
e_week_view_on_publish, e_week_view_on_settings,
e_week_view_on_delete_appointment,
e_week_view_delete_event_internal, e_week_view_on_cut,
e_week_view_on_copy, e_week_view_on_paste):
* gui/e-day-view.c (e_day_view_on_new_appointment,
e_day_view_on_new_event, e_day_view_on_new_meeting,
e_day_view_on_new_task, e_day_view_on_goto_today,
e_day_view_on_goto_date, e_day_view_on_edit_appointment,
e_day_view_on_print, e_day_view_on_save_as,
e_day_view_on_print_event, e_day_view_on_meeting,
e_day_view_on_forward, e_day_view_on_publish,
e_day_view_on_settings, e_day_view_on_delete_appointment,
e_day_view_delete_event_internal, e_day_view_on_cut,
e_day_view_on_copy, e_day_view_on_paste): removed duplicated code.
* gui/gnome-cal.[ch] (gnome_calendar_unrecur_selection): new function.
svn path=/trunk/; revision=21908
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.h:
* gui/e-week-view.h: removed unneeded prototypes.
* gui/e-cal-view.[ch] (e_cal_view_get_visible_time_range): new
function.
(selection_received): deal correctly with the selected time range.
* gui/e-week-view.c (e_week_view_get_visible_time_range): made it
private as the implementation of the 'get_visible_time_range'
virtual method.
* gui/e-day-view.c (e_day_view_get_visible_time_range): ditto.
* gui/gnome-cal.c (gnome_calendar_direction): merged redundant 'case'.
(focus_current_view): removed redundant code.
svn path=/trunk/; revision=21897
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch]: added "get_selected_events",
and "update_query" virtual methods.
(e_cal_view_class_init): initialize new virtual methods.
(e_cal_view_destroy): destroy new private members.
(e_cal_view_get_selected_events, e_cal_view_set_cal_client,
e_cal_view_get_cal_client): new functions.
(e_cal_view_cut_clipboard, e_cal_view_copy_clipboard,
e_cal_view_paste_clipboard): merged clipboard stuff.
* gui/e-day-view.c (e_day_view_cut_clipboard,
e_day_view_copy_clipboard, e_day_view_paste_clipboard): removed.
(e_day_view_get_selected_events): made these private as the
implementation of the 'get_selected_events' base class virtual method.
* gui/e-week-view.c (e_week_view_get_selected_events): ditto.
(e_week_view_cut_clipboard, e_week_view_copy_clipboard,
e_week_view_paste_clipboard): removed.
* gui/calendar-commands.c (sensitize_calendar_commands): call
e_cal_view_get_selected_events.
* gui/gnome-cal.c: removed a lot of redundant code thanks to the
above changes.
svn path=/trunk/; revision=21893
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-21 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.[ch]: removed e_day_view_set_calendar prototype.
(e_day_view_set_status_message): removed.
* gui/e-week-view.[ch] (e_week_view_set_status_message): removed.
* gui/e-cal-view.[ch] (e_cal_view_set_status_message): new functions.
(e_cal_view_destroy): unref activity client.
* gui/gnome-cal.c: updated to e_*_view/e_cal_view.
svn path=/trunk/; revision=21890
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.[ch]:
* gui/e-week-view.[ch]: moved duplicated code to...
* gui/e-cal-view.[ch]: ...here.
(e_cal_view_get_calendar, e_cal_view_set_calendar): new functions.
* gui/e-week-view-event-item.c (e_week_event_item_double_click):
* gui/gnome-cal.c (setup_widgets): adapted to changes in views.
svn path=/trunk/; revision=21865
|
|
2003-07-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch]: new base class for calendar views.
* gui/e-day-view.[ch]:
* gui/e-week-view.[ch]: base these classes on ECalView.
* gui/Makefile.am: added new files.
svn path=/trunk/; revision=21854
|