summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/mygtk2.pm1
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};