From cf57f76c2b9c48c6c744daa8cdfd49a6f564be13 Mon Sep 17 00:00:00 2001 From: oepen Date: Fri, 16 Jul 2010 09:16:04 +0000 Subject: [PATCH] Finally found the correct window size for the OpenMoko git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@224 96b47cad-a561-4643-ad3b-153ac7d7599c --- pace-gui/src/pace-gui.py | 3 ++- pace-gui/src/pinpad.glade | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pace-gui/src/pace-gui.py b/pace-gui/src/pace-gui.py index b276a25..9d9b778 100644 --- a/pace-gui/src/pace-gui.py +++ b/pace-gui/src/pace-gui.py @@ -36,7 +36,8 @@ class MokoWindow(gtk.Window): assert(isinstance(self.title_str, basestring)) self.connect("destroy", gtk.main_quit) - self.set_default_size(480, 640) #Display resolution of the OpenMoko + #Display resolution of OpenMoko minus height of the SHR toolbar + self.set_size_request(480, 640) #self.set_resizable(False) #Main VBox, which consists of the title, the body, and the buttons diff --git a/pace-gui/src/pinpad.glade b/pace-gui/src/pinpad.glade index 88f0d38..01dc436 100644 --- a/pace-gui/src/pinpad.glade +++ b/pace-gui/src/pinpad.glade @@ -5,10 +5,9 @@ True Pinpad - False center 480 - 640 + 586 OpenPACElogo.png