From 94524ea6e0426cce14ae9fd4b144042bc2241880 Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Fri, 08 Mar 2013 03:21:36 +0000 Subject: changing gobject to gtk3 --- 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] -- cgit v0.9.1