Changeset 56d5562 in sasview for guiframe


Ignore:
Timestamp:
Apr 27, 2011 12:02:02 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
ecfcef6
Parents:
61ffd1e
Message:

renamed a function _on_view

Location:
guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    rdb6ce6c r56d5562  
    631631        self._mgr.RestoreMaximizedPane() 
    632632        # Register for showing/hiding the panel 
    633         wx.EVT_MENU(self, ID, self._on_view) 
     633        wx.EVT_MENU(self, ID, self.on_view) 
    634634        if p not in self.plot_panels.values(): 
    635635            self.plot_panels[ID] = p 
     
    851851                                                  panel.window_caption, 
    852852                                        "Show %s window" % panel.window_caption) 
    853                         wx.EVT_MENU(self, int(item), self._on_view) 
     853                        wx.EVT_MENU(self, int(item), self.on_view) 
    854854                self._menubar.Append(self._window_menu, '&Window') 
    855855                """ 
     
    10151015        self.sb.set_status(event=evt) 
    10161016        
    1017     def _on_view(self, evt): 
     1017    def on_view(self, evt): 
    10181018        """ 
    10191019        A panel was selected to be shown. If it's not already 
  • guiframe/local_perspectives/plotting/plotting.py

    rd264f0da r56d5562  
    294294 
    295295        if self.menu.IsChecked(event_id): 
    296             self.parent._on_view(event) 
     296            self.parent.on_view(event) 
    297297            self.menu.Check(event_id, True) 
    298298        else: 
Note: See TracChangeset for help on using the changeset viewer.