aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMandrivaUpdate3
1 files changed, 1 insertions, 2 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index 4d9e6fe1..1a392467 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -107,6 +107,7 @@ sub toggle {
$w = ugtk2->new(N("Software Management"));
$w->{rwindow}->show_all if $::isEmbedded;
+$::main_window = $w->{real_window};
sub run_treeview_dialog {
my ($callback_action) = @_;
@@ -114,8 +115,6 @@ sub run_treeview_dialog {
my ($size_selected, %elems, $list, $info, $update_button);
my (undef, $size_free) = MDK::Common::System::df('/usr');
- $::main_window = $w->{real_window};
-
compute_main_window_size($w);
gtkadd(