aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.h
diff options
context:
space:
mode:
authorAndrew Wu <Yang.Wu@sun.com>2004-01-09 15:48:31 +0800
committerHarry Lu <haip@src.gnome.org>2004-01-09 15:48:31 +0800
commit8f04fc1559807f287f20f6a10604dc16addfca5f (patch)
tree969aede90fbc199b1f17730c68e82db882c52e26 /calendar/gui/e-calendar-view.h
parent88ab6df1309919eaca6ce10106bae4cdb8b37525 (diff)
downloadgsoc2013-evolution-8f04fc1559807f287f20f6a10604dc16addfca5f.tar
gsoc2013-evolution-8f04fc1559807f287f20f6a10604dc16addfca5f.tar.gz
gsoc2013-evolution-8f04fc1559807f287f20f6a10604dc16addfca5f.tar.bz2
gsoc2013-evolution-8f04fc1559807f287f20f6a10604dc16addfca5f.tar.lz
gsoc2013-evolution-8f04fc1559807f287f20f6a10604dc16addfca5f.tar.xz
gsoc2013-evolution-8f04fc1559807f287f20f6a10604dc16addfca5f.tar.zst
gsoc2013-evolution-8f04fc1559807f287f20f6a10604dc16addfca5f.zip
add a new signal "event_move" and its key binding.
2004-01-09 Andrew Wu <Yang.Wu@sun.com> * gui/e-cal-view.c (e_calendar_view_class_init): add a new signal "event_move" and its key binding. * gui/e-cal-view.h: add a new type "ECalViewMoveDirection". add a new virtual method "event_move" for ECalView. * gui/e-day-view.c (e_day_view_event_move), (e_day_view_change_event_time): Use "Alt + Arrow" to move a selected event through time lines or different days. * gui/e-day-view.h: add a new property "last_edited_comp_string" for EWeekView. * gui/e-week-view.c (e_week_view_class_init), (e_week_view_init), (e_week_view_reshape_events), (e_week_view_event_move), (e_week_view_get_day_offset_of_event), (e_week_view_scroll_a_step), (e_week_view_change_event_time), (e_week_view_do_key_press), (e_week_view_move_selection_day), (e_week_view_get_adjust_days_for_move_up), (e_week_view_get_adjust_days_for_move_down), (e_week_view_get_adjust_days_for_move_left), (e_week_view_get_adjust_days_for_move_right): Use "Alt + Arrow" to move a selected event through different days. * gui/e-week-view.h: add a new property "last_edited_comp_string" for EWeekView. svn path=/trunk/; revision=24128
Diffstat (limited to 'calendar/gui/e-calendar-view.h')
-rw-r--r--calendar/gui/e-calendar-view.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/calendar/gui/e-calendar-view.h b/calendar/gui/e-calendar-view.h
index c224098554..ebd830c9a0 100644
--- a/calendar/gui/e-calendar-view.h
+++ b/calendar/gui/e-calendar-view.h
@@ -25,6 +25,7 @@
#include <libecal/e-cal.h>
#include <gtk/gtktable.h>
+#include <gtk/gtkwindow.h>
#include "e-cal-model.h"
#include "gnome-cal.h"
@@ -48,6 +49,13 @@ typedef enum {
E_CALENDAR_VIEW_POS_BOTTOM_EDGE
} ECalendarViewPosition;
+typedef enum {
+ E_CAL_VIEW_MOVE_UP,
+ E_CAL_VIEW_MOVE_DOWN,
+ E_CAL_VIEW_MOVE_LEFT,
+ E_CAL_VIEW_MOVE_RIGHT
+} ECalViewMoveDirection;
+
#define E_CALENDAR_VIEW_EVENT_FIELDS \
GnomeCanvasItem *canvas_item; \
ECalModelComponent *comp_data; \
@@ -88,6 +96,7 @@ struct _ECalendarViewClass {
gboolean (* get_visible_time_range) (ECalendarView *cal_view, time_t *start_time, time_t *end_time);
void (* update_query) (ECalendarView *cal_view);
void (* open_event) (ECalendarView *cal_view);
+ void (* event_move) (ECalendarView *cal_view, ECalViewMoveDirection direction);
};
GType e_calendar_view_get_type (void);
@@ -133,6 +142,11 @@ void e_calendar_view_edit_appointment (ECalendarView *cal_view,
icalcomponent *icalcomp,
gboolean meeting);
void e_calendar_view_open_event (ECalendarView *cal_view);
+void e_calendar_view_modify_and_send (ECalComponent *comp,
+ ECal *client,
+ CalObjModType mod,
+ GtkWindow *toplevel,
+ gboolean new);
G_END_DECLS