diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2003-07-16 18:52:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2003-07-16 18:52:24 +0000 |
commit | 9fa54460136c706f334a67d4d442ac9dc3bb20fb (patch) | |
tree | ea8f5b7c324fb24fa990b55d139ab8912623c31c /torturetest.py | |
parent | c28fef7520bd1179a1a3a64fb8b1027bd9b802d0 (diff) | |
download | fetchmail-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-x | torturetest.py | 15 |
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: |