Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalther Neuper <neuper@neuper.(none)>2009-12-14 13:36:14 (GMT)
committer Walther Neuper <neuper@neuper.(none)>2009-12-14 13:36:14 (GMT)
commita2509a60dd11440d289a4e80883d47917a462c0f (patch)
tree5baabb304a78120bf763f4c5a12551facb92ff65
parente1a069faa2b0bbf80ea9b55c4c4e534c50e18d73 (diff)
other minors
-rw-r--r--ReckonPrimer.activity/collection.py6
-rwxr-xr-xReckonPrimer.activity/display.py9
2 files changed, 7 insertions, 8 deletions
diff --git a/ReckonPrimer.activity/collection.py b/ReckonPrimer.activity/collection.py
index 4264400..bd8054a 100644
--- a/ReckonPrimer.activity/collection.py
+++ b/ReckonPrimer.activity/collection.py
@@ -51,10 +51,12 @@ class Collection:
raise Exception()
def define_coll_gui(self):
- """ Define gui-elements for presenting the collcetion. """
+ """ Define gui-elements for presenting the collection.
+ TODO: define once at startup of RP ?"""
#WN.LV diesen Code ersetzen !!!!!
self.topic_box = gtk.HBox(True, 0)
- self._display.collection_table.attach(self.topic_box, 0, 6, 0, 1)
+ #self._display.collection_table.attach(self.topic_box, 0, 6, 0, 1)
+ self._display.collection_table.attach(self.topic_box, 0, 6, 5, 6)
def set_coll_gui(self):
""" Set gui-elements according to Collection.data. """
diff --git a/ReckonPrimer.activity/display.py b/ReckonPrimer.activity/display.py
index 517897e..55fd6af 100755
--- a/ReckonPrimer.activity/display.py
+++ b/ReckonPrimer.activity/display.py
@@ -21,9 +21,9 @@ class Display:
def __init__(self, window):
self._permanent_gui_elements(window)
self.errors = 0
+ self._ex = None
self._sett = None # setting updated by callbacks during input
self.running = False # first round of calculations
- self.active_topic = None
def register(self, sess, co, learner):
"""register _after_ Session and Coach have been instantiated"""
@@ -90,8 +90,8 @@ class Display:
# Insert the 3 tables into the right half of the screen
self.table.attach(self.settings_table, 1, 2, 0, 5)
- self.table.attach(self.collection_table, 1, 2, 0, 5)
- self.table.attach(self.feedback_table,1, 2, 0, 5)
+ self.table.attach(self.collection_table,1, 2, 0, 5)
+ self.table.attach(self.feedback_table, 1, 2, 0, 5)
# show all tables, scrolled_window already shown above
self.settings_table.show()
@@ -248,9 +248,6 @@ class Display:
end_iterator = self.log_buffer.get_end_iter()
self.log_buffer.insert(end_iterator, "\n")
self.log_view.scroll_mark_onscreen(self.log_buffer.get_insert())
-
-
-
def destroy_box(self):
self.calculation_box.destroy()