Always show full toolbar on ScatterPlots.
This commit is contained in:
parent
a374510cfc
commit
92fe9d8e75
|
@ -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):
|
||||
|
|
Reference in New Issue