diff options
-rwxr-xr-x | MandrivaUpdate | 5 | ||||
-rw-r--r-- | NEWS | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index 490a0c03..9888031c 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -116,13 +116,16 @@ 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(); + my $is_small_screen = $rootwin_height < 480; + compute_main_window_size($w); gtkadd( $w->{window}, gtkpack_( gtknew('VBox', spacing => 3), - 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 => 200, @@ -1,5 +1,8 @@ - handle gracefully locked RPM DB when trying to install some packages (#40244) +- MandrivaUpdate: + o laptop mode (height not bigger than 480): + * do not display banner - rpmdrake: o do not list backports as unselected updates media in rpmdrake, not just in MandrivaUpdate (#35009, #40556) |