Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webtoolbar.py
diff options
context:
space:
mode:
Diffstat (limited to 'webtoolbar.py')
-rw-r--r--webtoolbar.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/webtoolbar.py b/webtoolbar.py
index dc0b3de..35a699a 100644
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -252,9 +252,6 @@ class PrimaryToolbar(ToolbarBase):
'add-link': (GObject.SignalFlags.RUN_FIRST,
None,
([])),
- 'go-home': (GObject.SignalFlags.RUN_FIRST,
- None,
- ([])),
}
def __init__(self, tabbed_view, act):
@@ -270,12 +267,6 @@ class PrimaryToolbar(ToolbarBase):
activity_button = ActivityToolbarButton(self._activity)
toolbar.insert(activity_button, 0)
- self._go_home = ToolButton('go-home')
- self._go_home.set_tooltip(_('Home page'))
- self._go_home.connect('clicked', self._go_home_cb)
- toolbar.insert(self._go_home, -1)
- self._go_home.show()
-
self.entry = WebEntry()
self.entry.set_icon_from_name(iconentry.ICON_ENTRY_SECONDARY,
'browse-dialog-cancel')
@@ -451,7 +442,7 @@ class PrimaryToolbar(ToolbarBase):
is_webkit_browser = isinstance(self._browser, Browser)
self._link_add.props.sensitive = is_webkit_browser
- self._go_home.props.sensitive = is_webkit_browser
+ #self._go_home.props.sensitive = is_webkit_browser
if is_webkit_browser:
self._reload_session_history()
@@ -463,9 +454,6 @@ class PrimaryToolbar(ToolbarBase):
self.entry.props.address = effective_url
self._browser.grab_focus()
- def _go_home_cb(self, button):
- self.emit('go-home')
-
def _go_back_cb(self, button):
self._browser.go_back()