aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-24 11:51:40 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-24 11:51:40 +0000
commit653e0ee12f7770163bba6c2ed6b00b9631688056 (patch)
tree0ccf7e0b0fc5f5f7c94d5b4ed8f491221e36ce5f /rpmdrake.pm
parentc92663b4c868bcce8b18ccfb6508509fa0ee9743 (diff)
downloadrpmdrake-653e0ee12f7770163bba6c2ed6b00b9631688056.tar
rpmdrake-653e0ee12f7770163bba6c2ed6b00b9631688056.tar.gz
rpmdrake-653e0ee12f7770163bba6c2ed6b00b9631688056.tar.bz2
rpmdrake-653e0ee12f7770163bba6c2ed6b00b9631688056.tar.xz
rpmdrake-653e0ee12f7770163bba6c2ed6b00b9631688056.zip
(interactive_packtable) make sub dialogs modal to current sub dialog, not to
parent's parent window
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 97a04f70..d4a0bc57 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -240,6 +240,7 @@ sub interactive_packtable {
my ($title, $parent_window, $top_label, $lines, $action_buttons) = @_;
my $w = ugtk2->new($title, grab => 1, transient => $parent_window);
+ local $::main_window = $w->{real_window};
$w->{rwindow}->set_position($parent_window ? 'center_on_parent' : 'center');
my $packtable = create_packtable({}, @$lines);