Changeset 03da8ed in sasview for guiframe


Ignore:
Timestamp:
May 22, 2011 9:45:03 AM (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:
66141a0
Parents:
f2d9e76
Message:

changed a menu item label

Location:
guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    rf2d9e76 r03da8ed  
    944944        id = wx.NewId() 
    945945        self._data_panel_menu = self._view_menu.Append(id, 
    946                                                 '&Data Explorer ON', '') 
     946                                                '&Show Data Explorer', '') 
    947947        wx.EVT_MENU(self, id, self.show_data_panel) 
    948948        if style == GUIFRAME.MANAGER_ON: 
    949             self._data_panel_menu.SetText('Data Explorer OFF') 
     949            self._data_panel_menu.SetText('Hide Data Explorer') 
    950950        else: 
    951             self._data_panel_menu.SetText('Data Explorer ON') 
     951            self._data_panel_menu.SetText('Show Data Explorer') 
    952952        self._view_menu.AppendSeparator() 
    953953        id = wx.NewId() 
     
    17871787            return 
    17881788        label = self._data_panel_menu.GetText() 
    1789         if label == 'Data Explorer ON': 
     1789        if label == 'Show Data Explorer': 
    17901790            pane = self._mgr.GetPane(self.panels["data_panel"].window_name) 
    17911791            #if not pane.IsShown(): 
     
    17951795            self.__gui_style = self.__gui_style | GUIFRAME.MANAGER_ON 
    17961796             
    1797             self._data_panel_menu.SetText('Data Explorer OFF') 
     1797            self._data_panel_menu.SetText('Hide Data Explorer') 
    17981798        else: 
    17991799            pane = self._mgr.GetPane(self.panels["data_panel"].window_name) 
     
    18031803                self._mgr.Update() 
    18041804            self.__gui_style = self.__gui_style & (~GUIFRAME.MANAGER_ON) 
    1805             self._data_panel_menu.SetText('Data Explorer ON') 
     1805            self._data_panel_menu.SetText('Show Data Explorer') 
    18061806     
    18071807    def add_data_helper(self, data_list): 
  • guiframe/media/data_explorer_help.html

    rb2629b4 r03da8ed  
    66<li><a href="#intro">Introduction</a></li> 
    77<li><a href="#load">Load data</a></li> 
    8 <li><a href="#active">Active data</a></li> 
     8<li><a href="#active">Activate data</a></li> 
    99<li><a href="#remove">Remove data</a></li> 
    1010<li><a href="#send">Send data to applications</a></li> 
     
    3939</p> 
    4040 
    41 <h5><a name="active"><font color="blue">Active data</font></a></h5> 
     41<h5><a name="active"><font color="blue">Activate data</font></a></h5> 
    4242<p> 
    4343To interact with data, check a data label and click on a button. Checking Data  
Note: See TracChangeset for help on using the changeset viewer.