git://git.nikiroo.be
/
jvcard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix --noutf, fix onAction being called to many times, lot of small fixes
[jvcard.git]
/
src
/
be
/
nikiroo
/
jvcard
/
tui
/
panes
/
ContactList.java
diff --git
a/src/be/nikiroo/jvcard/tui/panes/ContactList.java
b/src/be/nikiroo/jvcard/tui/panes/ContactList.java
index d5cf26b2be381f7db18134ef960a4d26df825711..7d1037006c13ea2b0998ca3c40976c8d8049df27 100644
(file)
--- a/
src/be/nikiroo/jvcard/tui/panes/ContactList.java
+++ b/
src/be/nikiroo/jvcard/tui/panes/ContactList.java
@@
-73,7
+73,7
@@
public class ContactList extends MainContentList {
public List<KeyAction> getKeyBindings() {
List<KeyAction> actions = new LinkedList<KeyAction>();
public List<KeyAction> getKeyBindings() {
List<KeyAction> actions = new LinkedList<KeyAction>();
- // TODO add
, del, save...
+ // TODO add
actions.add(new KeyAction(Mode.CONTACT_DETAILS, 'e',
Trans.StringId.KEY_ACTION_EDIT_CONTACT) {
@Override
actions.add(new KeyAction(Mode.CONTACT_DETAILS, 'e',
Trans.StringId.KEY_ACTION_EDIT_CONTACT) {
@Override
@@
-155,7
+155,7
@@
public class ContactList extends MainContentList {
width -= 2; // dirty mark space
String[] array = contact.toStringArray(format, getSeparator(), " ",
width -= 2; // dirty mark space
String[] array = contact.toStringArray(format, getSeparator(), " ",
- width);
+ width
, UiColors.getInstance().isUnicode()
);
if (contact.isDirty()) {
parts.add(new TextPart(" ", el));
if (contact.isDirty()) {
parts.add(new TextPart(" ", el));