Changeset 124:6633722f7f86 for src/mlx/gui/flight.py
- Timestamp:
- 04/29/12 07:37:22 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r122 r124 306 306 dialog = gtk.MessageDialog(parent = self._wizard.gui.mainWindow, 307 307 type = MESSAGETYPE_ERROR, 308 buttons = BUTTONSTYPE_OK,309 308 message_format = xstr("login_invalid")) 309 dialog.add_button(xstr("button_ok"), RESPONSETYPE_OK) 310 310 dialog.set_title(WINDOW_TITLE_BASE) 311 311 dialog.format_secondary_markup(xstr("login_invalid_sec")) … … 315 315 dialog = gtk.MessageDialog(parent = self._wizard.gui.mainWindow, 316 316 type = MESSAGETYPE_ERROR, 317 buttons = BUTTONSTYPE_OK,318 317 message_format = xstr("login_failconn")) 318 dialog.add_button(xstr("button_ok"), RESPONSETYPE_OK) 319 319 dialog.set_title(WINDOW_TITLE_BASE) 320 320 dialog.format_secondary_markup(xstr("login_failconn_sec")) … … 523 523 dialog = gtk.MessageDialog(parent = self._wizard.gui.mainWindow, 524 524 type = MESSAGETYPE_ERROR, 525 buttons = BUTTONSTYPE_OK,526 525 message_format = xstr("gatesel_conflict")) 526 dialog.add_button(xstr("button_ok"), RESPONSETYPE_OK) 527 527 dialog.set_title(WINDOW_TITLE_BASE) 528 528 dialog.format_secondary_markup(xstr("gatesel_conflict_sec")) … … 1880 1880 1881 1881 dialog = gtk.MessageDialog(parent = self._wizard.gui.mainWindow, 1882 type = type, buttons = BUTTONSTYPE_OK,1883 message_format = messageFormat)1882 type = type, message_format = messageFormat) 1883 dialog.add_button(xstr("button_ok"), RESPONSETYPE_OK) 1884 1884 dialog.set_title(WINDOW_TITLE_BASE) 1885 1885 if secondaryMarkup is not None: … … 2140 2140 dialog = gtk.MessageDialog(parent = self.gui.mainWindow, 2141 2141 type = MESSAGETYPE_ERROR, 2142 buttons = BUTTONSTYPE_OK,2143 2142 message_format = 2144 2143 xstr("fleet_update_failed")) 2144 dialog.add_button(xstr("button_ok"), RESPONSETYPE_OK) 2145 2145 dialog.set_title(WINDOW_TITLE_BASE) 2146 2146 dialog.run()
Note:
See TracChangeset
for help on using the changeset viewer.