diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-11-26 21:47:58 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-11-26 21:47:58 +0000 |
commit | d85eab6256a154934c9e7ebe849dd4bc24952f6c (patch) | |
tree | 17c139540e9517ea069bdf5e68c28b2775e9b110 /perl-install | |
parent | b9740c2a42b857d07103276d39a33d540d2d052b (diff) | |
download | drakx-d85eab6256a154934c9e7ebe849dd4bc24952f6c.tar drakx-d85eab6256a154934c9e7ebe849dd4bc24952f6c.tar.gz drakx-d85eab6256a154934c9e7ebe849dd4bc24952f6c.tar.bz2 drakx-d85eab6256a154934c9e7ebe849dd4bc24952f6c.tar.xz drakx-d85eab6256a154934c9e7ebe849dd4bc24952f6c.zip |
allow labels to be set selectable
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/mygtk2.pm | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 1127492f2..b18054551 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -12,6 +12,8 @@ - bootloader: o do not add removable drives as "Windows" entry in bootloader - detect better invalid dos partition table (fixes a crash in harddrake) +- mygtk2: + o allow labels to be set selectable Version 12.78 - 18 November 2009 diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index cfe592b06..795ad69fa 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -416,6 +416,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_selectable(delete $opts->{selectable}) if exists $opts->{selectable}; $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}; |