diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-19 15:02:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-19 15:02:13 +0000 |
commit | ec54164f8c55c1f2359a37d4fcaef1b96c7e7f8d (patch) | |
tree | e8f73be2bff76368574ed2d2689859cc21c35a0e | |
parent | 756884aee7c109d8c09a5addc7d74a933333a053 (diff) | |
download | mgaonline-ec54164f8c55c1f2359a37d4fcaef1b96c7e7f8d.tar mgaonline-ec54164f8c55c1f2359a37d4fcaef1b96c7e7f8d.tar.gz mgaonline-ec54164f8c55c1f2359a37d4fcaef1b96c7e7f8d.tar.bz2 mgaonline-ec54164f8c55c1f2359a37d4fcaef1b96c7e7f8d.tar.xz mgaonline-ec54164f8c55c1f2359a37d4fcaef1b96c7e7f8d.zip |
(fill_n_run_portable_dialog) make sure $::isInstall doesn't escape on
real code paths
-rw-r--r-- | mdkapplet_gui.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mdkapplet_gui.pm b/mdkapplet_gui.pm index 784c57a6..5f3cc6b9 100644 --- a/mdkapplet_gui.pm +++ b/mdkapplet_gui.pm @@ -73,10 +73,12 @@ sub fill_n_run_portable_dialog { my ($w, $widgets) = @_; # use wizard button order (for both 2008.1 & 2009.0): - local $::isWizard = 1; - local $w->{pop_it} = 0; - local $::isInstall = 1; - gtkadd($w->{window}, gtknew('VBox', children_tight => $widgets)); + { + local $::isWizard = 1; + local $w->{pop_it} = 0; + local $::isInstall = 1; + gtkadd($w->{window}, gtknew('VBox', children_tight => $widgets)); + } $w->{ok}->grab_focus; $w->main; |