aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);