1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -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:
Jesse Vincent 2010-06-06 21:33:44 +00:00
parent 4bfebe42f1
commit 366ce15196
3 changed files with 16 additions and 2 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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);