aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMandrivaUpdate4
-rw-r--r--NEWS2
2 files changed, 5 insertions, 1 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index 490a0c03..d067e446 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -116,13 +116,15 @@ sub run_treeview_dialog {
my ($size_selected, %elems, $list, $info, $update_button);
my (undef, $size_free) = MDK::Common::System::df('/usr');
+ my (undef, $rootwin_height) = gtkroot()->get_size();
+
compute_main_window_size($w);
gtkadd(
$w->{window},
gtkpack_(
gtknew('VBox', spacing => 3),
- 0, getbanner(),
+ if_($rootwin_height <480, 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,
diff --git a/NEWS b/NEWS
index 9daafc91..8b6f0d8d 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,8 @@ Version 4.9.14 - 8 May 2008, Thierry Vignaud
(#40244)
- warn only once about priority upgrades (#39737)
- MandrivaUpdate:
+ o laptop mode (height not bigger than 480):
+ * do not display banner
o provide --no-splash option in order to skip splash screen when run
from mdkapplet (#40366)
- rpmdrake: