Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/browser.py
diff options
context:
space:
mode:
authorManuel Kaufmann <humitos@gmail.com>2012-04-29 15:45:22 (GMT)
committer Manuel QuiƱones <manuq@laptop.org>2012-09-10 18:50:45 (GMT)
commit02aa9d5b8890d47b23fa4150e1f33910d646a1c0 (patch)
tree27af5e61be9d388886db44fb98515f8d76515943 /browser.py
parenta8d8738af9c3c1fdd3e692712fb46e6e1b1fb6be (diff)
Revert zoom with the original value SL #3540
New functionality to go back to the original zoom value. Added an icon next to zoom properties in View Toolbar. This function can be used with the hotkey "Control + 0" as well. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel QuiƱones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'browser.py')
-rw-r--r--browser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/browser.py b/browser.py
index 7379d2b..de546f2 100644
--- a/browser.py
+++ b/browser.py
@@ -39,6 +39,7 @@ import globalhistory
import downloadmanager
from pdfviewer import PDFTabPage
+ZOOM_ORIGINAL = 1.0
_ZOOM_AMOUNT = 0.1
_LIBRARY_PATH = '/usr/share/library-common/index.html'