Ignore:
Timestamp:
Apr 19, 2011 10:56:22 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:
48665ed
Parents:
fdc690f
Message:

rearranged graph(window) menu items

Location:
guiframe/local_perspectives/plotting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/Plotter2D.py

    r2ca51f44 r52f3c98  
    287287            slicerpop.AppendSeparator()  
    288288        id = wx.NewId() 
    289         slicerpop.Append(id, '&Detector Parameters') 
     289        slicerpop.Append(id, '&2D Color Map') 
    290290        wx.EVT_MENU(self, id, self._onEditDetector) 
    291291        id = wx.NewId() 
  • guiframe/local_perspectives/plotting/plotting.py

    r6d727ae r52f3c98  
    2020from sans.guiframe.dataFitting import Data2D 
    2121 
    22 DEFAULT_MENU_ITEM_LABEL = "No plot available" 
     22DEFAULT_MENU_ITEM_LABEL = "No graph available" 
    2323DEFAULT_MENU_ITEM_ID = wx.NewId() 
    2424 
     
    6464                             "No graph available") 
    6565        self.menu.FindItemByPosition(0).Enable(False) 
    66         return [(self.menu, "Graph")] 
     66        return [(self.menu, "Show")] 
    6767     
    6868    def get_panels(self, parent): 
     
    216216        if self.menu.GetMenuItemCount() == 0: 
    217217            self.menu.Append(DEFAULT_MENU_ITEM_ID, DEFAULT_MENU_ITEM_LABEL,  
    218                              "No plot available") 
     218                             "No graph available") 
    219219            self.menu.FindItemByPosition(0).Enable(False) 
    220220         
Note: See TracChangeset for help on using the changeset viewer.