Changeset 994:e71fbf2ee978 for src/mlx/gui/weighthelp.py
- Timestamp:
- 07/04/19 17:29:58 (5 years ago)
- Branch:
- python3
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/weighthelp.py
r303 r994 72 72 label.set_use_markup(True) 73 73 # FIXME: should be a constant in common 74 label.set_justify(gtk.Justification.CENTER if pygobject 75 else gtk.JUSTIFY_CENTER) 74 label.set_justify(gtk.Justification.CENTER) 76 75 alignment.add(label) 77 76 table.attach(alignment, 1, 2, 0, 1) … … 85 84 button.connect("clicked", self._fsButtonClicked) 86 85 label = button.get_child() 87 label.set_justify(gtk.Justification.CENTER if pygobject 88 else gtk.JUSTIFY_CENTER) 86 label.set_justify(gtk.Justification.CENTER) 89 87 alignment.add(button) 90 88 table.attach(alignment, 3, 4, 0, 1)
Note:
See TracChangeset
for help on using the changeset viewer.