Changeset bf4402c3 in sasview for guiframe/gui_manager.py


Ignore:
Timestamp:
Jan 31, 2011 2:04:51 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
cbf22e5
Parents:
8994b6b
Message:

remove unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    r6db811e rbf4402c3  
    104104        self._help_menu = None 
    105105        self._tool_menu = None 
     106        self._plugin_menu_list = [] 
    106107        ## Find plug-ins 
    107108        # Modify this so that we can specify the directory to look into 
     
    112113        ## List of panels 
    113114        self.panels = {} 
    114  
    115         ## Next available ID for wx gui events  
    116         #TODO:  No longer used - remove all calls to this  
    117         self.next_id = 20000 
    118115 
    119116        # Default locations 
     
    143140        Store reference to the last panel on focus 
    144141        """ 
    145         print "set_panel_on_focus", event.panel 
    146142        self.panel_on_focus = event.panel 
    147143        if self.panel_on_focus is not None and self._data_panel is not None: 
     
    515511        for item in self.plugins: 
    516512            if item != self._plotting_plugin: 
    517                 for (self.next_id, menu, name) in \ 
    518                     item.populate_menu(self.next_id, self): 
     513                for (menu, name) in \ 
     514                    item.populate_menu(self): 
    519515                    self._menubar.Append(menu, name) 
    520516                    
     
    567563        self._window_menu = wx.Menu() 
    568564        if self._plotting_plugin is not None: 
    569             for (self.next_id, menu, name) in \ 
    570                 self._plotting_plugin.populate_menu(self.next_id, self): 
     565            for (menu, name) in self._plotting_plugin.populate_menu(self): 
    571566                self._window_menu.AppendSubMenu(menu, name) 
    572567        self._window_menu.AppendSeparator() 
Note: See TracChangeset for help on using the changeset viewer.