aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 0a96b685..e0d0bd3f 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -239,7 +239,7 @@ sub interactive_packtable {
my ($title, $parent_window, $top_label, $lines, $action_buttons) = @_;
my $w = ugtk2->new($title, grab => 1, transient => $parent_window);
- $w->{rwindow}->set_position('center_on_parent');
+ $w->{rwindow}->set_position($parent_window ? 'center_on_parent' : 'center');
my $packtable = create_packtable({}, @$lines);
gtkadd($w->{window},