aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/goto.c3
2 files changed, 11 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index d401f2a96a..c1e69bc3bb 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+2003-12-04 Harry Lu <harry.lu@sun.com>
+
+ Fix for bugzilla bug #51627.
+
+ * gui/goto.c: (create_ecal): set calitem's move_selection_when_moving
+ to FALSE so that changing month and year won't send out
+ a "selection_changed" signal.
+
2003-12-03 Ettore Perazzoli <ettore@ximian.com>
* gui/tasks-control.c (tasks_control_activate): Do not call
diff --git a/calendar/gui/goto.c b/calendar/gui/goto.c
index 83405ddc96..66c6ecbad4 100644
--- a/calendar/gui/goto.c
+++ b/calendar/gui/goto.c
@@ -138,6 +138,9 @@ create_ecal (GoToDialog *dlg)
dlg->ecal = E_CALENDAR (e_calendar_new ());
calitem = dlg->ecal->calitem;
+ gnome_canvas_item_set (GNOME_CANVAS_ITEM (calitem),
+ "move_selection_when_moving", FALSE,
+ NULL);
e_calendar_item_set_display_popup (calitem, FALSE);
gtk_widget_show (GTK_WIDGET (dlg->ecal));
gtk_box_pack_start (GTK_BOX (dlg->vbox), GTK_WIDGET (dlg->ecal), TRUE, TRUE, 0);