aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2020-01-24 23:38:16 +0000
committerMatthias Andree <matthias.andree@gmx.de>2020-01-24 23:38:16 +0000
commit2cebc4f89e653781695d589d71180f195e5fb6ba (patch)
tree85042a7acd48b5aaf6bb0c2afbd484387af7b61a
parent1ee78408cd4a44736124e784f42fee223286ddbf (diff)
downloadfetchmail-2cebc4f89e653781695d589d71180f195e5fb6ba.tar.gz
fetchmail-2cebc4f89e653781695d589d71180f195e5fb6ba.tar.bz2
fetchmail-2cebc4f89e653781695d589d71180f195e5fb6ba.zip
fetchmailconf: Make RunWindow resizeable.
-rwxr-xr-xfetchmailconf.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/fetchmailconf.py b/fetchmailconf.py
index 6cf9ffe7..2573075c 100755
--- a/fetchmailconf.py
+++ b/fetchmailconf.py
@@ -1937,7 +1937,7 @@ class RunWindow(Frame):
make_icon_window(self, fetchmail_icon)
# This is a scrolling text window
- textframe = Frame(self)
+ textframe = Frame(master)
scroll = Scrollbar(textframe)
self.textwidget = Text(textframe, setgrid=TRUE)
textframe.pack(side=TOP, expand=YES, fill=BOTH)
@@ -1945,9 +1945,7 @@ class RunWindow(Frame):
self.textwidget.pack(side=LEFT, expand=YES, fill=BOTH)
scroll.config(command=self.textwidget.yview)
scroll.pack(side=RIGHT, fill=BOTH)
- textframe.pack(side=TOP)
-
- Button(self, text='Quit', fg='blue', command=self.leave).pack()
+ Button(self.master, text='Quit', fg='blue', command=self.leave).pack()
self.update() # Draw widget before executing fetchmail