diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-24 11:51:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-24 11:51:40 +0000 |
commit | 653e0ee12f7770163bba6c2ed6b00b9631688056 (patch) | |
tree | 0ccf7e0b0fc5f5f7c94d5b4ed8f491221e36ce5f /rpmdrake.pm | |
parent | c92663b4c868bcce8b18ccfb6508509fa0ee9743 (diff) | |
download | rpmdrake-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.pm | 1 |
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); |