Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2009-09-03 14:30:19 (GMT)
committer Simon Schampijer <simon@schampijer.de>2009-09-03 14:30:19 (GMT)
commit9e905954d5d5dc640a08e13d1bafa5ea9c0046f6 (patch)
treefbf935447778af725c83aa05a21b06552ade0440
parentde3513570d8c3f6e129854ac20b9637bbe4d28f4 (diff)
Add Gary's tab icons
-rw-r--r--icons/tab-add.svg12
-rw-r--r--icons/tab-next.svg12
-rw-r--r--icons/tab-previous.svg12
-rw-r--r--icons/tab-remove.svg12
-rw-r--r--icons/toolbar-tab.svg12
-rw-r--r--terminal.py10
6 files changed, 65 insertions, 5 deletions
diff --git a/icons/tab-add.svg b/icons/tab-add.svg
new file mode 100644
index 0000000..c1457bd
--- /dev/null
+++ b/icons/tab-add.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'[
+ <!ENTITY stroke_color "#010101">
+ <!ENTITY fill_color "#FFFFFF">
+]><svg enable-background="new 0 0 55.125 55" height="55px" version="1.1" viewBox="0 0 55.125 55" width="55.125px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px">
+<g display="block" id="tab-add">
+ <g transform="scale(.80)">
+ <g transform="translate(6.5, 6.5)">
+ <path d="M0,50 l55,0 l0,-15 l-5,0 l0,-25 q0,-5 -5,-5 l-35,0 q-5,0 -5,5 l0,25 l-5,0z M30.768,38.767c-0.002,1.774-1.438,3.216-3.214,3.214c-0.889,0.001-1.693-0.359-2.275-0.941c-0.582-0.581-0.94-1.385-0.94-2.27 l0-8.146h-8.146c-0.886-0.001-1.689-0.359-2.271-0.94c-0.582-0.583-0.942-1.388-0.942-2.276c0-1.773,1.439-3.213,3.217-3.211h8.143 v-8.143c-0.003-1.776,1.438-3.217,3.212-3.217c1.774,0,3.218,1.438,3.215,3.215l0.001,8.145l8.146,0.001 c1.775-0.005,3.212,1.438,3.213,3.213c0.002,1.775-1.441,3.214-3.215,3.215h-8.143V38.767z" fill="&fill_color;"/>
+ </g>
+ </g>
+</g>
+</svg> \ No newline at end of file
diff --git a/icons/tab-next.svg b/icons/tab-next.svg
new file mode 100644
index 0000000..9b29d8d
--- /dev/null
+++ b/icons/tab-next.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'[
+ <!ENTITY stroke_color "#010101">
+ <!ENTITY fill_color "#FFFFFF">
+]><svg enable-background="new 0 0 55.125 55" height="55px" version="1.1" viewBox="0 0 55.125 55" width="55.125px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px">
+<g display="block" id="tab-next">
+ <g transform="scale(.80)">
+ <g transform="translate(6.5, 6.5)">
+ <path d="M0,50 l55,0 l0,-15 l-5,0 l0,-25 q0,-5 -5,-5 l-35,0 q-5,0 -5,5 l0,25 l-5,0z M20.733,17.551l19.629,9.965L20.733,37.758V17.551z" fill="&fill_color;"/>
+ </g>
+ </g>
+</g>
+</svg> \ No newline at end of file
diff --git a/icons/tab-previous.svg b/icons/tab-previous.svg
new file mode 100644
index 0000000..6861c30
--- /dev/null
+++ b/icons/tab-previous.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'[
+ <!ENTITY stroke_color "#010101">
+ <!ENTITY fill_color "#FFFFFF">
+]><svg enable-background="new 0 0 55.125 55" height="55px" version="1.1" viewBox="0 0 55.125 55" width="55.125px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px">
+<g display="block" id="tab-previous">
+ <g transform="scale(.80)">
+ <g transform="translate(6.5, 6.5)">
+ <path d="M0,50 l55,0 l0,-15 l-5,0 l0,-25 q0,-5 -5,-5 l-35,0 q-5,0 -5,5 l0,25 l-5,0z M34.267,37.449l-19.629-9.965l19.629-10.242V37.449z" fill="&fill_color;"/>
+ </g>
+ </g>
+</g>
+</svg> \ No newline at end of file
diff --git a/icons/tab-remove.svg b/icons/tab-remove.svg
new file mode 100644
index 0000000..8521c5b
--- /dev/null
+++ b/icons/tab-remove.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'[
+ <!ENTITY stroke_color "#010101">
+ <!ENTITY fill_color "#FFFFFF">
+]><svg enable-background="new 0 0 55.125 55" height="55px" version="1.1" viewBox="0 0 55.125 55" width="55.125px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px">
+<g display="block" id="tab-remove">
+ <g transform="scale(.80)">
+ <g transform="translate(6.5, 6.5)">
+ <path d="M0,50 l55,0 l0,-15 l-5,0 l0,-25 q0,-5 -5,-5 l-35,0 q-5,0 -5,5 l0,25 l-5,0z M16.192,30.623c-0.886-0.001-1.689-0.359-2.271-0.94c-0.582-0.583-0.942-1.388-0.942-2.276c0-1.773,1.439-3.213,3.217-3.211 l22.716,0c1.775-0.005,3.212,1.438,3.213,3.213c0.002,1.775-1.441,3.214-3.215,3.215L16.192,30.623z" fill="&fill_color;"/>
+ </g>
+ </g>
+</g>
+</svg> \ No newline at end of file
diff --git a/icons/toolbar-tab.svg b/icons/toolbar-tab.svg
new file mode 100644
index 0000000..4d69921
--- /dev/null
+++ b/icons/toolbar-tab.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'[
+ <!ENTITY stroke_color "#010101">
+ <!ENTITY fill_color "#FFFFFF">
+]><svg enable-background="new 0 0 55.125 55" height="55px" version="1.1" viewBox="0 0 55.125 55" width="55.125px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px">
+<g display="block" id="toolbar-tab">
+ <g transform="scale(.80)">
+ <g transform="translate(6.5, 6.5)">
+ <path d="M0,42 l55,0 l0,-12 l-5,0 l0,-17 q0,-5 -5,-5 l-10,0 q5,0 5,5 l0,16 l10,0 l0,1 l-13,0 l0,-17 q0,-5 -5,-5 l-22,0 q-5,0 -5,5 l0,17 l-5,0z" fill="&fill_color;"/>
+ </g>
+ </g>
+</g>
+</svg> \ No newline at end of file
diff --git a/terminal.py b/terminal.py
index 48bb6b7..1fe5df1 100644
--- a/terminal.py
+++ b/terminal.py
@@ -79,7 +79,7 @@ class TerminalActivity(activity.Activity):
tab_toolbar = self._create_tab_toolbar()
tab_toolbar_button = ToolbarButton(
page=tab_toolbar,
- icon_name='view-list')
+ icon_name='toolbar-tab')
tab_toolbar.show()
toolbar_box.toolbar.insert(tab_toolbar_button, -1)
tab_toolbar_button.show()
@@ -149,14 +149,14 @@ class TerminalActivity(activity.Activity):
def _create_tab_toolbar(self):
tab_toolbar = gtk.Toolbar()
- new_tab_button = ToolButton('list-add')
+ new_tab_button = ToolButton('tab-add')
new_tab_button.set_tooltip(_("Open New Tab"))
new_tab_button.props.accelerator = '<Ctrl><Shift>T'
new_tab_button.connect('clicked', self.__open_tab_cb)
tab_toolbar.insert(new_tab_button, -1)
new_tab_button.show()
- self._delete_tab_button = ToolButton('list-remove')
+ self._delete_tab_button = ToolButton('tab-remove')
self._delete_tab_button.set_tooltip(_("Close Tab"))
self._delete_tab_button.props.accelerator = '<Ctrl><Shift>X'
self._delete_tab_button.props.sensitive = False
@@ -164,7 +164,7 @@ class TerminalActivity(activity.Activity):
tab_toolbar.insert(self._delete_tab_button, -1)
self._delete_tab_button.show()
- self._previous_tab_button = ToolButton('go-previous')
+ self._previous_tab_button = ToolButton('tab-previous')
self._previous_tab_button.set_tooltip(_("Previous Tab"))
self._previous_tab_button.props.accelerator = '<Ctrl><Shift>Left'
self._previous_tab_button.props.sensitive = False
@@ -172,7 +172,7 @@ class TerminalActivity(activity.Activity):
tab_toolbar.insert(self._previous_tab_button, -1)
self._previous_tab_button.show()
- self._next_tab_button = ToolButton('go-next')
+ self._next_tab_button = ToolButton('tab-next')
self._next_tab_button.set_tooltip(_("Next Tab"))
self._next_tab_button.props.accelerator = '<Ctrl><Shift>Right'
self._next_tab_button.props.sensitive = False