diff options
author | Manuel Quiñones <manuq@laptop.org> | 2013-01-23 17:09:35 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2013-01-23 17:09:35 (GMT) |
commit | de545fc97273db57453d3cc212ce80bb784aa9de (patch) | |
tree | 8b4f23e191f75227fc0c21a29806de259408b349 /viewtoolbar.py | |
parent | c00ca0bdb7617ee004ff1b18219252ff2180feaf (diff) |
Fix "Actual zoom" button in PDF tabs - SL #4383
- Make 'Actual zoom' button from the subtoolbar insensitive, just like
the others
- Add 'Actual zoom' button to PDF toolbar overflow
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Diffstat (limited to 'viewtoolbar.py')
-rw-r--r-- | viewtoolbar.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/viewtoolbar.py b/viewtoolbar.py index 41ea21f..2008277 100644 --- a/viewtoolbar.py +++ b/viewtoolbar.py @@ -90,6 +90,7 @@ class ViewToolbar(Gtk.Toolbar): is_webkit_browser = isinstance(self._browser, Browser) self.zoomin.set_sensitive(is_webkit_browser) self.zoomout.set_sensitive(is_webkit_browser) + self.zoom_original.set_sensitive(is_webkit_browser) def __zoom_original_clicked_cb(self, button): tabbed_view = self._activity.get_canvas() |