diff options
author | Walther Neuper <neuper@neuper.(none)> | 2009-12-02 20:58:04 (GMT) |
---|---|---|
committer | Walther Neuper <neuper@neuper.(none)> | 2009-12-02 20:58:04 (GMT) |
commit | 6351b1924a03f95d405376b7be42e765cd578888 (patch) | |
tree | a8f25aa008f68ab674154cd42bb6d301d1a9a163 | |
parent | 6df4f61a46f6eea555b1f79de86f478e4e138e95 (diff) |
at debugging self._display._sett
-rwxr-xr-x | ReckonPrimer.activity/coach.py | 2 | ||||
-rwxr-xr-x | ReckonPrimer.activity/display.py | 2 | ||||
-rwxr-xr-x | ReckonPrimer.activity/exaddsimp.py | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/ReckonPrimer.activity/coach.py b/ReckonPrimer.activity/coach.py index 8818407..671eb18 100755 --- a/ReckonPrimer.activity/coach.py +++ b/ReckonPrimer.activity/coach.py @@ -90,6 +90,8 @@ class Coach: self._sess.notify((msg, self._ex)) elif msg == 'new-topic': self._ex = self.get_ex(data) + print('in Coach.notify(new-topic), 93 self._ex._sett=', + self._ex._sett) self._dis.offer_setting(self._ex) def get_ex(self, tpc): diff --git a/ReckonPrimer.activity/display.py b/ReckonPrimer.activity/display.py index d337939..684d7ba 100755 --- a/ReckonPrimer.activity/display.py +++ b/ReckonPrimer.activity/display.py @@ -237,6 +237,7 @@ class Display: ### START BUTTON END ### self.current_exercise = ex + print('in Display.offer_setting, 241 self._sett=', self._sett) self.current_exercise.define_buttons() self.current_exercise.set_buttons(self._sett) @@ -418,6 +419,7 @@ class Display: """callback: get the users choice from buttons above the settings""" if(self.active_topic == None): self.active_topic = topic + print('in Display.new_topic, 422 self._sett=', self._sett) self._co.notify(('new-topic', topic)) elif(self.active_topic == topic): pass diff --git a/ReckonPrimer.activity/exaddsimp.py b/ReckonPrimer.activity/exaddsimp.py index d5173d6..18f4ad6 100755 --- a/ReckonPrimer.activity/exaddsimp.py +++ b/ReckonPrimer.activity/exaddsimp.py @@ -82,6 +82,7 @@ class ExAddSimp(Exercise): def define_buttons(self): """ See comment in Exercies.define_buttons. """ + print('in ExAddSimp.define_buttons, 86 self._sett=', self._sett) #self.label_count = gtk.Label(str(self.count())) #self.label6.modify_font(pango.FontDescription("sans 12")) #self._display.settings_table.attach(self.label6, 0, 1, 1, 2 ) |