Restructured the complete code to make it more modular
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@232 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
18
eID_gui/src/eid_gui.py
Normal file
18
eID_gui/src/eid_gui.py
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env python
|
||||
# coding: utf-8
|
||||
|
||||
import sys, os, subprocess
|
||||
try:
|
||||
import pygtk
|
||||
pygtk.require("2.0")
|
||||
import gtk, gobject
|
||||
except ImportError:
|
||||
sys.exit(1)
|
||||
|
||||
from eid.eid_gui_globals import TEST_DESCRIPTION, TEST_CVC
|
||||
from eid.windows import CertificateDescriptionWindow
|
||||
|
||||
if __name__ == "__main__":
|
||||
gobject.threads_init()
|
||||
CertificateDescriptionWindow(TEST_DESCRIPTION, TEST_CVC)
|
||||
gtk.main()
|
||||
Reference in New Issue
Block a user