From 7e9fd5a2028da2b964d000e6066529583ec16c67 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 13 Dec 2012 15:21:35 +0000 Subject: use mygtk2::register_main_window() --- perl-install/standalone/drakfont | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakfont') 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; -- cgit v1.2.1