mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Very first pass at contextual search. This _should_ end up as a submenu
with searches for "Same recipient", "In this conversations", "On this date", etc.
This commit is contained in:
parent
4bfebe42f1
commit
366ce15196
@ -41,12 +41,16 @@
|
||||
android:id="@+id/move"
|
||||
android:title="@string/move_action"
|
||||
/>
|
||||
<item
|
||||
<item
|
||||
android:id="@+id/copy"
|
||||
android:title="@string/copy_action"
|
||||
/>
|
||||
/>
|
||||
<item
|
||||
android:id="@+id/send_alternate"
|
||||
android:title="@string/send_alternate_action"
|
||||
/>
|
||||
<item
|
||||
android:id="@+id/same_sender"
|
||||
android:title="@string/from_same_sender"
|
||||
/>
|
||||
</menu>
|
||||
|
@ -275,6 +275,9 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin
|
||||
|
||||
<string name="folder_push_active_symbol">(Push)</string>
|
||||
|
||||
<string name="find_action">Find messages</string>
|
||||
<string name="from_same_sender">More from this sender</string>
|
||||
|
||||
<string name="message_copied_toast">Message copied</string>
|
||||
<string name="message_moved_toast">Message moved</string>
|
||||
<string name="message_deleted_toast">Message deleted</string>
|
||||
|
@ -1429,6 +1429,13 @@ public class MessageList
|
||||
|
||||
break;
|
||||
|
||||
case R.id.same_sender:
|
||||
MessageList.actionHandle(MessageList.this,
|
||||
"From "+holder.sender, holder.sender, true,
|
||||
null, null);
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
return super.onContextItemSelected(item);
|
||||
|
Loading…
Reference in New Issue
Block a user