Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Updated icon.

This commit is contained in:
Einar Ryeng 2006-10-16 20:16:50 +00:00
parent d9ec8f1611
commit 9162deabac
3 changed files with 348 additions and 2 deletions

BIN
icons/table_size.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

346
icons/table_size.svg Normal file
View File

@ -0,0 +1,346 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="744.09448819"
height="1052.3622047"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.43"
sodipodi:docbase="/home/einarr/src/fluents/icons"
sodipodi:docname="table_size.svg">
<defs
id="defs4">
<linearGradient
inkscape:collect="always"
id="linearGradient2192">
<stop
style="stop-color:#00d07c;stop-opacity:1;"
offset="0"
id="stop2194" />
<stop
style="stop-color:#00d07c;stop-opacity:0;"
offset="1"
id="stop2196" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2182">
<stop
style="stop-color:#0000ff;stop-opacity:1;"
offset="0"
id="stop2184" />
<stop
style="stop-color:#0000ff;stop-opacity:0;"
offset="1"
id="stop2186" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2182"
id="linearGradient2188"
x1="425.21429"
y1="850.93365"
x2="425.21429"
y2="125.84373"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2198"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0,155.2857)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2202"
gradientUnits="userSpaceOnUse"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404"
gradientTransform="translate(162.8571,155.2857)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2206"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(331.4286,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2221"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2223"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(162.8571,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2225"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(331.4286,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2235"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2237"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(162.8571,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2239"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(331.4286,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2247"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2249"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(162.8571,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2251"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(331.4286,155.2857)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2257"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(161.8571,160.5)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2260"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-1,160.5)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2275"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(161.8571,-4.7143)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2192"
id="linearGradient2278"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-1,-4.7143)"
x1="202.35713"
y1="426.64789"
x2="202.35713"
y2="223.78404" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="375"
inkscape:cy="520"
inkscape:document-units="px"
inkscape:current-layer="layer1"
inkscape:window-width="823"
inkscape:window-height="583"
inkscape:window-x="91"
inkscape:window-y="59" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="fill:url(#linearGradient2188);fill-opacity:1.0;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect1307"
width="517.14288"
height="517.14288"
x="125.71429"
y="235.21933"
inkscape:export-filename="/home/einarr/src/fluents/icons/rect2233.png"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
<rect
style="fill:url(#linearGradient2260);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect2190"
width="148.57143"
height="148.57143"
x="144.71428"
y="418.57648"
inkscape:export-filename="/home/einarr/src/fluents/icons/rect2233.png"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
<rect
style="fill:url(#linearGradient2257);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect2200"
width="148.57143"
height="148.57143"
x="307.57144"
y="418.57648"
inkscape:export-filename="/home/einarr/src/fluents/icons/rect2233.png"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
<rect
style="fill:#f3f4f9;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect2204"
width="148.57143"
height="148.57143"
x="476.14285"
y="418.57648"
inkscape:export-filename="/home/einarr/src/fluents/icons/rect2233.png"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
<rect
style="fill:#f3f4f9;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect2215"
width="148.57143"
height="148.57143"
x="144.71428"
y="583.79077"
inkscape:export-filename="/home/einarr/src/fluents/icons/rect2233.png"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
<rect
style="fill:#f3f4f9;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect2217"
width="148.57143"
height="148.57143"
x="307.57144"
y="583.79077"
inkscape:export-filename="/home/einarr/src/fluents/icons/rect2233.png"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
<rect
style="fill:#f3f4f9;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect2219"
width="148.57143"
height="148.57143"
x="476.14285"
y="583.79077"
inkscape:export-filename="/home/einarr/src/fluents/icons/rect2233.png"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
<rect
style="fill:url(#linearGradient2278);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect2229"
width="148.57143"
height="148.57143"
x="144.71428"
y="253.36218"
inkscape:export-filename="/home/einarr/src/fluents/icons/rect2233.png"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
<rect
style="fill:url(#linearGradient2275);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect2231"
width="148.57143"
height="148.57143"
x="307.57144"
y="253.36218"
inkscape:export-filename="/home/einarr/src/fluents/icons/rect2233.png"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
<rect
style="fill:#f3f4f9;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect2233"
width="148.57143"
height="148.57143"
x="476.14285"
y="253.36218"
inkscape:export-xdpi="3.4739451"
inkscape:export-ydpi="3.4739451" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -88,7 +88,7 @@ class ViewFrameToolButton (gtk.ToolItem):
def __init__(self): def __init__(self):
gtk.ToolItem.__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 = gtk.Image()
image.set_from_file(fname) image.set_from_file(fname)
@ -186,7 +186,7 @@ class FluentApp:
"""Sets the plot in the currently active ViewFrame. If the plot is """Sets the plot in the currently active ViewFrame. If the plot is
already shown in another ViewFrame it will be moved from there.""" already shown in another ViewFrame it will be moved from there."""
# Set current selection in the plot before showing it. # 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['main_view'].insert_view(plot)
self._update_toolbar(plot) self._update_toolbar(plot)