summaryrefslogtreecommitdiffstats
path: root/lib/network/drakroam.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-19 01:01:02 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 11:00:45 +0100
commit1af2a8e88a117ef799782d419394907cf5022f72 (patch)
treececcd75d4f2197b855c4a1dd4a71acdae8231ec7 /lib/network/drakroam.pm
parent732e9c20ce4aec7f6024ec6f0a79091c51521bc7 (diff)
downloaddrakx-net-1af2a8e88a117ef799782d419394907cf5022f72.tar
drakx-net-1af2a8e88a117ef799782d419394907cf5022f72.tar.gz
drakx-net-1af2a8e88a117ef799782d419394907cf5022f72.tar.bz2
drakx-net-1af2a8e88a117ef799782d419394907cf5022f72.tar.xz
drakx-net-1af2a8e88a117ef799782d419394907cf5022f72.zip
fix computing root_window size
Diffstat (limited to 'lib/network/drakroam.pm')
-rwxr-xr-xlib/network/drakroam.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm
index 52b3e64..f7b0937 100755
--- a/lib/network/drakroam.pm
+++ b/lib/network/drakroam.pm
@@ -78,7 +78,7 @@ sub create_drakroam_gui {
Glib::Timeout->add(20000, sub { $status_bar->remove($status_bar_cid, $m_id); 0 });
};
- (undef, my $rootwin_height) = gtkroot()->get_size;
+ (undef, my $rootwin_height) = mygtk3::root_window_size();
my $scrolled_height = $rootwin_height > 480 ? 300 : 225;
gtkadd($droam->{gui}{w}{window},
gtknew('VBox', spacing => 5, children => [