Changeset 73:0108dbf6b53f for src/mlx
- Timestamp:
- 04/11/12 15:11:58 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r72 r73 410 410 self.setMainWidget(alignment) 411 411 412 button = self.addButton(gtk.STOCK_GO_BACK) 413 button.set_use_stock(True) 414 button.connect("clicked", self._backClicked) 415 412 416 self._button = self.addButton(gtk.STOCK_GO_FORWARD, default = True) 413 417 self._button.set_use_stock(True) … … 431 435 """Called when the selection is changed.""" 432 436 self._button.set_sensitive(selection.count_selected_rows()==1) 437 438 def _backClicked(self, button): 439 """Called when the Back button is pressed.""" 440 self.goBack() 433 441 434 442 def _forwardClicked(self, button):
Note:
See TracChangeset
for help on using the changeset viewer.