Commit 710c6cb4 authored by Og B. Maciel's avatar Og B. Maciel

Don't trigger calendar widget event.

svn path=/trunk/; revision=692
parent bfd01bb5
2009-01-30 Og Maciel <ogmaciel@gnome.org>
* src/gui/prefdialog.py: Handle missing gconf data when not installed.
* src/gui/widgets/datepicker.py: Don't trigger calendar widget event.
2009-01-25 Og Maciel <ogmaciel@gnome.org>
......
......@@ -50,8 +50,8 @@ class DatePicker(gtk.VBox):
self.expander.add(vbox)
# Connect events
self.calendar.connect("day-selected-double-click", self.on_day_selected)
self.calendar.connect("day-selected", self.on_day_selected)
#self.calendar.connect("day-selected-double-click", self.on_day_selected)
#self.calendar.connect("day-selected", self.on_day_selected)
self.pack_start(self.expander)
......@@ -63,7 +63,7 @@ class DatePicker(gtk.VBox):
def on_day_selected(self, calendar):
(year, month, day) = self.calendar.get_date()
self.currentDate = datetime.datetime(year, month+1, day)
self.currentDate = datetime.datetime(year, month + 1, day)
# Update the date label
self.__update_label()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment