First working version of autotools scripts
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@136 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
import sys, os
|
||||
import subprocess
|
||||
import time
|
||||
try:
|
||||
import pygtk
|
||||
pygtk.require("2.0")
|
||||
@@ -14,8 +13,8 @@ try:
|
||||
except:
|
||||
sys.exit(1)
|
||||
|
||||
#GUITARGET is set by the build system
|
||||
PATH = GUITARGET
|
||||
#glade_dir is set by the build system
|
||||
from pinpad_globals import glade_dir
|
||||
|
||||
class PinpadGTK:
|
||||
"""This a simple GTK based GUI to enter a PIN"""
|
||||
@@ -30,7 +29,7 @@ class PinpadGTK:
|
||||
self.pin = ""
|
||||
|
||||
#Set the Glade file
|
||||
self.gladefile = PATH+"pinpad.glade"
|
||||
self.gladefile = glade_dir + "/pinpad.glade"
|
||||
self.builder = gtk.Builder()
|
||||
self.builder.add_from_file(self.gladefile)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user