Ignore:
Timestamp:
06/23/19 12:08:23 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The buttons on the flight list windows handle underline (re #347).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flightlist.py

    r927 r982  
    541541        self._closeButton = gtk.Button(xstr("button_ok"))
    542542        self._closeButton.connect("clicked", self._closeClicked)
     543        self._closeButton.set_use_underline(True)
    543544        alignment.add(self._closeButton)
    544545        vbox.pack_start(alignment, False, False, 2)
     
    666667        self._refreshButton = gtk.Button(xstr("acceptedflt_refresh"))
    667668        self._refreshButton.set_sensitive(True)
     669        self._refreshButton.set_use_underline(True)
    668670        self._refreshButton.connect("clicked", self._refreshClicked)
    669671        buttonBox.pack_start(self._refreshButton, False, False, 2)
     
    676678        self._viewButton = gtk.Button(xstr("acceptedflt_view"))
    677679        self._viewButton.set_sensitive(False)
     680        self._viewButton.set_use_underline(True)
    678681        self._viewButton.connect("clicked", self._viewClicked)
    679682        buttonBox.pack_start(self._viewButton, False, False, 2)
     
    686689        self._closeButton =  gtk.Button(xstr("button_ok"))
    687690        self._closeButton.connect("clicked", self._closeClicked)
     691        self._closeButton.set_use_underline(True)
    688692
    689693        buttonAlignment.add(self._closeButton)
Note: See TracChangeset for help on using the changeset viewer.