6205: Gtk.CALENDAR needs a migration to new GI/GTK3 API
svn: r20897
This commit is contained in:
parent
6841776261
commit
a2b941140c
@ -39,7 +39,6 @@ class CalendarGramplet(Gramplet):
|
|||||||
self.set_tooltip(_("Double-click a day for details"))
|
self.set_tooltip(_("Double-click a day for details"))
|
||||||
self.gui.calendar = Gtk.Calendar()
|
self.gui.calendar = Gtk.Calendar()
|
||||||
self.gui.calendar.connect('day-selected-double-click', self.double_click)
|
self.gui.calendar.connect('day-selected-double-click', self.double_click)
|
||||||
if self.uistate.screen_width() <= 1024:
|
|
||||||
self.gui.calendar.set_display_options(
|
self.gui.calendar.set_display_options(
|
||||||
Gtk.CalendarDisplayOptions.SHOW_HEADING)
|
Gtk.CalendarDisplayOptions.SHOW_HEADING)
|
||||||
self.gui.get_container_widget().remove(self.gui.textview)
|
self.gui.get_container_widget().remove(self.gui.textview)
|
||||||
|
Loading…
Reference in New Issue
Block a user