aboutsummaryrefslogtreecommitdiffstats
path: root/MandrivaUpdate
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-09 12:58:43 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-09 12:58:43 +0000
commit81a93b247d80808315ca9c207f921164d9146586 (patch)
tree454e48417ad60ea6fdc2409b4f40af73a30e3c14 /MandrivaUpdate
parentccc6b46587c6b98fde86d880a75dfdddf1b8f0d1 (diff)
downloadrpmdrake-81a93b247d80808315ca9c207f921164d9146586.tar
rpmdrake-81a93b247d80808315ca9c207f921164d9146586.tar.gz
rpmdrake-81a93b247d80808315ca9c207f921164d9146586.tar.bz2
rpmdrake-81a93b247d80808315ca9c207f921164d9146586.tar.xz
rpmdrake-81a93b247d80808315ca9c207f921164d9146586.zip
(run_treeview_dialog) reduce Trees' height in laptop mode (aka if
height is not bigger than 480)
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-xMandrivaUpdate4
1 files changed, 2 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,
),