Ignore:
Timestamp:
07/04/19 18:02:37 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Using 'Gdk' instead of 'gdk' (re #347)

File:
1 edited

Legend:

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

    r996 r997  
    580580        If the Escape key is pressed, 'delete-event' is emitted to close the
    581581        window."""
    582         if gdk.keyval_name(event.keyval) == "Escape":
     582        if Gdk.keyval_name(event.keyval) == "Escape":
    583583            self.emit("delete-event", None)
    584584            return True
     
    763763        If the Escape key is pressed, 'delete-event' is emitted to close the
    764764        window."""
    765         if gdk.keyval_name(event.keyval) == "Escape":
     765        if Gdk.keyval_name(event.keyval) == "Escape":
    766766            self.emit("delete-event", None)
    767767            return True
Note: See TracChangeset for help on using the changeset viewer.