From 81a93b247d80808315ca9c207f921164d9146586 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 9 May 2008 12:58:43 +0000 Subject: (run_treeview_dialog) reduce Trees' height in laptop mode (aka if height is not bigger than 480) --- MandrivaUpdate | 4 ++-- NEWS | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MandrivaUpdate b/MandrivaUpdate index 9888031c..c45bb391 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -128,7 +128,7 @@ sub run_treeview_dialog { 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, + gtknew('ScrolledWindow', width => $typical_width*0.9, height => $is_small_screen ? 200 : 150, 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 => 190, + child => $info = Gtk2::Mdv::TextView->new, height => $is_small_screen ? 190 : 150, ), resize1 => 1, ), diff --git a/NEWS b/NEWS index 8b6f0d8d..67027918 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,7 @@ Version 4.9.14 - 8 May 2008, Thierry Vignaud - MandrivaUpdate: o laptop mode (height not bigger than 480): * do not display banner + * reduce Trees' height o provide --no-splash option in order to skip splash screen when run from mdkapplet (#40366) - rpmdrake: -- cgit v1.2.1