Changeset 434:edeec38910a5


Ignore:
Timestamp:
02/20/13 16:24:52 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed some constants (re #154)

File:
1 edited

Legend:

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

    r433 r434  
    122122        scrolledWindow.add(table)
    123123        scrolledWindow.set_size_request(400, 150)
    124         scrolledWindow.set_policy(gtk.PolicyType.ALWAYS if pygobject
    125                                   else gtk.POLICY_AUTOMATIC,
    126                                   gtk.PolicyType.ALWAYS if pygobject
    127                                   else gtk.POLICY_AUTOMATIC)
    128         scrolledWindow.set_shadow_type(gtk.ShadowType.IN if pygobject
    129                                        else gtk.SHADOW_IN)
     124        scrolledWindow.set_policy(POLICY_AUTOMATIC, POLICY_AUTOMATIC)
     125        scrolledWindow.set_shadow_type(SHADOW_IN)
    130126
    131127        alignment.add(scrolledWindow)
Note: See TracChangeset for help on using the changeset viewer.