| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-29 Kidd Wang <kidd.wang@sun.com>
* gui/calendar-commands.c (file_open_event_cb): add a menu item
for "open appointment".
* gui/e-cal-view.[ch] (e_calendar_view_open_event): add a signal
"open_event" and bind it to "ctrl+o". When the signal is delivered,
a dialog will be opened to edit the selected event.
* gui/e-calendar-table.c (e_calendar_table_on_key_press): press "ctrl-o"
to open a dialog.
svn path=/trunk/; revision=24012
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
Fixes part of #41237
* gui/e-calendar-table.c: use GtkClipboard instead of GtkInvisible
for cut/copy/paste.
(selection_clear_event, selection_received, selection_get): removed
unneeded functions.
(e_calendar_table_init): don't create the invisible widget.
(e_calendar_table_copy_clipboard): use gtk_clipboard_set_text().
(e_calendar_table_paste_clipboard): use gtk_clipboard_request_text().
(clipboard_get_text_cb): callback for gtk_clipboard_request_text().
* gui/e-cal-view.c (e_calendar_view_init, e_calendar_view_destroy,
e_calendar_view_copy_clipboard): no need anymore to keep the last
clipboard selection, GtkClipboard does it for us.
svn path=/trunk/; revision=23952
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/tasks-control.c (tasks_control_activate): Do not call
control_util_set_folder_bar_label().
* gui/e-calendar-table.c (e_calendar_table_set_status_message):
Use e_activity_handler_operation_progressing(), not
evolution_activity_client_update().
* gui/e-cal-view.c: Remove settings menu.
(on_settings): Remove.
* gui/calendar-commands.c (get_shell_view_interface): Remove.
(control_util_set_folder_bar_label): Remove.
(calendar_set_folder_bar_label): Remove.
(control_util_show_settings): Remove.
(gcal_calendar_dates_change_cb): Remove.
(calendar_control_activate): Do not connect, do not call
calendar_set_folder_bar_label().
svn path=/trunk/; revision=23614
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/e-calendar-table.h (struct _ECalendarTable): Replace member
"activity" with an "activity_id".
* gui/e-cal-view.c (struct _ECalendarViewPrivate): Replace member
"activity" with "activity_id".
(e_calendar_view_destroy): Don't unref activity here anymore.
(e_calendar_view_set_status_message): Report progress using the
EActivityHandler off the CalendarComponent.
* gui/calendar-component.c
(struct _CalendarComponentPrivate): New member activity_handler.
(calendar_component_init): Init.
(calendar_component_peek_activity_handler): New.
(impl_dispose): Unref.
(impl_createControls): Return an ETaskBar for the statusbar
control.
svn path=/trunk/; revision=23565
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-19 Rodrigo Moya <rodrigo@ximian.com>
Fixes #43556
* gui/e-cal-view.c (selection_get, selection_clear_event,
selection_received): removed this unneeded functions.
(e_calendar_view_init): don't create a GtkInvisible anymore.
(e_calendar_view_destroy): no need to destroy the GtkInvisible.
(e_cal_view_copy_clipboard, e_cal_view_paste_clipboard):
use GtkClipboard.
svn path=/trunk/; revision=23443
|
|
|
|
| |
svn path=/trunk/; revision=23206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-04 Bolian Yin <bolian.yin@sun.com>
* gui/e-cal-view.c: add new signal "selected_time_changed"
* gui/e-day-view-main-item.c (e_day_view_main_item_class_init):
a11y initialization
* gui/e-day-view-top-item (e_day_view_top_item_get_day_label):
new public function.
* gui/e-day-view.c (e_day_view_ensure_rows_visible, e_day_view_update_calendar_selection_time): make static functions public
(e_day_view_cursor_key_up, e_day_view_cursor_key_down, e_day_view_cursor_key_left, e_day_view_cursor_key_right): emit "selected_time_changed".
svn path=/trunk/; revision=23179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-28 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.c: no need to keep the timezone here, it is
already stored in the model.
(e_cal_view_get_timezone): call e_cal_model_get_timezone().
(e_cal_view_set_timezone): call e_cal_model_set_timezone().
(e_cal_view_new_appointment_for): use the model's timezone.
svn path=/trunk/; revision=23103
|
|
|
|
|
|
|
|
| |
2003-10-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.c: accept also text/calendar for D&D.
svn path=/trunk/; revision=23046
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-23 Harry Lu <harry.lu@sun.com>
* cal-client/cal-client.c: (cal_client_get_timezone): remove and free
op before return.
* gui/e-cal-view.c (e_cal_view_add_event): modified from
selection_received_add_event() so that it call be called out of
e-cal-view.c.
(selection_received): modified to call e_cal_view_add_event().
* gui/e-cal-view.h: add declaration for e_cal_view_add_event().
* gui/e-day-view.c (e_day_view_on_drag_data_get): Provide a
icalcomponent for both TARGET_CALENDAR_EVENT and TARGET_VCALENDAR.
(e_day_view_on_top_canvas_drag_data_received): If dragging between
different windows, make it works like a copy and paste.
(e_day_view_on_main_canvas_drag_data_received): ditto.
svn path=/trunk/; revision=23041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.c (e_cal_view_init): connect also to ETableModel's
"model_cell_changed" signal.
(e_cal_view_set_model): likewise.
(model_cell_changed_cb): callback for "model_cell_changed".
(e_cal_view_destroy): use g_signal_handlers_disconnect_matched instead
of g_signal_handlers_disconnect_by_func, so that all handlers are
disconnected.
svn path=/trunk/; revision=23029
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
|
|
|
|
|
| |
2003-08-20 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.c (setup_popup_icons): set more icons for the
popup menu.
svn path=/trunk/; revision=22310
|
|
|
|
| |
svn path=/trunk/; revision=22308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-20 Bolian Yin <bolian.yin@sun.com>
* gui/Makefile.am : Add a11y dependency.
* gui/calendar-commands.c (calendar_get_text_for_folder_bar_label)
* gui/e-cal-view.c: Add two new events: "event_changed" and "event_added"
* gui/e-day-view.c (e_day_view_class_init): init a11y.
(e_day_view_find_event_from_item): make it public from private
(e_day_view_update_event_cb): emit "event_changed" signal
(e_day_view_reshape_day_event): emit "event_added" signal
(e_day_view_reshape_long_event): emit "event_added" signal
* gui/e-week-view.c (e_week_view_class_init): init a11y.
(e_week_view_find_event_from_item): make it public from private
(e_week_view_update_event_cb): emit "event_changed" signal
(e_week_view_reshape_event_span): emit "event_added" signal
* gui/gnome-cal.c (gnome_calendar_class_init): init a11y.
(gnome_calendar_get_e_calendar_widget),
(gnome_calendar_get_search_bar_widget),
(gnome_calendar_get_view_notebook_widget): new functions
svn path=/trunk/; revision=22303
|
|
|
|
| |
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
|