gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: jakarta-gump/python/gump view.py
Date Sun, 04 May 2003 21:56:22 GMT
nicolaken    2003/05/04 14:56:22

  Modified:    python/gump view.py
  Log:
  Enable console toggling.
  
  Dunno why the "retoggle" does not work :-/
  
  Revision  Changes    Path
  1.22      +4 -3      jakarta-gump/python/gump/view.py
  
  Index: view.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/view.py,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- view.py	4 May 2003 21:50:54 -0000	1.21
  +++ view.py	4 May 2003 21:56:22 -0000	1.22
  @@ -120,7 +120,7 @@
   
       # Create our toolbar
       self.frame.toolbar = self.frame.CreateToolBar(wxTB_HORIZONTAL |
  -                                        wxNO_BORDER | wxTB_FLAT)
  +                                        wxNO_BORDER | wxTB_FLAT )
   
       self.frame.toolbar.AddSimpleTool(self.menu_BACK,
                                        wxBitmap("gump/images/back.bmp",
  @@ -139,6 +139,7 @@
                                        wxBitmap("gump/images/console.bmp",
                                                 wxBITMAP_TYPE_BMP),
                                        shortHelp="Toggle this")
  +    self.frame.toolbar.ToggleTool(self.menu_CONSOLE, TRUE);
       
       self.frame.toolbar.AddSimpleTool(self.menu_HELP,
                                        wxBitmap("gump/images/help.bmp",
  @@ -250,9 +251,9 @@
     # help action
     def consoleAction(self,event):
      if event.IsChecked():
  -     self.logsplitter.Unsplit(self.logview)
  -   else:
        self.logsplitter.SplitHorizontally(self.mainsplit, self.logview)
  +   else:
  +     self.logsplitter.Unsplit(self.logview)
       
     # select a single feed and display titles from each item
     def selectTree(self, event):
  
  
  

Mime
View raw message