diff --git a/icons/table_size.png b/icons/table_size.png new file mode 100644 index 0000000..b255ea0 Binary files /dev/null and b/icons/table_size.png differ diff --git a/icons/table_size.svg b/icons/table_size.svg new file mode 100644 index 0000000..80b3f3f --- /dev/null +++ b/icons/table_size.svg @@ -0,0 +1,346 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/system/fluents.py b/system/fluents.py index 007ba6d..c20ef75 100755 --- a/system/fluents.py +++ b/system/fluents.py @@ -88,7 +88,7 @@ class ViewFrameToolButton (gtk.ToolItem): def __init__(self): gtk.ToolItem.__init__(self) - fname = os.path.join(ICONDIR, "move.png") + fname = os.path.join(ICONDIR, "table_size.png") image = gtk.Image() image.set_from_file(fname) @@ -186,7 +186,7 @@ class FluentApp: """Sets the plot in the currently active ViewFrame. If the plot is already shown in another ViewFrame it will be moved from there.""" # Set current selection in the plot before showing it. - plot.selection_changed(self.project.get_selection()) + plot.selection_changed(None, self.project.get_selection()) self['main_view'].insert_view(plot) self._update_toolbar(plot)