aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-05-26 05:04:54 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-05-26 05:04:54 +0000
commit6a544194597af65e894ed732e9d9a14ad8bf8ac2 (patch)
tree2b506c5553bb4408eba8a5d1ba93176e663ed6cc /fetchmailconf
parent3ef1b4650ce14fb54f3ee764fdb643e18a310b2d (diff)
downloadfetchmail-6a544194597af65e894ed732e9d9a14ad8bf8ac2.tar.gz
fetchmail-6a544194597af65e894ed732e9d9a14ad8bf8ac2.tar.bz2
fetchmail-6a544194597af65e894ed732e9d9a14ad8bf8ac2.zip
Novice mode at user level.
svn path=/trunk/; revision=1842
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-xfetchmailconf17
1 files changed, 13 insertions, 4 deletions
diff --git a/fetchmailconf b/fetchmailconf
index c2783f5a..0f4d859b 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -937,7 +937,10 @@ class UserEdit(Frame):
"User options for " + self.user.remote,
userhelp)
- leftwin = Frame(self);
+ if mode != 'novice':
+ leftwin = Frame(self);
+ else:
+ leftwin = self
secwin = Frame(leftwin, relief=RAISED, bd=5)
Label(secwin, text="Authentication").pack(side=TOP)
@@ -968,8 +971,11 @@ class UserEdit(Frame):
self.antispam, '26').pack(side=TOP, fill=X)
targwin.pack(fill=X, anchor=N)
- leftwin.pack(side=LEFT, fill=X, anchor=N)
- rightwin = Frame(self)
+ if mode != 'novice':
+ leftwin.pack(side=LEFT, fill=X, anchor=N)
+ rightwin = Frame(self)
+ else:
+ rightwin = self
optwin = Frame(rightwin, relief=RAISED, bd=5)
Label(optwin, text="Processing Options").pack(side=TOP)
@@ -1012,7 +1018,10 @@ class UserEdit(Frame):
ListEdit("New folder:", self.user.mailboxes, None, foldwin, None)
foldwin.pack(fill=X, anchor=N)
- rightwin.pack(side=LEFT)
+ if mode != 'novice':
+ rightwin.pack(side=LEFT)
+ else:
+ self.pack()
#