Changeset 865:b452afb620fa for src
- Timestamp:
- 06/18/17 18:02:32 (7 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r864 r865 1091 1091 1092 1092 menuItem = gtk.MenuItem() 1093 menuItem.set_label(xstr("flightsel_popup_print")) 1094 menuItem.set_use_underline(True) 1095 menuItem.connect("activate", self._popupPrint) 1096 menuItem.show() 1097 1098 menu.append(menuItem) 1099 1100 menuItem = gtk.MenuItem() 1093 1101 menuItem.set_label(xstr("flightsel_popup_delete")) 1094 1102 menuItem.set_use_underline(True) … … 1109 1117 if not self._completed: 1110 1118 self._saveSelected() 1119 1120 def _popupPrint(self, menuItem): 1121 """Called when the Print briefing menu item is activated in the popup menu.""" 1122 if not self._completed: 1123 self._printSelected() 1111 1124 1112 1125 def _popupDelete(self, menuItem):
Note:
See TracChangeset
for help on using the changeset viewer.