summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-13 15:21:35 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-13 15:21:35 +0000
commit7e9fd5a2028da2b964d000e6066529583ec16c67 (patch)
treed5835ef37f0189529f15eb7344a37278bd781732 /perl-install/standalone/drakfont
parentb81aa6049d4a578a8a9d18919b4df26733a33857 (diff)
downloaddrakx-7e9fd5a2028da2b964d000e6066529583ec16c67.tar
drakx-7e9fd5a2028da2b964d000e6066529583ec16c67.tar.gz
drakx-7e9fd5a2028da2b964d000e6066529583ec16c67.tar.bz2
drakx-7e9fd5a2028da2b964d000e6066529583ec16c67.tar.xz
drakx-7e9fd5a2028da2b964d000e6066529583ec16c67.zip
use mygtk2::register_main_window()
Diffstat (limited to 'perl-install/standalone/drakfont')
-rwxr-xr-xperl-install/standalone/drakfont2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 0b8f9ec39..c4657ffc1 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -477,7 +477,7 @@ sub backend_mod() {
sub interactive_mode() {
$interactive = 1;
$window1 = ugtk2->new(N("Font Installation"));
- $::main_window = $window1->{real_window};
+ mygtk2::register_main_window($window1->{real_window});
$window1->{rwindow}->signal_connect(delete_event => sub { ugtk2->exit(0) });
$window1->{rwindow}->set_position('center') if !$::isEmbedded;