diff --git a/system/plots.py b/system/plots.py index 606faa8..705b01b 100644 --- a/system/plots.py +++ b/system/plots.py @@ -150,6 +150,7 @@ class ViewFrame (gtk.Frame): treestore, path = selection.tree_get_row_drag_data() iter = treestore.get_iter(path) obj = treestore.get_value(iter,2) + if isinstance(obj, Plot): self.set_view(obj) self.focus() @@ -569,6 +570,7 @@ has no color and size options.""" # create toolbar self._toolbar = PlotToolbar(self.canvas, None) self._toolbar.chk.connect ('toggled' ,self.set_selection_sensitive) + self._toolbar.set_property('show-arrow', False) self._toolbar.set_select_callback(self.rectangle_select_callback) def get_toolbar(self):