Changeset 127:6141f30a2060 for src/mlx


Ignore:
Timestamp:
04/29/12 08:33:53 (13 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Enabled word wrapping in the comment fields

Location:
src/mlx/gui
Files:
2 edited

Legend:

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

    r124 r127  
    3232    CONTROL_MASK = gdk.CONTROL_MASK
    3333    DIALOG_MODAL = gtk.DIALOG_MODAL
     34    WRAP_WORD = gtk.WRAP_WORD
    3435
    3536    def text2unicode(text):
     
    5758    CONTROL_MASK = gdk.ModifierType.CONTROL_MASK
    5859    DIALOG_MODAL = gtk.DialogFlags.MODAL
     60    WRAP_WORD = gtk.WrapMode.WORD
    5961
    6062    import codecs
  • src/mlx/gui/info.py

    r123 r127  
    5050                                 else gtk.SHADOW_IN)
    5151        comments = gtk.TextView()
     52        comments.set_wrap_mode(WRAP_WORD)
    5253        scroller.add(comments)
    5354        alignment.add(scroller)
Note: See TracChangeset for help on using the changeset viewer.