aboutsummaryrefslogtreecommitdiffstats
path: root/MandrivaUpdate
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-15 15:36:28 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-15 15:36:28 +0000
commit052ea5fe3e6ecebf5acdc08318ed9b2957f0d679 (patch)
tree9e14189b7ecb04b5dca1d342960350db5a3e1855 /MandrivaUpdate
parent6552c04ac5fd6feae614bdf1ec8ce89f0d1a5fa1 (diff)
downloadrpmdrake-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-xMandrivaUpdate4
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},