aboutsummaryrefslogtreecommitdiffstats
path: root/torturetest.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2003-07-16 18:52:24 +0000
committerEric S. Raymond <esr@thyrsus.com>2003-07-16 18:52:24 +0000
commit9fa54460136c706f334a67d4d442ac9dc3bb20fb (patch)
treeea8f5b7c324fb24fa990b55d139ab8912623c31c /torturetest.py
parentc28fef7520bd1179a1a3a64fb8b1027bd9b802d0 (diff)
downloadfetchmail-9fa54460136c706f334a67d4d442ac9dc3bb20fb.tar.gz
fetchmail-9fa54460136c706f334a67d4d442ac9dc3bb20fb.tar.bz2
fetchmail-9fa54460136c706f334a67d4d442ac9dc3bb20fb.zip
Try to get the GUI working again.
svn path=/trunk/; revision=3809
Diffstat (limited to 'torturetest.py')
-rwxr-xr-xtorturetest.py15
1 files changed, 11 insertions, 4 deletions
diff --git a/torturetest.py b/torturetest.py
index 4f14a21b..e549c25d 100755
--- a/torturetest.py
+++ b/torturetest.py
@@ -149,24 +149,31 @@ class TortureGUI:
def display(self, site):
for member in TortureGUI.field_map:
self.set_widget(member + "_entry", getattr(site, member))
- for proto in ('POP3', 'IMAP'):
+ for proto in ('POP3', 'APOP', 'IMAP'):
self.wtree.get_widget(proto + "_radiobutton").set_active(site.protocol == proto)
# Housekeeping
def on_torturetest_destroy(self, obj):
gtk.mainquit()
- def on_quit1_activate(self, obj):
+ print "Destroy"
+ def on_quitbutton_activate(self, obj):
+ gtk.mainquit()
+ print "Mainquit"
+ def on_savebutton_activate(self, obj):
gtk.mainquit()
- def on_save1_activate(self, obj):
print "Save"
- def on_delete1_activate(self, obj):
+ def on_deletebutton_activate(self, obj):
+ gtk.mainquit()
print "Delete"
+ gtk.mainquit()
def on_new1_activate(self, obj):
+ gtk.mainquit()
print "New"
def on_open1_activate(self, obj):
print "Open"
def on_combo_entry1_activate(self, obj):
+ print "I see you!"
key = self.combo.entry.get_text()
for site in sitelist:
if site.comment.find(key) > -1: