Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Area.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-10-02 15:01:20 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-10-02 20:52:49 (GMT)
commite11f26aef3761123348f032ae0b43f72f28152f4 (patch)
treef2f23c403d6cb30a4342be7fdd3e2ba2e4e7c45a /Area.py
parentf6198bd9019c85cc4ee16ae5a8e1d70ee8d4eb1a (diff)
Fix simple pep8
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'Area.py')
-rw-r--r--Area.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Area.py b/Area.py
index dfb80c1..157131e 100644
--- a/Area.py
+++ b/Area.py
@@ -96,12 +96,14 @@ TARGET_URI = 0
MAX_UNDO_STEPS = 12
RESIZE_ARROW_SIZE = style.GRID_CELL_SIZE / 2
+
def _get_screen_dpi():
xft_dpi = Gtk.Settings.get_default().get_property('gtk-xft-dpi')
dpi = float(xft_dpi / 1024)
logging.error('Setting dpi to: %f', dpi)
return dpi
+
class Area(Gtk.DrawingArea):
__gsignals__ = {