From b80a5ca326d4e149117cfd843343868b42844b86 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 27 May 2008 08:40:15 +0000 Subject: (run_treeview_dialog) laptop mode (height not bigger than 480): fix test (#40235) --- MandrivaUpdate | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MandrivaUpdate') diff --git a/MandrivaUpdate b/MandrivaUpdate index c45bb391..b3dc7120 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -125,10 +125,10 @@ sub run_treeview_dialog { $w->{window}, gtkpack_( gtknew('VBox', spacing => 3), - if_($is_small_screen, 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 => $is_small_screen ? 200 : 150, + gtknew('ScrolledWindow', width => $typical_width*0.9, height => $is_small_screen ? 150 : 200, child => $list = Gtk2::SimpleList->new( " " . " " . " " => 'bool', #N("Selected") '' => 'hidden', @@ -140,7 +140,7 @@ sub run_treeview_dialog { ), gtknew('ScrolledWindow', width => $typical_width*0.9, - child => $info = Gtk2::Mdv::TextView->new, height => $is_small_screen ? 190 : 150, + child => $info = Gtk2::Mdv::TextView->new, height => $is_small_screen ? 150 : 190, ), resize1 => 1, ), -- cgit v1.2.1