1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-22 16:43:23 -05:00

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.
This commit is contained in:
freesource 2001-08-28 06:18:15 +00:00
parent 027b932f24
commit c2d142e96a

View File

@ -1,4 +1,4 @@
############################################################################ ###########################################################################
## ##
## YardBox.pm ## YardBox.pm
## Copyright (C) 2000 by Jonathan Rosenbaum ## Copyright (C) 2000 by Jonathan Rosenbaum
@ -312,9 +312,7 @@ sub file_system {
} }
if (!visible $filesystem_window) { if (!visible $filesystem_window) {
$filesystem_window->show(); $filesystem_window->show();
} else { }
$filesystem_window->destroy;
}
} # end sub file_system } # end sub file_system
@ -1321,10 +1319,7 @@ sub search {
} }
if (!visible $search_window) { if (!visible $search_window) {
$search_window->show(); $search_window->show();
} else { }
$search_window->destroy;
}
} # end sub search } # end sub search
@ -1739,8 +1734,6 @@ sub Replacements {
} }
if (!visible $replacements_window) { if (!visible $replacements_window) {
$replacements_window->show(); $replacements_window->show();
} else {
$replacements_window->destroy;
} }
} }