aboutsummaryrefslogtreecommitdiffstats
path: root/park-rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-10-25 14:10:02 +0000
committerThierry Vignaud <tv@mandriva.org>2006-10-25 14:10:02 +0000
commit84ea399f79d888b595637d780ecd67a7bab5c5ef (patch)
tree33f7db5a8b6f11055045f656cf4bfcc115483600 /park-rpmdrake
parent32b881910d6c718a03048db74bc25dbfe02a3fa0 (diff)
downloadrpmdrake-84ea399f79d888b595637d780ecd67a7bab5c5ef.tar
rpmdrake-84ea399f79d888b595637d780ecd67a7bab5c5ef.tar.gz
rpmdrake-84ea399f79d888b595637d780ecd67a7bab5c5ef.tar.bz2
rpmdrake-84ea399f79d888b595637d780ecd67a7bab5c5ef.tar.xz
rpmdrake-84ea399f79d888b595637d780ecd67a7bab5c5ef.zip
(group_chooser,group_modify,networks_to_scanned_hosts) center dialogs on parent windows
Diffstat (limited to 'park-rpmdrake')
-rwxr-xr-xpark-rpmdrake4
1 files changed, 4 insertions, 0 deletions
diff --git a/park-rpmdrake b/park-rpmdrake
index 9f58a01b..94f69a31 100755
--- a/park-rpmdrake
+++ b/park-rpmdrake
@@ -289,6 +289,7 @@ sub networks_to_scanned_hosts {
my $nb_hosts = networks_to_nb_hosts($networks);
my $w = ugtk2->new('drakpark');
+ $w->{real_window}->set_transient_for($::main_window);
ugtk2::set_main_window_size($w);
my $progress = Gtk2::ProgressBar->new;
@@ -443,6 +444,8 @@ Do you really want to use this network?"));
});
my $mainw = ugtk2->new(N("Urpmi Parallel Group chooser"));
+ $mainw->{real_window}->set_transient_for($::main_window);
+ local $::main_window = $mainw->{real_window};
ugtk2::set_main_window_size($mainw);
gtkadd($mainw->{window},
gtkpack_(Gtk2::VBox->new,
@@ -534,6 +537,7 @@ sub group_chooser {
interactive::gtk::add_modify_remove_sensitive(\@buttons, $list_for_interactive);
my $mainw = ugtk2->new(N("Urpmi Parallel Group chooser"));
+ $::main_window = $mainw->{real_window};
gtkadd($mainw->{window},
gtkpack_(Gtk2::VBox->new,
1, create_scrolled_window($treelist),