From 9162deabacc8fa4310cd610fc125f8ac6f9f343a Mon Sep 17 00:00:00 2001 From: einarr Date: Mon, 16 Oct 2006 20:16:50 +0000 Subject: [PATCH] Updated icon. --- icons/table_size.png | Bin 0 -> 780 bytes icons/table_size.svg | 346 +++++++++++++++++++++++++++++++++++++++++++ system/fluents.py | 4 +- 3 files changed, 348 insertions(+), 2 deletions(-) create mode 100644 icons/table_size.png create mode 100644 icons/table_size.svg diff --git a/icons/table_size.png b/icons/table_size.png new file mode 100644 index 0000000000000000000000000000000000000000..b255ea0e76ddf1252961601e770435bc7359cb69 GIT binary patch literal 780 zcmV+n1M~ceP)c)& z{biH zeKW#*e-bmDk&}-`+z^vQ#j`QQl|;xRH2yUT!o>VRBdcTPZ|>x$nK7D`o{c3DNQ8({ zPwNF?)o9d)GdR~XPCh-#OvckPArV&+79oy~B(3FvwPk%UX)T1ca5l6APL`E2)`~z9F-0YR z4l+C-15U=viAgdjWehPTtrd#OHw=g%$lH*J2_gh#jI}(FL@X>n0Tx&=Mg-<=0bvM1 z`5kh_;`sg7rKKqHho`4OUaMtN2;m3^153SLWEzbu@R@^y!SFvr0YXViwEjE*0000< KMNUMnLSTaJOIU#b literal 0 HcmV?d00001 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)