diff options
author | Steven M. Gava <elguavas@python.net> | 2001-10-07 11:10:44 (GMT) |
---|---|---|
committer | Steven M. Gava <elguavas@python.net> | 2001-10-07 11:10:44 (GMT) |
commit | 898a365c276951ab2471afe2e24bbc910666d361 (patch) | |
tree | 29679918044446840214b28e9f80aa712df7ad2c /Lib/idlelib/EditorWindow.py | |
parent | 322c0d187d834013d70ffdb0f7f1b6f72eef6443 (diff) | |
download | cpython-898a365c276951ab2471afe2e24bbc910666d361.zip cpython-898a365c276951ab2471afe2e24bbc910666d361.tar.gz cpython-898a365c276951ab2471afe2e24bbc910666d361.tar.bz2 |
merged status bar packing patch
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 52aa399..ed90d27 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -137,6 +137,8 @@ class EditorWindow: text.bind("<<open-class-browser>>", self.open_class_browser) text.bind("<<open-path-browser>>", self.open_path_browser) + self.set_status_bar() + vbar['command'] = text.yview vbar.pack(side=RIGHT, fill=Y) @@ -190,10 +192,10 @@ class EditorWindow: if self.extensions.has_key('AutoIndent'): self.extensions['AutoIndent'].set_indentation_params( self.ispythonsource(filename)) - self.set_status_bar() + def set_status_bar(self): - self.status_bar = self.MultiStatusBar(self.text_frame) + self.status_bar = self.MultiStatusBar(self.top) self.status_bar.set_label('column', 'Col: ?', side=RIGHT) self.status_bar.set_label('line', 'Ln: ?', side=RIGHT) self.status_bar.pack(side=BOTTOM, fill=X) |