diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-19 21:37:28 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-05 14:16:07 +0100 |
commit | a3aa57737c09fd4972bf3c15dc7689a544b1ca4f (patch) | |
tree | a3115f687f72ef0cb13022d060e8f73d05cc32cc | |
parent | f6dc934fdc80c05904fc4ab107acf94eba5622d8 (diff) | |
download | rpmdrake-a3aa57737c09fd4972bf3c15dc7689a544b1ca4f.tar rpmdrake-a3aa57737c09fd4972bf3c15dc7689a544b1ca4f.tar.gz rpmdrake-a3aa57737c09fd4972bf3c15dc7689a544b1ca4f.tar.bz2 rpmdrake-a3aa57737c09fd4972bf3c15dc7689a544b1ca4f.tar.xz rpmdrake-a3aa57737c09fd4972bf3c15dc7689a544b1ca4f.zip |
fix computing root_window size
-rwxr-xr-x | MageiaUpdate | 2 | ||||
-rwxr-xr-x | rpmdrake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MageiaUpdate b/MageiaUpdate index f111c31e..4dbe3d35 100755 --- a/MageiaUpdate +++ b/MageiaUpdate @@ -138,7 +138,7 @@ sub run_treeview_dialog { my ($list, $info, $update_button); - my $rootwin_height = second(gtkroot()->get_size); + my $rootwin_height = second(mygtk3::root_window_size()); my $is_small_screen = $rootwin_height <= 480; compute_main_window_size($w); @@ -679,7 +679,7 @@ sub run_treeview_dialog { gtkpack_( gtknew('VBox', spacing => 3), 0, $menu, - if_(second(gtkroot()->get_size) >= 600, 0, getbanner()), + if_(second(mygtk3::root_window_size()) >= 600, 0, getbanner()), 1, gtkadd( gtknew('Frame', border_width => 3, shadow_type => 'none'), gtkpack_( |