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
Fix default remote lib not using cache
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
reader
/
TuiReader.java
diff --git
a/src/be/nikiroo/fanfix/reader/TuiReader.java
b/src/be/nikiroo/fanfix/reader/TuiReader.java
index 11640cf506302fddae46d4b07a68b8a1a3cbf1e2..30b9dce5962972b86eaf27aadb5f31e0b81d0aa8 100644
(file)
--- a/
src/be/nikiroo/fanfix/reader/TuiReader.java
+++ b/
src/be/nikiroo/fanfix/reader/TuiReader.java
@@
-1,12
+1,10
@@
package be.nikiroo.fanfix.reader;
import java.io.IOException;
package be.nikiroo.fanfix.reader;
import java.io.IOException;
-import java.util.List;
import jexer.TApplication;
import jexer.TApplication.BackendType;
import be.nikiroo.fanfix.Instance;
import jexer.TApplication;
import jexer.TApplication.BackendType;
import be.nikiroo.fanfix.Instance;
-import be.nikiroo.fanfix.data.MetaData;
/**
* This {@link Reader}is based upon the TUI widget library 'jexer'
/**
* This {@link Reader}is based upon the TUI widget library 'jexer'
@@
-56,19
+54,18
@@
class TuiReader extends BasicReader {
guessBackendType());
new Thread(app).start();
} catch (Exception e) {
guessBackendType());
new Thread(app).start();
} catch (Exception e) {
- Instance.
syser
r(e);
+ Instance.
getTraceHandler().erro
r(e);
}
}
@Override
public void browse(String source) {
}
}
@Override
public void browse(String source) {
- List<MetaData> metas = getLibrary().getListBySource(source);
try {
try {
- TuiReaderApplication app = new TuiReaderApplication(
metas, this
,
+ TuiReaderApplication app = new TuiReaderApplication(
this, source
,
guessBackendType());
new Thread(app).start();
} catch (Exception e) {
guessBackendType());
new Thread(app).start();
} catch (Exception e) {
- Instance.
syser
r(e);
+ Instance.
getTraceHandler().erro
r(e);
}
}
}
}
}
}