aboutsummaryrefslogtreecommitdiffstats
path: root/MandrivaUpdate
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-21 11:56:34 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-21 11:56:34 +0000
commit9e60c25435db2ef58a1bb955f5286940a097c007 (patch)
treec128fb9d8cbfbcf67b5c6b87ac070b1851b2022b /MandrivaUpdate
parentac0cfd4a58730ee693cf1f94960b68c7b4ac4314 (diff)
downloadrpmdrake-9e60c25435db2ef58a1bb955f5286940a097c007.tar
rpmdrake-9e60c25435db2ef58a1bb955f5286940a097c007.tar.gz
rpmdrake-9e60c25435db2ef58a1bb955f5286940a097c007.tar.bz2
rpmdrake-9e60c25435db2ef58a1bb955f5286940a097c007.tar.xz
rpmdrake-9e60c25435db2ef58a1bb955f5286940a097c007.zip
show main_window earlier so that mcc doesn't complain we exited abnormally b/c
no window was displayed (#29573)
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-xMandrivaUpdate4
1 files changed, 3 insertions, 1 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index 0da659e3..92d485a0 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -80,13 +80,15 @@ sub get_name {
return $name;
}
+$w = ugtk2->new(N("Software Management"));
+$w->{rwindow}->show_all if $::isEmbedded;
+
sub run_treeview_dialog {
my ($callback_action) = @_;
my ($size_selected, %elems, $list, $info, $update_button);
my (undef, $size_free) = MDK::Common::System::df('/usr');
- $w = ugtk2->new(N("Software Update"));
$::main_window = $w->{real_window};
compute_main_window_size($w);