diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-15 15:36:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-15 15:36:28 +0000 |
commit | 052ea5fe3e6ecebf5acdc08318ed9b2957f0d679 (patch) | |
tree | 9e14189b7ecb04b5dca1d342960350db5a3e1855 /MandrivaUpdate | |
parent | 6552c04ac5fd6feae614bdf1ec8ce89f0d1a5fa1 (diff) | |
download | rpmdrake-052ea5fe3e6ecebf5acdc08318ed9b2957f0d679.tar rpmdrake-052ea5fe3e6ecebf5acdc08318ed9b2957f0d679.tar.gz rpmdrake-052ea5fe3e6ecebf5acdc08318ed9b2957f0d679.tar.bz2 rpmdrake-052ea5fe3e6ecebf5acdc08318ed9b2957f0d679.tar.xz rpmdrake-052ea5fe3e6ecebf5acdc08318ed9b2957f0d679.zip |
(compute_main_window_size) factorize strange typicall width computing here
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 4 |
1 files changed, 1 insertions, 3 deletions
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}, |