diff options
Diffstat (limited to 'ReckonPrimer.activity/display.py')
-rwxr-xr-x | ReckonPrimer.activity/display.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ReckonPrimer.activity/display.py b/ReckonPrimer.activity/display.py index 05173ed..a5390b4 100755 --- a/ReckonPrimer.activity/display.py +++ b/ReckonPrimer.activity/display.py @@ -99,6 +99,7 @@ class Display: self.exstore_table = gtk.Table(14, 9, True) self.gtk_tree() #-->self.treeview #@# self.exstore_table.attach(self.treeview, 0, 9, 0, 13) + #@# self.treeview.show() self.feedback_table = gtk.Table (14, 9, True) # Insert the 3 tables into the right half of the screen @@ -503,7 +504,8 @@ class Display: self.drag_data_received_data) self.treeview.expand_all() - def drag_data_get_data(self, treeview, context, selection, target_id, etime): + def drag_data_get_data(self, treeview, context, + selection, target_id, etime): # selection erfassen und pixbuf in string umwandeln treeselection = treeview.get_selection() model, iter = treeselection.get_selected() @@ -524,7 +526,8 @@ class Display: return - def drag_data_received_data(self, treeview, context, x, y, selection, info, etime): + def drag_data_received_data(self, treeview, context, x, y, + selection, info, etime): treeselection = treeview.get_selection() model, from_parent = treeselection.get_selected() model = treeview.get_model() @@ -532,7 +535,8 @@ class Display: data = selection.data # aus pixel-string wieder pixbuf objekt erstellen iconpixtemp, sep, title = data.partition(sep) - iconpix = gtk.gdk.pixbuf_new_from_data(iconpixtemp, gtk.gdk.COLORSPACE_RGB, True, 8, 10, 10, 40) + iconpix = gtk.gdk.pixbuf_new_from_data( + iconpixtemp, gtk.gdk.COLORSPACE_RGB, True, 8, 10, 10, 40) data = [iconpix, title] c = Collection(None,None,None,None) |