diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-08-30 16:21:47 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 21:28:36 +0100 |
commit | 3af428310c36de7529b6742a305f56b57caa4d70 (patch) | |
tree | f2f83f0484910782a959a53e4c7d66026e1172e6 /perl-install | |
parent | 45338bd2f691b8fc61665daefd2bd30767bf742d (diff) | |
download | drakx-3af428310c36de7529b6742a305f56b57caa4d70.tar drakx-3af428310c36de7529b6742a305f56b57caa4d70.tar.gz drakx-3af428310c36de7529b6742a305f56b57caa4d70.tar.bz2 drakx-3af428310c36de7529b6742a305f56b57caa4d70.tar.xz drakx-3af428310c36de7529b6742a305f56b57caa4d70.zip |
use new mygtk3::root_window_size()
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 | ||||
-rwxr-xr-x | perl-install/standalone/display_help | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index f5016d2a7..1886cfd45 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -15,7 +15,7 @@ my $forgetTime = 1000; #- in milli-seconds sub new { my $w = &interactive::new; - ($w->{windowwidth}, $w->{windowheight}) = gtkroot()->get_size if !$::isInstall; + ($w->{windowwidth}, $w->{windowheight}) = mygtk3::root_window_size() if !$::isInstall; $w; } sub enter_console { my ($o) = @_; $o->{suspended} = common::setVirtual(1) } diff --git a/perl-install/standalone/display_help b/perl-install/standalone/display_help index bd857d092..b977f0532 100755 --- a/perl-install/standalone/display_help +++ b/perl-install/standalone/display_help @@ -36,7 +36,7 @@ $view->signal_connect('close-web-view', sub { ugtk3::exit(0) }); $view->open($ARGV[0]); # FIXME: merge this with mcc code into new mygtk3::set_standalone_main_window_size()? -my ($rootwin_width, $rootwin_height) = gtkroot()->get_size; +my ($rootwin_width, $rootwin_height) = mygtk3::root_window_size(); my ($default_width, $default_height); my $wm = any::running_window_manager(); my $is_firstime = to_bool($wm =~ /drakx-matchbox-window-manager/); |