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

Removed conditions on pygobject (re #347)

File:
1 edited

Legend:

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

    r303 r994  
    7272        label.set_use_markup(True)
    7373        # 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)
    7675        alignment.add(label)
    7776        table.attach(alignment, 1, 2, 0, 1)
     
    8584        button.connect("clicked", self._fsButtonClicked)
    8685        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)
    8987        alignment.add(button)
    9088        table.attach(alignment, 3, 4, 0, 1)
Note: See TracChangeset for help on using the changeset viewer.