From 052ea5fe3e6ecebf5acdc08318ed9b2957f0d679 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 15 Mar 2007 15:36:28 +0000 Subject: (compute_main_window_size) factorize strange typicall width computing here --- MandrivaUpdate | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'MandrivaUpdate') diff --git a/MandrivaUpdate b/MandrivaUpdate index 2139ce56..3f96024c 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -89,9 +89,7 @@ sub run_treeview_dialog { $w = ugtk2->new(N("Software Update")); $::main_window = $w->{real_window}; - ($typical_width) = string_size($w->{real_window}, translate("Graphical Environment") . "xmms-more-vis-plugins"); - $typical_width > 600 and $typical_width = 600; #- try to not being crazy with a too large value - $typical_width < 150 and $typical_width = 150; + compute_main_window_size($w); gtkadd( $w->{window}, -- cgit v1.2.1