summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-13 15:21:31 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-13 15:21:31 +0000
commitb81aa6049d4a578a8a9d18919b4df26733a33857 (patch)
treec6f99355c10be92d013358d8e1dcd9d21ae29622 /perl-install/ugtk2.pm
parent0833944b0b78527132d7dd14db26f2db8ecf1473 (diff)
downloaddrakx-b81aa6049d4a578a8a9d18919b4df26733a33857.tar
drakx-b81aa6049d4a578a8a9d18919b4df26733a33857.tar.gz
drakx-b81aa6049d4a578a8a9d18919b4df26733a33857.tar.bz2
drakx-b81aa6049d4a578a8a9d18919b4df26733a33857.tar.xz
drakx-b81aa6049d4a578a8a9d18919b4df26733a33857.zip
(register_main_window) add it for tracking main windows
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 69185247c..dbfcfc8ff 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -748,7 +748,7 @@ sub new {
if_(!$::isInstall, icon_no_error => wm_icon()),
if_($o->{transient}, transient_for => $o->{transient}),
);
- push @::main_windows, $::main_window = $window->{real_window} if !$opts{do_not_track_main_window};
+ mygtk2::register_main_window($window->{real_window}) if !$opts{do_not_track_main_window};
$window->set_border_width(10) if !$window->{pop_it} && !$::noborderWhenEmbedded;
$o->{rwindow} = $o->{window} = $window;