Changeset d11d1aa in sasview
- Timestamp:
- Apr 9, 2014 6:55:03 AM (11 years ago)
- 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:
- 6a4511d1
- Parents:
- 3d6b00c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/guiframe/gui_manager.py
r3d6b00c rd11d1aa 768 768 769 769 # Set up the menu 770 self._setup_menus() 770 self._add_menu_file() 771 self._add_menu_edit() 772 self._add_menu_view() 773 self._add_menu_application() 774 self._add_menu_tool() 775 self._add_current_plugin_menu() 776 self._add_help_menu() 771 777 772 778 try: … … 1210 1216 1211 1217 return captions 1212 1213 def _setup_menus(self):1214 """1215 Set up the application menus1216 """1217 # Menu1218 self._add_menu_file()1219 self._add_menu_edit()1220 self._add_menu_view()1221 #self._add_menu_data()1222 self._add_menu_application()1223 self._add_menu_tool()1224 self._add_current_plugin_menu()1225 #self._add_menu_window()1226 self._add_help_menu()1227 1218 1228 1219 def _setup_tool_bar(self): … … 1293 1284 Add available plug-in sub-menus. 1294 1285 """ 1295 if (self._menubar is None) or (self._current_perspective is None): 1286 if self._menubar is None or self._current_perspective is None \ 1287 or self._menubar.GetMenuCount()==0: 1296 1288 return 1297 1289 #replace or add a new menu for the current plugin
Note: See TracChangeset
for help on using the changeset viewer.