aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-17 15:08:30 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-17 15:08:30 +0000
commit1a77631d5ca89ae3aace0e9ffa185d8d157d8e45 (patch)
tree1f506b0dac6eb3a297352bcc20c270a1c4d05835
parentb6b539d4d0cb403d7f07787bd1934b629ccaf9ef (diff)
downloaduserdrake-1a77631d5ca89ae3aace0e9ffa185d8d157d8e45.tar
userdrake-1a77631d5ca89ae3aace0e9ffa185d8d157d8e45.tar.gz
userdrake-1a77631d5ca89ae3aace0e9ffa185d8d157d8e45.tar.bz2
userdrake-1a77631d5ca89ae3aace0e9ffa185d8d157d8e45.tar.xz
userdrake-1a77631d5ca89ae3aace0e9ffa185d8d157d8e45.zip
(NewWindow) center subwindows on main one
-rwxr-xr-xuserdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/userdrake b/userdrake
index 9876470..3b3a57c 100755
--- a/userdrake
+++ b/userdrake
@@ -686,7 +686,7 @@ sub NewWindow {
$w->set_title($title);
$w->set_transient_for($us->{wnd}{real_window});
$w->signal_connect(delete_event => sub { $w->destroy });
- $w->set_position('center');
+ $w->set_position('center_on_parent');
$w->set_modal(1);
$w;
}