[Idle-dev] [ idlefork-Patches-450379 ] pack statusbar below scrollbar

noreply@sourceforge.net noreply@sourceforge.net
Sun, 07 Oct 2001 04:01:34 -0700


Patches item #450379, was opened at 2001-08-12 18:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=309579&aid=450379&group_id=9579

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Stephen M. Gava (elguavas)
>Assigned to: Stephen M. Gava (elguavas)
Summary: pack statusbar below scrollbar

Initial Comment:
Pack editor window statusbar below the scrollbar.
patch submitted to elguavas by Chui Tey
<teyc@bigfoot.com> , entered by elguavas
---------------


*** old/EditorWindow.py     Sat Jul 21 19:59:38 2001
--- new/EditorWindow.py  Sun Aug 12 22:02:24 2001
***************
*** 159,164 ****
--- 159,167 ----
              text.bind("<<open-class-browser>>",
self.open_class_browser)
              text.bind("<<open-path-browser>>",
self.open_path_browser)

+         #  pack the status bar before packing the
scroll bar
+         self.set_status_bar()
+
          vbar['command'] = text.yview
          vbar.pack(side=RIGHT, fill=Y)

***************
*** 212,221 ****
          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.set_label('column', 'Col: ?',
side=RIGHT)
          self.status_bar.set_label('line', 'Ln: ?',
side=RIGHT)
          self.status_bar.pack(side=BOTTOM, fill=X)
--- 215,224 ----
          if self.extensions.has_key('AutoIndent'):
             
self.extensions['AutoIndent'].set_indentation_params(
                  self.ispythonsource(filename))

      def set_status_bar(self):
!         # status bar should be a child of the top
level
!         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)

----------------------------------------------------------------------

>Comment By: Stephen M. Gava (elguavas)
Date: 2001-10-07 04:01

Message:
Logged In: YES 
user_id=75867

merged in the patch from Chui Tey 
                   <teyc@bigfoot.com>

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=309579&aid=450379&group_id=9579