diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-20 18:03:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-20 18:03:48 +0000 |
commit | 5dde24efb3ef6f826db801212a5d1a109ab5f574 (patch) | |
tree | cfcde45def17ff8c614d006847a748cf0b18c95a | |
parent | 747bca4f6c085777c2afeb23d58c98debc5c2db9 (diff) | |
download | drakx-5dde24efb3ef6f826db801212a5d1a109ab5f574.tar drakx-5dde24efb3ef6f826db801212a5d1a109ab5f574.tar.gz drakx-5dde24efb3ef6f826db801212a5d1a109ab5f574.tar.bz2 drakx-5dde24efb3ef6f826db801212a5d1a109ab5f574.tar.xz drakx-5dde24efb3ef6f826db801212a5d1a109ab5f574.zip |
support ellipsize option for labels
-rw-r--r-- | perl-install/mygtk2.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index d885df298..7fcf0fe14 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -333,6 +333,7 @@ sub _gtk__Label { $w->set_text(delete $opts->{text}) if exists $opts->{text}; } else { $w = exists $opts->{text} ? Gtk2::Label->new(delete $opts->{text}) : Gtk2::Label->new; + $w->set_ellipsize(delete $opts->{ellipsize}) if exists $opts->{ellipsize}; $w->set_justify(delete $opts->{justify}) if exists $opts->{justify}; $w->set_line_wrap(delete $opts->{line_wrap}) if exists $opts->{line_wrap}; $w->set_alignment(@{delete $opts->{alignment}}) if exists $opts->{alignment}; |