/usr/lib/python2.7/dist-packages/PythonCard/tools/resourceEditor/modules/stackInfoDialog.py is in python-pythoncard 0.8.2-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | """
__version__ = "$Revision: 1.9 $"
__date__ = "$Date: 2004/08/12 19:14:23 $"
"""
from PythonCard import model
import os
class StackInfoDialog(model.CustomDialog):
def __init__(self, aBg, rsrc):
model.CustomDialog.__init__(self, aBg)
self.parent = aBg
# if some special setup is necessary, do it here
self.components.fldName.text = rsrc.application.name
def stackInfoDialog(parent):
dlg = StackInfoDialog(parent, parent.rsrc)
result = dlg.showModal()
result.text = dlg.components.fldName.text
dlg.destroy()
return result
|