diff options
Diffstat (limited to 'ReckonPrimer.activity/display.py')
-rwxr-xr-x | ReckonPrimer.activity/display.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ReckonPrimer.activity/display.py b/ReckonPrimer.activity/display.py index 2e03239..d337939 100755 --- a/ReckonPrimer.activity/display.py +++ b/ReckonPrimer.activity/display.py @@ -342,8 +342,8 @@ class Display: def create_entryline(self, (lineno, linepos, dig, proterr, protok, line)): """create gtk.Entry in line at linepos and set callback_input_digit""" - print('in Display.create_entryline: lineno=', lineno, ', linepos=', - linepos, ', line=', line) + #print('in Display.create_entryline: lineno=', lineno, ', linepos=', + # linepos, ', line=', line) calculation, cursor = line, linepos self.calculation_box = gtk.HBox(True, 0) calc_pos = 0 @@ -415,16 +415,12 @@ class Display: def new_topic(self, widget, topic): - """callback: - TODO: get the users choice from buttons above the settings""" - + """callback: get the users choice from buttons above the settings""" if(self.active_topic == None): self.active_topic = topic self._co.notify(('new-topic', topic)) - elif(self.active_topic == topic): pass - elif(self.active_topic != topic): self.active_topic = topic self.settings_table.destroy() |