# HG changeset patch # User Nikita Kozlov # Date 1306354996 -7200 # Node ID 547bb144e3a4c86bf75f5fd18df7b2fb348d72f7 # Parent 5441ea00c4f14e3ea972f97d69b496e5f62caf9d moving otr actions in a submenu diff -r 5441ea00c4f1 -r 547bb144e3a4 res/menu/chat.xml --- a/res/menu/chat.xml Wed May 25 01:31:07 2011 +0200 +++ b/res/menu/chat.xml Wed May 25 22:23:16 2011 +0200 @@ -7,14 +7,19 @@ - - - - - + + + + + + + + + diff -r 5441ea00c4f1 -r 547bb144e3a4 res/values/strings.xml --- a/res/values/strings.xml Wed May 25 01:31:07 2011 +0200 +++ b/res/values/strings.xml Wed May 25 22:23:16 2011 +0200 @@ -276,6 +276,7 @@ Stop OTR session OTR local key OTR remote key + OTR actions Opened chats Close this chat No more active chats diff -r 5441ea00c4f1 -r 547bb144e3a4 src/com/beem/project/beem/ui/Chat.java --- a/src/com/beem/project/beem/ui/Chat.java Wed May 25 01:31:07 2011 +0200 +++ b/src/com/beem/project/beem/ui/Chat.java Wed May 25 22:23:16 2011 +0200 @@ -294,7 +294,6 @@ case R.id.chat_menu_change_chat: try { final List openedChats = mChatManager.getOpenedChatList(); - Log.d(TAG, "opened chats = " + openedChats); Dialog chatList = new ChatList(Chat.this, openedChats).create(); chatList.show(); } catch (RemoteException e) { @@ -311,7 +310,6 @@ break; case R.id.chat_menu_start_otr_session: try { - Log.d(TAG, "opened otr chats = " + mChat + " for " + mContact); if (mChat == null) { mChat = mChatManager.createChat(mContact, mMessageListener); if (mChat != null) { @@ -325,7 +323,6 @@ break; case R.id.chat_menu_listen_otr_session: try { - Log.d(TAG, "listen otr chats = " + mChat + " for " + mContact); if (mChat == null) { mChat = mChatManager.createChat(mContact, mMessageListener); if (mChat != null) { @@ -339,7 +336,6 @@ break; case R.id.chat_menu_stop_otr_session: try { - Log.d(TAG, "close otr chats = " + mChat + " for " + mContact); if (mChat == null) { mChat = mChatManager.createChat(mContact, mMessageListener); if (mChat != null) { @@ -360,7 +356,6 @@ } } String fk = mChat.getLocalOtrFingerprint(); - Log.d(TAG, "otr chats = " + mChat + " for " + mContact + " fk " + fk); Dialog otrDialog = new DisplayOtrFingerprint(this, fk, true).create(); otrDialog.show(); } catch (RemoteException e) { @@ -376,7 +371,6 @@ } } String fk = mChat.getRemoteOtrFingerprint(); - Log.d(TAG, "otr chats = " + mChat + " for " + mContact + " fk " + fk); Dialog otrDialog = new DisplayOtrFingerprint(this, fk, false).create(); otrDialog.show(); } catch (RemoteException e) {