From c2d142e96a69dffa03f9f492f2dda42be64cb0c1 Mon Sep 17 00:00:00 2001 From: freesource Date: Tue, 28 Aug 2001 06:18:15 +0000 Subject: [PATCH] This changes the default behavior of search, file_system, and replacements to not close when the shortcuts or menu are used after they are visible .. they can only be closed from the their own actual window. This is traditional UI. --- BootRoot/YardBox.pm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/BootRoot/YardBox.pm b/BootRoot/YardBox.pm index 375159b..e3a9e74 100644 --- a/BootRoot/YardBox.pm +++ b/BootRoot/YardBox.pm @@ -1,4 +1,4 @@ -############################################################################ +########################################################################### ## ## YardBox.pm ## Copyright (C) 2000 by Jonathan Rosenbaum @@ -312,9 +312,7 @@ sub file_system { } if (!visible $filesystem_window) { $filesystem_window->show(); - } else { - $filesystem_window->destroy; - } + } } # end sub file_system @@ -1321,10 +1319,7 @@ sub search { } if (!visible $search_window) { $search_window->show(); - } else { - $search_window->destroy; - } - + } } # end sub search @@ -1739,8 +1734,6 @@ sub Replacements { } if (!visible $replacements_window) { $replacements_window->show(); - } else { - $replacements_window->destroy; } }