Changeset 1012:bad9cfc4bfc3 for src


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

Fixed date selection in the booking window (re #347).

File:
1 edited

Legend:

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

    r1001 r1012  
    465465    def _flightDateClicked(self, button):
    466466        """Called when the flight date button is clicked."""
    467         self._calendarWindow.set_position(Gtk.WIN_POS_MOUSE)
     467        self._calendarWindow.set_position(Gtk.WindowPosition.MOUSE)
    468468        self.set_focus(self._calendarWindow)
    469469        self._calendarWindow.show_all()
     
    678678    def _flightDateClicked(self, button):
    679679        """Called when the flight date button is clicked."""
    680         self._calendarWindow.set_position(Gtk.WIN_POS_MOUSE)
     680        self._calendarWindow.set_position(Gtk.WindowPosition.MOUSE)
    681681        self.set_focus(self._calendarWindow)
    682682        self._calendarWindow.show_all()
Note: See TracChangeset for help on using the changeset viewer.