|
|
| |
pygtk.require('2.0') | pygtk.require('2.0') |
| |
|
import gtk |
|
|
# X Display initialization. | # X Display initialization. |
# Find running X Server and parse its arguments. | # Find running X Server and parse its arguments. |
# Set environment variables DISPLAY and XAUTHORITY | # Set environment variables DISPLAY and XAUTHORITY |
|
|
# Some versions of fontconfig will segfault if HOME isn't set. | # Some versions of fontconfig will segfault if HOME isn't set. |
os.environ['HOME'] = "" | os.environ['HOME'] = "" |
| |
import gtk |
|
|
|
# Dialog Class | # Dialog Class |
DLG_OK = 1 | DLG_OK = 1 |
DLG_CANCEL = 2 | DLG_CANCEL = 2 |