|
@ -263,7 +263,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess |
|
|
final TupleMessageEx message = getItem(pos); |
|
|
final TupleMessageEx message = getItem(pos); |
|
|
|
|
|
|
|
|
PopupMenu popupMenu = new PopupMenu(context, itemView); |
|
|
PopupMenu popupMenu = new PopupMenu(context, itemView); |
|
|
if (!EntityFolder.OUTBOX.equals(message.folderType)) { |
|
|
|
|
|
|
|
|
if (!message.threaded && !EntityFolder.OUTBOX.equals(message.folderType)) { |
|
|
popupMenu.getMenu().add(Menu.NONE, action_flag, 1, message.ui_flagged ? R.string.title_unflag : R.string.title_flag); |
|
|
popupMenu.getMenu().add(Menu.NONE, action_flag, 1, message.ui_flagged ? R.string.title_unflag : R.string.title_flag); |
|
|
popupMenu.getMenu().add(Menu.NONE, action_seen, 2, message.ui_seen ? R.string.title_unseen : R.string.title_seen); |
|
|
popupMenu.getMenu().add(Menu.NONE, action_seen, 2, message.ui_seen ? R.string.title_unseen : R.string.title_seen); |
|
|
} |
|
|
} |
|
|