-Bugfix: Wrong programm name in desktop entry

-Bugfix: MsgBox class was not available in widget.py


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@246 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
oepen
2010-08-05 20:46:21 +00:00
parent 0bb8a0f393
commit 98445c69c9
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ Version=@VERSION@
Encoding=UTF-8
Name=PIN ändern
Comment=GUI zum Ändern der eID-PIN
Exec=eid_gui.py
Exec=change-pin.py
Icon=@prefix@/share/eid_gui/images/OpenPACElogo.png
Terminal=false
Type=Application

View File

@@ -7,6 +7,7 @@ except ImportError:
sys.exit(1)
from eid_gui_globals import AT_CHAT_STRINGS, IMAGES
from windows import MsgBox
class customCheckButton(object):
"""This class provides a custom version of gtk.CheckButton.
@@ -60,6 +61,5 @@ class customCheckButton(object):
def _show_info(self, widget=None, data=None):
"""Show a messagebox containing info about the access right in
question"""
help = MsgBox(self.parent, self.helptext, "info",
gtk.DIALOG_DESTROY_WITH_PARENT)
help = MsgBox(self.parent, self.helptext, "info")