diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-05-27 08:40:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-05-27 08:40:15 +0000 |
commit | b80a5ca326d4e149117cfd843343868b42844b86 (patch) | |
tree | 50c99f95f2c75dff10fdbc7409f118a6b9fa6d57 /MandrivaUpdate | |
parent | 812f0d82766d9f4d54bbb8ce03ffb17c9f1098da (diff) | |
download | rpmdrake-b80a5ca326d4e149117cfd843343868b42844b86.tar rpmdrake-b80a5ca326d4e149117cfd843343868b42844b86.tar.gz rpmdrake-b80a5ca326d4e149117cfd843343868b42844b86.tar.bz2 rpmdrake-b80a5ca326d4e149117cfd843343868b42844b86.tar.xz rpmdrake-b80a5ca326d4e149117cfd843343868b42844b86.zip |
(run_treeview_dialog) laptop mode (height not bigger than 480): fix test (#40235)
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index c45bb391..b3dc7120 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -125,10 +125,10 @@ sub run_treeview_dialog { $w->{window}, gtkpack_( gtknew('VBox', spacing => 3), - if_($is_small_screen, 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 => $is_small_screen ? 200 : 150, + gtknew('ScrolledWindow', width => $typical_width*0.9, height => $is_small_screen ? 150 : 200, 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 => $is_small_screen ? 190 : 150, + child => $info = Gtk2::Mdv::TextView->new, height => $is_small_screen ? 150 : 190, ), resize1 => 1, ), |