git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'subtree'
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
reader
/
tui
/
TuiReaderApplication.java
diff --git
a/src/be/nikiroo/fanfix/reader/tui/TuiReaderApplication.java
b/src/be/nikiroo/fanfix/reader/tui/TuiReaderApplication.java
index 1e7e8ebf25c2b9870ea8009ec2293aa19a97a42d..f85f12fdb865ec1aaa25540a5cf131d6c6b0e910 100644
(file)
--- a/
src/be/nikiroo/fanfix/reader/tui/TuiReaderApplication.java
+++ b/
src/be/nikiroo/fanfix/reader/tui/TuiReaderApplication.java
@@
-120,7
+120,7
@@
class TuiReaderApplication extends TApplication implements Reader {
try {
reader.browse(source);
} catch (IOException e) {
try {
reader.browse(source);
} catch (IOException e) {
- Instance.getTraceHandler().error(e);
+ Instance.get
Instance().get
TraceHandler().error(e);
}
}
}
}
@@
-219,7
+219,7
@@
class TuiReaderApplication extends TApplication implements Reader {
this.reader = reader;
// TODO: traces/errors?
this.reader = reader;
// TODO: traces/errors?
- Instance.setTraceHandler(null);
+ Instance.
getInstance().
setTraceHandler(null);
// Add the menus TODO: i18n
TMenu fileMenu = addMenu("&File");
// Add the menus TODO: i18n
TMenu fileMenu = addMenu("&File");
@@
-423,9
+423,9
@@
class TuiReaderApplication extends TApplication implements Reader {
* the exception to log if any (can be NULL)
*/
private void error(String message, String title, Exception e) {
* the exception to log if any (can be NULL)
*/
private void error(String message, String title, Exception e) {
- Instance.getTraceHandler().error(title + ": " + message);
+ Instance.get
Instance().get
TraceHandler().error(title + ": " + message);
if (e != null) {
if (e != null) {
- Instance.getTraceHandler().error(e);
+ Instance.get
Instance().get
TraceHandler().error(e);
}
if (e != null) {
}
if (e != null) {