aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-17 15:38:59 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-17 15:38:59 +0000
commitf7a766b22466b87890c50bd163eb6631c5d993fb (patch)
treedd1e2e50062409eddc98dc19a4fcaa5f698f1189
parent918e781ffc3803612d1ec67d4594d3417fee2e9a (diff)
downloaduserdrake-f7a766b22466b87890c50bd163eb6631c5d993fb.tar
userdrake-f7a766b22466b87890c50bd163eb6631c5d993fb.tar.gz
userdrake-f7a766b22466b87890c50bd163eb6631c5d993fb.tar.bz2
userdrake-f7a766b22466b87890c50bd163eb6631c5d993fb.tar.xz
userdrake-f7a766b22466b87890c50bd163eb6631c5d993fb.zip
(NewWindow) rename $w as $dialog
-rwxr-xr-xuserdrake6
1 files changed, 3 insertions, 3 deletions
diff --git a/userdrake b/userdrake
index 89fefe2..8808578 100755
--- a/userdrake
+++ b/userdrake
@@ -668,10 +668,10 @@ sub BuildGui {
sub NewWindow {
my ($title) = @_;
- my $w = gtkset_border_width(_create_dialog($title, { transient_for => $us->{wnd}{real_window} }),
+ my $dialog = gtkset_border_width(_create_dialog($title, { transient_for => $us->{wnd}{real_window} }),
5);
- $w->signal_connect(delete_event => sub { $w->destroy });
- $w;
+ $dialog->signal_connect(delete_event => sub { $dialog->destroy });
+ $dialog;
}
sub Edit() {