Changeset 69:e08dab9f98ed for src/mlx/gui
- Timestamp:
- 04/09/12 07:51:48 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r68 r69 275 275 scrolledWindow.set_policy(gtk.PolicyType.AUTOMATIC if pygobject 276 276 else gtk.POLICY_AUTOMATIC, 277 gtk.PolicyType.A LWAYSif pygobject278 else gtk.POLICY_A LWAYS)277 gtk.PolicyType.AUTOMATIC if pygobject 278 else gtk.POLICY_AUTOMATIC) 279 279 scrolledWindow.set_shadow_type(gtk.ShadowType.IN if pygobject 280 280 else gtk.SHADOW_IN) … … 373 373 scrolledWindow.set_policy(gtk.PolicyType.AUTOMATIC if pygobject 374 374 else gtk.POLICY_AUTOMATIC, 375 gtk.PolicyType.A LWAYSif pygobject376 else gtk.POLICY_A LWAYS)375 gtk.PolicyType.AUTOMATIC if pygobject 376 else gtk.POLICY_AUTOMATIC) 377 377 scrolledWindow.set_shadow_type(gtk.ShadowType.IN if pygobject 378 378 else gtk.SHADOW_IN) … … 819 819 routeWindow.set_shadow_type(gtk.ShadowType.IN if pygobject 820 820 else gtk.SHADOW_IN) 821 routeWindow.set_policy(gtk.PolicyType.AUTOMATIC if pygobject 822 else gtk.POLICY_AUTOMATIC, 823 gtk.PolicyType.AUTOMATIC if pygobject 824 else gtk.POLICY_AUTOMATIC) 821 825 822 826 self._route = gtk.TextView() … … 915 919 self._activated = False 916 920 917 title = "Briefing (%d/2): %s airport" % (1 if departure else 2,918 919 921 title = "Briefing (%d/2): %s" % (1 if departure else 2, 922 "departure" if departure 923 else "arrival") 920 924 921 925 help = "Read carefully the NOTAMs and METAR below." … … 934 938 scrolledWindow = gtk.ScrolledWindow() 935 939 scrolledWindow.set_size_request(-1, 128) 940 scrolledWindow.set_policy(gtk.PolicyType.AUTOMATIC if pygobject 941 else gtk.POLICY_AUTOMATIC, 942 gtk.PolicyType.AUTOMATIC if pygobject 943 else gtk.POLICY_AUTOMATIC) 936 944 self._notams = gtk.TextView() 937 945 self._notams.set_editable(False) … … 951 959 scrolledWindow = gtk.ScrolledWindow() 952 960 scrolledWindow.set_size_request(-1, 32) 961 scrolledWindow.set_policy(gtk.PolicyType.AUTOMATIC if pygobject 962 else gtk.POLICY_AUTOMATIC, 963 gtk.PolicyType.AUTOMATIC if pygobject 964 else gtk.POLICY_AUTOMATIC) 953 965 self._metar = gtk.TextView() 954 966 self._metar.set_editable(False)
Note:
See TracChangeset
for help on using the changeset viewer.