Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 366ce151 authored by Jesse Vincent's avatar Jesse Vincent
Browse files

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.
parent 4bfebe42
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -49,4 +49,8 @@
		android:id="@+id/send_alternate"
		android:title="@string/send_alternate_action"
	/>
    <item
        android:id="@+id/same_sender"
        android:title="@string/from_same_sender"
    />
</menu>
+3 −0
Original line number Diff line number Diff line
@@ -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>
+7 −0
Original line number Diff line number Diff line
@@ -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);