aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMandrivaUpdate4
-rwxr-xr-xrpmdrake3
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);
diff --git a/rpmdrake b/rpmdrake
index 5b491fb1..6c3e0981 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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 = {