GuiImap: turn non-editable fields into labels

This commit is contained in:
steffen123 2010-08-10 04:50:27 +02:00
parent 59f8bb1a70
commit d94254c9cd

View File

@ -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)