Updated icon.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user