aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2003-12-05 09:59:43 +0800
committerHarry Lu <haip@src.gnome.org>2003-12-05 09:59:43 +0800
commit22f021924c1816eb5b958295e9dea290611c138d (patch)
tree6548c6dac843fcb7b9e18c5f2de0e449d846cdb8 /calendar
parent999ef98d7640005b86cd958ed062ee1213008c49 (diff)
downloadgsoc2013-evolution-22f021924c1816eb5b958295e9dea290611c138d.tar.gz
gsoc2013-evolution-22f021924c1816eb5b958295e9dea290611c138d.tar.zst
gsoc2013-evolution-22f021924c1816eb5b958295e9dea290611c138d.zip
Fix for bugzilla bug #51627.
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. svn path=/trunk/; revision=23641
Diffstat (limited to 'calendar')
-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);