summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-11-26 21:47:58 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-11-26 21:47:58 +0000
commitd85eab6256a154934c9e7ebe849dd4bc24952f6c (patch)
tree17c139540e9517ea069bdf5e68c28b2775e9b110 /perl-install/mygtk2.pm
parentb9740c2a42b857d07103276d39a33d540d2d052b (diff)
downloaddrakx-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/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm1
1 files changed, 1 insertions, 0 deletions
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};