aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-09 13:00:48 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-09 13:00:48 +0000
commit5fd57f3671a7d082a10c86706a5988225c24d303 (patch)
treea322e7f58806648561625edf099ebaeafc3745cf
parentb4c3d268dca3275eb7d420855ad9927d520f3187 (diff)
downloadrpmdrake-5fd57f3671a7d082a10c86706a5988225c24d303.tar
rpmdrake-5fd57f3671a7d082a10c86706a5988225c24d303.tar.gz
rpmdrake-5fd57f3671a7d082a10c86706a5988225c24d303.tar.bz2
rpmdrake-5fd57f3671a7d082a10c86706a5988225c24d303.tar.xz
rpmdrake-5fd57f3671a7d082a10c86706a5988225c24d303.zip
(run_treeview_dialog) reduce Trees' height in laptop mode (aka if
height is not bigger than 480)
-rwxr-xr-xMandrivaUpdate4
-rw-r--r--NEWS1
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 62b4da76..e0cac8db 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
- MandrivaUpdate:
o laptop mode (height not bigger than 480):
* do not display banner
+ * reduce Trees' height
- rpmdrake:
o do not list backports as unselected updates media in rpmdrake, not
just in MandrivaUpdate (#35009, #40556)