Merge from trunk

This commit is contained in:
Stephen Boddy 2009-01-13 22:32:36 +01:00
commit a7e12a13b5
8 changed files with 24 additions and 47 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 779 B

After

Width:  |  Height:  |  Size: 620 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -13,22 +13,14 @@
height="48px" height="48px"
id="svg1306" id="svg1306"
sodipodi:version="0.32" sodipodi:version="0.32"
inkscape:version="0.46" inkscape:version="0.46+devel"
sodipodi:docbase="/home/jimmac/src/cvs/tango-icon-theme/scalable/apps" sodipodi:docname="terminator.svg"
sodipodi:docname="utilities-terminal.svg"
inkscape:export-filename="/home/andreas/projekt/bild/tango/terminal4.png" inkscape:export-filename="/home/andreas/projekt/bild/tango/terminal4.png"
inkscape:export-xdpi="240.00000" inkscape:export-xdpi="240.00000"
inkscape:export-ydpi="240.00000" inkscape:export-ydpi="240.00000"
inkscape:output_extension="org.inkscape.output.svg.inkscape"> inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs <defs
id="defs1308"> id="defs1308">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 24 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="48 : 24 : 1"
inkscape:persp3d-origin="24 : 16 : 1"
id="perspective79" />
<radialGradient <radialGradient
inkscape:collect="always" inkscape:collect="always"
xlink:href="#linearGradient5060" xlink:href="#linearGradient5060"
@ -155,17 +147,6 @@
offset="1" offset="1"
id="stop2242" /> id="stop2242" />
</linearGradient> </linearGradient>
<linearGradient
id="linearGradient2224">
<stop
style="stop-color:#32342f;stop-opacity:0.54639173;"
offset="0.0000000"
id="stop2226" />
<stop
style="stop-color:#32342f;stop-opacity:0;"
offset="1"
id="stop2228" />
</linearGradient>
<linearGradient <linearGradient
id="linearGradient2214"> id="linearGradient2214">
<stop <stop
@ -229,17 +210,6 @@
y2="32.497993" y2="32.497993"
gradientUnits="userSpaceOnUse" gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.957412,0.000000,0.000000,0.952331,1.022766,0.133307)" /> gradientTransform="matrix(0.957412,0.000000,0.000000,0.952331,1.022766,0.133307)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient2224"
id="radialGradient2230"
cx="24.041630"
cy="42.242130"
fx="24.041630"
fy="42.242130"
r="17.576654"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.304598,-1.841788e-16,29.37527)"
gradientUnits="userSpaceOnUse" />
<linearGradient <linearGradient
inkscape:collect="always" inkscape:collect="always"
xlink:href="#linearGradient2238" xlink:href="#linearGradient2238"
@ -290,7 +260,7 @@
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="1" inkscape:zoom="1"
inkscape:cx="24.250101" inkscape:cx="-127.7499"
inkscape:cy="27.349621" inkscape:cy="27.349621"
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
showgrid="false" showgrid="false"
@ -299,7 +269,7 @@
inkscape:window-width="1460" inkscape:window-width="1460"
inkscape:window-height="1129" inkscape:window-height="1129"
inkscape:window-x="321" inkscape:window-x="321"
inkscape:window-y="50" inkscape:window-y="42"
showguides="true" showguides="true"
inkscape:guide-bbox="true" inkscape:guide-bbox="true"
inkscape:showpageshadow="false" /> inkscape:showpageshadow="false" />
@ -311,26 +281,21 @@
<dc:format>image/svg+xml</dc:format> <dc:format>image/svg+xml</dc:format>
<dc:type <dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Terminal</dc:title> <dc:title></dc:title>
<dc:date>2005-10-15</dc:date> <dc:date></dc:date>
<dc:creator> <dc:creator>
<cc:Agent> <cc:Agent>
<dc:title>Andreas Nilsson</dc:title> <dc:title></dc:title>
</cc:Agent> </cc:Agent>
</dc:creator> </dc:creator>
<dc:subject> <dc:subject>
<rdf:Bag> <rdf:Bag />
<rdf:li>terminal</rdf:li>
<rdf:li>emulator</rdf:li>
<rdf:li>term</rdf:li>
<rdf:li>command line</rdf:li>
</rdf:Bag>
</dc:subject> </dc:subject>
<cc:license <cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" /> rdf:resource="" />
<dc:contributor> <dc:contributor>
<cc:Agent> <cc:Agent>
<dc:title>Jakub Steiner</dc:title> <dc:title></dc:title>
</cc:Agent> </cc:Agent>
</dc:contributor> </dc:contributor>
</cc:Work> </cc:Work>

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -2,6 +2,7 @@
gtk-update-icon-cache -q -f /usr/share/icons/hicolor/ gtk-update-icon-cache -q -f /usr/share/icons/hicolor/
pycentral pkginstall terminator pycentral pkginstall terminator
update-menus
#DEBHELPER# #DEBHELPER#

View File

@ -160,6 +160,7 @@ setup(name='Terminator',
('share/icons/hicolor/16x16/apps', glob.glob('data/icons/16x16/apps/*.png')), ('share/icons/hicolor/16x16/apps', glob.glob('data/icons/16x16/apps/*.png')),
('share/icons/hicolor/22x22/apps', glob.glob('data/icons/22x22/apps/*.png')), ('share/icons/hicolor/22x22/apps', glob.glob('data/icons/22x22/apps/*.png')),
('share/icons/hicolor/24x24/apps', glob.glob('data/icons/24x24/apps/*.png')), ('share/icons/hicolor/24x24/apps', glob.glob('data/icons/24x24/apps/*.png')),
('share/icons/hicolor/24x24/apps', glob.glob('data/icons/32x32/apps/*.png')),
('share/icons/hicolor/48x48/apps', glob.glob('data/icons/48x48/apps/*.png')), ('share/icons/hicolor/48x48/apps', glob.glob('data/icons/48x48/apps/*.png')),
('share/icons/hicolor/16x16/actions', glob.glob('data/icons/16x16/actions/*.png')), ('share/icons/hicolor/16x16/actions', glob.glob('data/icons/16x16/actions/*.png')),
], ],

View File

@ -1118,6 +1118,11 @@ class Terminator:
def previous_tab(self, term): def previous_tab(self, term):
notebook = self.get_first_parent_notebook(term) notebook = self.get_first_parent_notebook(term)
if notebook: if notebook:
cur = notebook.get_current_page()
pages = notebook.get_n_pages()
if cur == 0:
notebook.set_current_page(pages - 1)
else:
notebook.prev_page() notebook.prev_page()
# This seems to be required in some versions of (py)gtk. # This seems to be required in some versions of (py)gtk.
# Without it, the selection changes, but the displayed page doesn't change # Without it, the selection changes, but the displayed page doesn't change
@ -1127,6 +1132,11 @@ class Terminator:
def next_tab(self, term): def next_tab(self, term):
notebook = self.get_first_parent_notebook(term) notebook = self.get_first_parent_notebook(term)
if notebook: if notebook:
cur = notebook.get_current_page()
pages = notebook.get_n_pages()
if cur == pages - 1:
notebook.set_current_page(0)
else:
notebook.next_page() notebook.next_page()
notebook.set_current_page(notebook.get_current_page()) notebook.set_current_page(notebook.get_current_page())