From d85eab6256a154934c9e7ebe849dd4bc24952f6c Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 26 Nov 2009 21:47:58 +0000 Subject: allow labels to be set selectable --- perl-install/NEWS | 2 ++ perl-install/mygtk2.pm | 1 + 2 files changed, 3 insertions(+) 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}; -- cgit v1.2.1