Changeset 1044:988bfea3e8db for src/mlx/gui
- Timestamp:
- 04/04/22 13:59:17 (3 years ago)
- Branch:
- python3
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r1034 r1044 942 942 try: 943 943 with open(fileName, "rt") as f: 944 bookedFlight.readFromFile(f )944 bookedFlight.readFromFile(f, self._wizard._loginResult.fleet) 945 945 self.addFlight(bookedFlight) 946 946 except Exception as e: -
src/mlx/gui/prefs.py
r999 r1044 276 276 277 277 self._updateURL.set_text(config.updateURL) 278 279 self._useRPC.set_active(config.useRPC)280 278 281 279 self._settingFromConfig = False … … 322 320 config.autoUpdate = self._autoUpdate.get_active() 323 321 config.updateURL = self._updateURL.get_text() 324 config.useRPC = self._useRPC.get_active()325 322 326 323 def _buildGeneral(self): … … 817 814 updateURLBox.pack_start(self._updateURL, True, True, 4) 818 815 819 self._useRPC = Gtk.CheckButton(xstr("prefs_use_rpc"))820 mainBox.pack_start(self._useRPC, False, False, 16)821 822 self._useRPC.set_use_underline(True)823 self._useRPC.set_tooltip_text(xstr("prefs_use_rpc_tooltip"))824 825 816 return mainAlignment 826 817
Note:
See TracChangeset
for help on using the changeset viewer.