summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-24 12:27:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-24 12:27:30 +0000
commit63bb2610ad4fc714ab172c33ae144ca590e27d1a (patch)
tree711b86eb6846b9cf91f516d30dbb14c7b3c0593e
parent269412a82b1beda842b209010544579c340b1e86 (diff)
downloaddrakx-63bb2610ad4fc714ab172c33ae144ca590e27d1a.tar
drakx-63bb2610ad4fc714ab172c33ae144ca590e27d1a.tar.gz
drakx-63bb2610ad4fc714ab172c33ae144ca590e27d1a.tar.bz2
drakx-63bb2610ad4fc714ab172c33ae144ca590e27d1a.tar.xz
drakx-63bb2610ad4fc714ab172c33ae144ca590e27d1a.zip
(_gtk) enable to set handler for 'realize' signal on any widget
-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 fff267850..642b97906 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -119,6 +119,7 @@ sub _gtk {
$w->set_padding(@{delete $opts->{padding}}) if exists $opts->{padding};
$w->set_sensitive(delete $opts->{sensitive}) if exists $opts->{sensitive};
$w->signal_connect(expose_event => delete $opts->{expose_event}) if exists $opts->{expose_event};
+ $w->signal_connect(realize => delete $opts->{realize}) if exists $opts->{realize};
(delete $opts->{size_group})->add_widget($w) if $opts->{size_group};
if (my $tip = delete $opts->{tip}) {
$global_tooltips ||= Gtk2::Tooltips->new;