diff options
author | Rafael Ortiz <dirakx@gmail.com> | 2013-03-08 03:21:36 (GMT) |
---|---|---|
committer | Rafael Ortiz <dirakx@gmail.com> | 2013-03-08 03:21:36 (GMT) |
commit | 94524ea6e0426cce14ae9fd4b144042bc2241880 (patch) | |
tree | f3aabbd2a016adf251765793a8f35ec5a2bc26ea | |
parent | ef547e79856b5e801aa7e4267cd415619c998a36 (diff) |
changing gobject to gtk3gtk3
-rw-r--r-- | stopwatch.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stopwatch.py b/stopwatch.py index 535522d..9bf3011 100644 --- a/stopwatch.py +++ b/stopwatch.py @@ -429,7 +429,7 @@ class GUIView(): self._markers.append(marks_model) watch_view = OneWatchView(watch_model, name_model, marks_model, timer) if i==0: - gobject.timeout_add(100,self.initfocus,watch_view) + GObject.timeout_add(100,self.initfocus,watch_view) self._views.append(watch_view) @@ -442,8 +442,8 @@ class GUIView(): def initfocus(self,watch_view): watch_view._got_focus_cb(None, None) - watch_view._time_label.grab_focus() - + watch_view._time_label.grab_focus() + def get_names(self): return [n.get_value() for n in self._names] |