From 92fe9d8e75fb6b668f08ca4d462b32890dbc2a39 Mon Sep 17 00:00:00 2001 From: einarr Date: Thu, 31 Aug 2006 15:45:33 +0000 Subject: [PATCH] Always show full toolbar on ScatterPlots. --- system/plots.py | 2 ++ 1 file changed, 2 insertions(+) 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):