Home | Trees | Indices | Help |
|
---|
|
1 # Copyright (C) 2009, 2010, 2011 Rickard Lindberg, Roger Lindberg 2 # 3 # This file is part of Timeline. 4 # 5 # Timeline is free software: you can redistribute it and/or modify 6 # it under the terms of the GNU General Public License as published by 7 # the Free Software Foundation, either version 3 of the License, or 8 # (at your option) any later version. 9 # 10 # Timeline is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License 16 # along with Timeline. If not, see <http://www.gnu.org/licenses/>. 17 1820 255927 self.dialog.set_checkbox_enable_wide_date_range( 28 self.config.get_use_wide_date_range()) 29 self.dialog.set_checkbox_use_inertial_scrolling( 30 self.config.get_use_inertial_scrolling()) 31 self.dialog.set_checkbox_open_recent_at_startup( 32 self.config.get_open_recent_at_startup()) 33 index = self._week_index(self.config.week_start) 34 self.dialog.set_week_start(index)35 38 41 44 4749 for (i, w) in self.weeks_map: 50 if w == week: 51 return i 52 raise ValueError("Unknown week '%s'." % week)53
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Aug 3 03:57:02 2013 | http://epydoc.sourceforge.net |