aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-18 14:22:20 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-18 14:22:20 +0000
commit193c77ec7637d18fcd6275f8431dd7e08172c07c (patch)
treef76d9e9841e31f3deec3b3fe07e4a8c5b34cc2d5
parent585e8454d6783607e74f46a6604945a170a9f577 (diff)
downloadrpmdrake-193c77ec7637d18fcd6275f8431dd7e08172c07c.tar
rpmdrake-193c77ec7637d18fcd6275f8431dd7e08172c07c.tar.gz
rpmdrake-193c77ec7637d18fcd6275f8431dd7e08172c07c.tar.bz2
rpmdrake-193c77ec7637d18fcd6275f8431dd7e08172c07c.tar.xz
rpmdrake-193c77ec7637d18fcd6275f8431dd7e08172c07c.zip
(run_treeview_dialog) simplify through using MDK::Common
-rwxr-xr-xMandrivaUpdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index 92c6a689..e84ecb90 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -136,7 +136,7 @@ sub run_treeview_dialog {
my ($list, $info, $update_button);
- my (undef, $rootwin_height) = gtkroot()->get_size;
+ my $rootwin_height = second(gtkroot()->get_size);
my $is_small_screen = $rootwin_height < 480;
compute_main_window_size($w);