aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-07-01 04:56:19 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-07-01 04:56:19 +0800
commit4eb33d8180409c244b3f774d15556da2c3c519db (patch)
treef5b6ddbeca5a32f0a39d4b9995eb22a00c08dfa1
parenteffc7ac8c082ae542619603a43c6935ba6f3faaa (diff)
downloadgsoc2013-evolution-4eb33d8180409c244b3f774d15556da2c3c519db.tar
gsoc2013-evolution-4eb33d8180409c244b3f774d15556da2c3c519db.tar.gz
gsoc2013-evolution-4eb33d8180409c244b3f774d15556da2c3c519db.tar.bz2
gsoc2013-evolution-4eb33d8180409c244b3f774d15556da2c3c519db.tar.lz
gsoc2013-evolution-4eb33d8180409c244b3f774d15556da2c3c519db.tar.xz
gsoc2013-evolution-4eb33d8180409c244b3f774d15556da2c3c519db.tar.zst
gsoc2013-evolution-4eb33d8180409c244b3f774d15556da2c3c519db.zip
Doh, the call for the day view was supposed to be
2001-06-30 Federico Mena Quintero <federico@ximian.com> * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): Doh, the call for the day view was supposed to be gnome_calendar_set_view(), not set_view(). Fixes bug #3779. svn path=/trunk/; revision=10636
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/gnome-cal.c22
-rw-r--r--calendar/gui/gnome-cal.h2
3 files changed, 21 insertions, 10 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 7e3198345f..c07d45c647 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2001-06-30 Federico Mena Quintero <federico@ximian.com>
+
+ * gui/gnome-cal.c
+ (gnome_calendar_on_date_navigator_selection_changed): Doh, the
+ call for the day view was supposed to be
+ gnome_calendar_set_view(), not set_view(). Fixes bug #3779.
+
2001-06-30 Rodrigo Moya <rodrigo@ximian.com>
* gui/tasks-control.c (tasks_control_cut_cmd): call
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 43e85804d1..9c99efaec9 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1776,7 +1776,7 @@ gnome_calendar_on_date_navigator_selection_changed (ECalendarItem *calitem,
priv->selection_end_time = mktime (&tm);
e_day_view_set_days_shown (E_DAY_VIEW (priv->day_view), new_days_shown);
- set_view (gcal, GNOME_CAL_DAY_VIEW, TRUE, FALSE);
+ gnome_calendar_set_view (gcal, GNOME_CAL_DAY_VIEW, TRUE, FALSE);
}
gnome_calendar_update_view_buttons (gcal);
@@ -1970,17 +1970,19 @@ gnome_calendar_cut_clipboard (GnomeCalendar *gcal)
switch (priv->current_view_type) {
case GNOME_CAL_DAY_VIEW :
- e_day_view_cut_clipboard (priv->day_view);
+ e_day_view_cut_clipboard (E_DAY_VIEW (priv->day_view));
break;
case GNOME_CAL_WORK_WEEK_VIEW :
- e_day_view_cut_clipboard (priv->work_week_view);
+ e_day_view_cut_clipboard (E_DAY_VIEW (priv->work_week_view));
break;
case GNOME_CAL_WEEK_VIEW :
- e_week_view_cut_clipboard (priv->week_view);
+ e_week_view_cut_clipboard (E_WEEK_VIEW (priv->week_view));
break;
case GNOME_CAL_MONTH_VIEW :
- e_week_view_cut_clipboard (priv->month_view);
+ e_week_view_cut_clipboard (E_WEEK_VIEW (priv->month_view));
break;
+ default:
+ g_assert_not_reached ();
}
}
@@ -1993,17 +1995,19 @@ gnome_calendar_copy_clipboard (GnomeCalendar *gcal)
switch (priv->current_view_type) {
case GNOME_CAL_DAY_VIEW :
- e_day_view_copy_clipboard (priv->day_view);
+ e_day_view_copy_clipboard (E_DAY_VIEW (priv->day_view));
break;
case GNOME_CAL_WORK_WEEK_VIEW :
- e_day_view_copy_clipboard (priv->work_week_view);
+ e_day_view_copy_clipboard (E_DAY_VIEW (priv->work_week_view));
break;
case GNOME_CAL_WEEK_VIEW :
- e_week_view_copy_clipboard (priv->week_view);
+ e_week_view_copy_clipboard (E_WEEK_VIEW (priv->week_view));
break;
case GNOME_CAL_MONTH_VIEW :
- e_week_view_copy_clipboard (priv->month_view);
+ e_week_view_copy_clipboard (E_WEEK_VIEW (priv->month_view));
break;
+ default:
+ g_assert_not_reached ();
}
}
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h
index d7721acec4..950d650d1a 100644
--- a/calendar/gui/gnome-cal.h
+++ b/calendar/gui/gnome-cal.h
@@ -135,7 +135,7 @@ void gnome_calendar_set_view_buttons (GnomeCalendar *gcal,
void gnome_calendar_update_view_buttons (GnomeCalendar *gcal);
/* Clipboard operations */
-void gnome_calendar_cut_clibpoard (GnomeCalendar *gcal);
+void gnome_calendar_cut_clipboard (GnomeCalendar *gcal);
void gnome_calendar_copy_clipboard (GnomeCalendar *gcal);
void gnome_calendar_paste_clipboard (GnomeCalendar *gcal);