Changeset 47:004e3163bdd8
- Timestamp:
- 03/18/12 19:20:03 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r46 r47 377 377 setupBox.pack_start(gtk.VSeparator(), False, False, 8) 378 378 379 self._connectButton = gtk.ToggleButton(label = "Connect") 379 self._connectButton = gtk.ToggleButton(label = "_Connect", 380 use_underline = True) 380 381 self._connectButton.set_tooltip_text("Push to connect to Flight Simulator and start a new flight.\n" 381 382 "Push again to disconnect from FS.") 383 self._connectButton.set_can_default(True) 382 384 383 385 self._connectButton.connect("toggled", self._connectToggled) … … 388 390 389 391 self._quitButton = gtk.Button(label = "_Quit", use_underline = True) 390 self._quitButton.set_can_default(True)391 392 self._quitButton.set_tooltip_text("Quit the program.") 392 393 … … 726 727 self._wizard.grabDefault() 727 728 elif page_num==1: 728 self._ quitButton.grab_default()729 self._connectButton.grab_default() 729 730 else: 730 731 self._mainWindow.set_default(None)
Note:
See TracChangeset
for help on using the changeset viewer.