aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-19 03:03:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-19 03:03:42 +0800
commitdbd93b798184e94e492280bc81644477f8947168 (patch)
tree96ed24f6247c2b030f068407488df937b9923c4e /calendar
parent0f9dd881a385db5e28a2c4d0eb93e015fcd34cb7 (diff)
downloadgsoc2013-evolution-dbd93b798184e94e492280bc81644477f8947168.tar
gsoc2013-evolution-dbd93b798184e94e492280bc81644477f8947168.tar.gz
gsoc2013-evolution-dbd93b798184e94e492280bc81644477f8947168.tar.bz2
gsoc2013-evolution-dbd93b798184e94e492280bc81644477f8947168.tar.lz
gsoc2013-evolution-dbd93b798184e94e492280bc81644477f8947168.tar.xz
gsoc2013-evolution-dbd93b798184e94e492280bc81644477f8947168.tar.zst
gsoc2013-evolution-dbd93b798184e94e492280bc81644477f8947168.zip
Re-enable more calendar bits.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-day-view.c4
-rw-r--r--calendar/gui/e-week-view.c7
2 files changed, 0 insertions, 11 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index cda3d1f92c..17cd345b63 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -5903,7 +5903,6 @@ e_day_view_cursor_key_down (EDayView *day_view, GdkEventKey *event)
static void
e_day_view_cursor_key_left (EDayView *day_view, GdkEventKey *event)
{
-#if 0 /* KILL-BONOBO */
if (day_view->selection_start_day == 0) {
gnome_calendar_previous (e_calendar_view_get_calendar (E_CALENDAR_VIEW (day_view)));
} else {
@@ -5917,13 +5916,11 @@ e_day_view_cursor_key_left (EDayView *day_view, GdkEventKey *event)
gtk_widget_queue_draw (day_view->main_canvas);
}
g_signal_emit_by_name (day_view, "selected_time_changed");
-#endif
}
static void
e_day_view_cursor_key_right (EDayView *day_view, GdkEventKey *event)
{
-#if 0 /* KILL-BONOBO */
if (day_view->selection_end_day == day_view->days_shown - 1) {
gnome_calendar_next (e_calendar_view_get_calendar (E_CALENDAR_VIEW (day_view)));
} else {
@@ -5937,7 +5934,6 @@ e_day_view_cursor_key_right (EDayView *day_view, GdkEventKey *event)
gtk_widget_queue_draw (day_view->main_canvas);
}
g_signal_emit_by_name (day_view, "selected_time_changed");
-#endif
}
/* Scrolls the main canvas up or down. The pages_to_scroll argument
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 8cf36bc791..663f1bf223 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -4037,8 +4037,6 @@ e_week_view_cursor_key_right (EWeekView *week_view)
static gboolean
e_week_view_add_new_event_in_selected_range (EWeekView *week_view, const gchar *initial_text)
{
-#if 0 /* KILL-BONOBO */
- EWeekView *week_view;
ECal *ecal;
ECalModel *model;
ECalComponent *comp;
@@ -4225,7 +4223,6 @@ e_week_view_do_key_press (GtkWidget *widget, GdkEventKey *event)
g_free (initial_text);
return ret_val;
-#endif
}
static gint
@@ -4261,7 +4258,6 @@ e_week_view_get_adjust_days_for_move_right (EWeekView *week_view,gint current_da
static gboolean
e_week_view_key_press (GtkWidget *widget, GdkEventKey *event)
{
-#if 0 /* KILL-BONOBO */
gboolean handled = FALSE;
handled = e_week_view_do_key_press (widget, event);
@@ -4269,7 +4265,6 @@ e_week_view_key_press (GtkWidget *widget, GdkEventKey *event)
if (!handled)
handled = GTK_WIDGET_CLASS (e_week_view_parent_class)->key_press_event (widget, event);
return handled;
-#endif
}
void
@@ -4294,7 +4289,6 @@ e_week_view_popup_menu (GtkWidget *widget)
void
e_week_view_jump_to_button_item (EWeekView *week_view, GnomeCanvasItem *item)
{
-#if 0 /* KILL-BONOBO */
gint day;
GnomeCalendar *calendar;
@@ -4310,7 +4304,6 @@ e_week_view_jump_to_button_item (EWeekView *week_view, GnomeCanvasItem *item)
return;
}
}
-#endif
}
static gboolean