git://git.nikiroo.be
/
fanfix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8298cc
)
Remove Open from default file menu
author
Kevin Lamonte
<kevin.lamonte@gmail.com>
Sat, 9 Mar 2019 18:47:18 +0000
(12:47 -0600)
committer
Kevin Lamonte
<kevin.lamonte@gmail.com>
Sat, 9 Mar 2019 18:47:18 +0000
(12:47 -0600)
src/jexer/TApplication.java
patch
|
blob
|
blame
|
history
diff --git
a/src/jexer/TApplication.java
b/src/jexer/TApplication.java
index 872266d7af9021513838db3a2f15aea94dd19981..41fbea5b8459bb147cc099f2ddbd62f7b7cabd90 100644
(file)
--- a/
src/jexer/TApplication.java
+++ b/
src/jexer/TApplication.java
@@
-433,9
+433,9
@@
public class TApplication implements Runnable {
// resumes working on the primary.
application.secondaryEventHandler = null;
// resumes working on the primary.
application.secondaryEventHandler = null;
- //
DO NOT UNLOCK. Primary thread just came back from
- //
primaryHandleEvent() and will unlock in the else
- //
block below. Just wake it up
.
+ //
We are ready to exit, wake up the primary thread.
+ //
Remember that it is currently sleeping inside its
+ //
primaryHandleEvent()
.
synchronized (application.primaryEventHandler) {
application.primaryEventHandler.notify();
}
synchronized (application.primaryEventHandler) {
application.primaryEventHandler.notify();
}
@@
-3025,9
+3025,8
@@
public class TApplication implements Runnable {
*/
public final TMenu addFileMenu() {
TMenu fileMenu = addMenu(i18n.getString("fileMenuTitle"));
*/
public final TMenu addFileMenu() {
TMenu fileMenu = addMenu(i18n.getString("fileMenuTitle"));
- fileMenu.addDefaultItem(TMenu.MID_OPEN_FILE);
- fileMenu.addSeparator();
fileMenu.addDefaultItem(TMenu.MID_SHELL);
fileMenu.addDefaultItem(TMenu.MID_SHELL);
+ fileMenu.addSeparator();
fileMenu.addDefaultItem(TMenu.MID_EXIT);
TStatusBar statusBar = fileMenu.newStatusBar(i18n.
getString("fileMenuStatus"));
fileMenu.addDefaultItem(TMenu.MID_EXIT);
TStatusBar statusBar = fileMenu.newStatusBar(i18n.
getString("fileMenuStatus"));