diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-05-09 12:55:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-05-09 12:55:07 +0000 |
commit | ccc6b46587c6b98fde86d880a75dfdddf1b8f0d1 (patch) | |
tree | f14a4ff2ceb5a5160782a474ed0b8b9a72e6ad0b /MandrivaUpdate | |
parent | 9f4f0246dcb22fff78c93b85d7e72d41f31c2143 (diff) | |
download | rpmdrake-ccc6b46587c6b98fde86d880a75dfdddf1b8f0d1.tar rpmdrake-ccc6b46587c6b98fde86d880a75dfdddf1b8f0d1.tar.gz rpmdrake-ccc6b46587c6b98fde86d880a75dfdddf1b8f0d1.tar.bz2 rpmdrake-ccc6b46587c6b98fde86d880a75dfdddf1b8f0d1.tar.xz rpmdrake-ccc6b46587c6b98fde86d880a75dfdddf1b8f0d1.zip |
(run_treeview_dialog) factorize test (needed for next commit)
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index d067e446..9888031c 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -117,6 +117,7 @@ sub run_treeview_dialog { my (undef, $size_free) = MDK::Common::System::df('/usr'); my (undef, $rootwin_height) = gtkroot()->get_size(); + my $is_small_screen = $rootwin_height < 480; compute_main_window_size($w); @@ -124,7 +125,7 @@ sub run_treeview_dialog { $w->{window}, gtkpack_( gtknew('VBox', spacing => 3), - if_($rootwin_height <480, 0, getbanner()), + if_($is_small_screen, 0, getbanner()), 0, gtknew('Title2', label => N("Here is the list of software package updates")), 1, create_vpaned( gtknew('ScrolledWindow', width => $typical_width*0.9, height => 200, |