aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-22 11:28:57 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-22 11:28:57 +0000
commit5eefce86e92a60a783168453d6aac8184fda17be (patch)
treee38dc85459506fbea862553454d06a5a3416c3aa /Rpmdrake
parent13661f6b0debb40f4d474712c0d1e67934e6ea6f (diff)
downloadrpmdrake-5eefce86e92a60a783168453d6aac8184fda17be.tar
rpmdrake-5eefce86e92a60a783168453d6aac8184fda17be.tar.gz
rpmdrake-5eefce86e92a60a783168453d6aac8184fda17be.tar.bz2
rpmdrake-5eefce86e92a60a783168453d6aac8184fda17be.tar.xz
rpmdrake-5eefce86e92a60a783168453d6aac8184fda17be.zip
(mainwindow) localize ::main_window
Diffstat (limited to 'Rpmdrake')
-rwxr-xr-xRpmdrake/edit_urpm_sources.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 9c2b756c..56cf92e5 100755
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -888,7 +888,7 @@ sub keys_callback() {
sub mainwindow() {
$mainw = ugtk2->new(N("Configure media"), center => 1, transient => $::main_window, modal => 1);
- $::main_window = $mainw->{real_window};
+ local $::main_window = $mainw->{real_window};
my $list = Gtk2::ListStore->new("Glib::Boolean", "Glib::Boolean", "Glib::String");
$list_tv = Gtk2::TreeView->new_with_model($list);