diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-21 11:56:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-21 11:56:34 +0000 |
commit | 9e60c25435db2ef58a1bb955f5286940a097c007 (patch) | |
tree | c128fb9d8cbfbcf67b5c6b87ac070b1851b2022b | |
parent | ac0cfd4a58730ee693cf1f94960b68c7b4ac4314 (diff) | |
download | rpmdrake-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)
-rwxr-xr-x | MandrivaUpdate | 4 | ||||
-rwxr-xr-x | rpmdrake | 3 |
2 files changed, 5 insertions, 2 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); @@ -153,6 +153,8 @@ sub do_search($$$$$$$) { } } +$w = ugtk2->new(N("Software Management")); +$w->{rwindow}->show_all if $::isEmbedded; sub run_treeview_dialog { my ($callback_action) = @_; @@ -160,7 +162,6 @@ sub run_treeview_dialog { my ($options, $compssUsers, $tree, $tree_model, $detail_list, $detail_list_model, %elems); (undef, $size_free) = MDK::Common::System::df('/usr'); - $w = ugtk2->new(N("Software Management")); $::main_window = $w->{real_window}; $options = { |