diff options
author | Ariel Calzada <ariel@acivitycentral.com> | 2013-01-03 16:16:33 (GMT) |
---|---|---|
committer | Ariel Calzada <ariel@acivitycentral.com> | 2013-01-03 16:16:33 (GMT) |
commit | e4b78ea13c1980f4560bfb568b9476ef1abbd470 (patch) | |
tree | e5fade2e07650596f817c91810b6dc601b7722da /webtoolbar.py | |
parent | 7b33af5cf841faef274a6511d94ec5a2c584fe1d (diff) |
sdxo #310 Custom start/home page in Browse and #2769 Applying downstream changes to Browse-webkit
Diffstat (limited to 'webtoolbar.py')
-rw-r--r-- | webtoolbar.py | 14 |
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() |