Changeset 999:e096a5638b87 for src/mlx/gui/faultexplain.py
- Timestamp:
- 07/04/19 18:54:23 (5 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/faultexplain.py
r997 r999 34 34 self._fault = fault = Gtk.Label() 35 35 fault.set_xalign(0.0) 36 fault.set_justify( JUSTIFY_LEFT)36 fault.set_justify(Gtk.Justification.LEFT) 37 37 fault.set_line_wrap(True) 38 38 … … 47 47 48 48 self._explanation = explanation = Gtk.TextView() 49 explanation.set_wrap_mode( WRAP_WORD)49 explanation.set_wrap_mode(Gtk.WrapMode.WORD) 50 50 explanation.set_accepts_tab(False) 51 51 explanation.set_size_request(-1, 100) … … 153 153 154 154 scroller = Gtk.ScrolledWindow() 155 scroller.set_policy( POLICY_AUTOMATIC, POLICY_AUTOMATIC)156 scroller.set_shadow_type( SHADOW_NONE)155 scroller.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC) 156 scroller.set_shadow_type(Gtk.ShadowType.NONE) 157 157 158 158 self._faults = Gtk.VBox()
Note:
See TracChangeset
for help on using the changeset viewer.