From 4cd74d1fea1b3178a6e544db257abf97525b933c Mon Sep 17 00:00:00 2001 From: Abraxa Date: Thu, 28 Aug 2008 21:10:06 +0000 Subject: [PATCH] Rename global variable FS to FULLSCREEN in order to make it self-descriptive Make EvasCanvas.__init__() honor the fullscreen parameter instead of using the global variable directly git-svn-id: http://www.neo1973-germany.de/svn@95 46df4e5c-bc4e-4628-a0fc-830ba316316d --- epydial/epydial.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/epydial/epydial.py b/epydial/epydial.py index ad8607a..ce4ccdc 100755 --- a/epydial/epydial.py +++ b/epydial/epydial.py @@ -7,7 +7,7 @@ __license__ = "GPL3" WIDTH = 480 HEIGHT = 640 -FS = True +FULLSCREEN = True TITLE = "epydial" WM_INFO = ("epydial", "epydial") @@ -153,7 +153,7 @@ class dialer_main(edje_group): class TestView(object): def __init__(self): edje.frametime_set(1.0 / 20) - self.evas_canvas = EvasCanvas(fullscreen=FS, engine="x11-16", size="480x640") + self.evas_canvas = EvasCanvas(fullscreen=FULLSCREEN, engine="x11-16", size="480x640") self.groups = {} self.groups["pyneo/dialer/main"] = dialer_main(self) @@ -178,7 +178,7 @@ class EvasCanvas(object): self.evas_obj.title = TITLE self.evas_obj.name_class = WM_INFO - self.evas_obj.fullscreen = FS + self.evas_obj.fullscreen = fullscreen # self.evas_obj.size = size self.evas_obj.show()