From 9e905954d5d5dc640a08e13d1bafa5ea9c0046f6 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 03 Sep 2009 14:30:19 +0000 Subject: Add Gary's tab icons --- 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 @@ + + +]> + + + + + + + + \ 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 @@ + + +]> + + + + + + + + \ 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 @@ + + +]> + + + + + + + + \ 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 @@ + + +]> + + + + + + + + \ 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 @@ + + +]> + + + + + + + + \ 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 = '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 = '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 = '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 = 'Right' self._next_tab_button.props.sensitive = False -- cgit v0.9.1