From 6a544194597af65e894ed732e9d9a14ad8bf8ac2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 26 May 1998 05:04:54 +0000 Subject: Novice mode at user level. svn path=/trunk/; revision=1842 --- fetchmailconf | 17 +++++++++++++---- 1 file 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() # -- cgit v1.2.3