From d94254c9cde5645c614449f8e9227ff700e068f8 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Tue, 10 Aug 2010 04:50:27 +0200 Subject: [PATCH] GuiImap: turn non-editable fields into labels --- pyfpdb/GuiImapFetcher.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyfpdb/GuiImapFetcher.py b/pyfpdb/GuiImapFetcher.py index f8077cfc..28f71399 100644 --- a/pyfpdb/GuiImapFetcher.py +++ b/pyfpdb/GuiImapFetcher.py @@ -104,7 +104,12 @@ class GuiImapFetcher (threading.Thread): for email in self.config.emails: config=self.config.emails[email] box=gtk.HBox(homogeneous=True) - for field in (config.siteName, config.fetchType, config.host, config.username, config.password, config.folder): + + for field in (config.siteName, config.fetchType): + label=gtk.Label(field) + box.add(label) + + for field in (config.host, config.username, config.password, config.folder): entry=gtk.Entry() entry.set_text(field) box.add(entry)