From a219b4ae378bf35c0eb288b6e54f74c964981411 Mon Sep 17 00:00:00 2001 From: eehouse Date: Fri, 23 Apr 2010 08:57:39 +0000 Subject: [PATCH] remove game config activity's menu. It was down to one item and that (revert) isn't needed if the confirm logic is working. --- .../XWords4/res/menu/game_config_menu.xml | 7 ------ .../android/XWords4/res/values-ca/strings.xml | 1 - .../android/XWords4/res/values/strings.xml | 1 - .../org/eehouse/android/xw4/GameConfig.java | 23 ------------------- 4 files changed, 32 deletions(-) delete mode 100644 xwords4/android/XWords4/res/menu/game_config_menu.xml diff --git a/xwords4/android/XWords4/res/menu/game_config_menu.xml b/xwords4/android/XWords4/res/menu/game_config_menu.xml deleted file mode 100644 index 07bc22d66..000000000 --- a/xwords4/android/XWords4/res/menu/game_config_menu.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/xwords4/android/XWords4/res/values-ca/strings.xml b/xwords4/android/XWords4/res/values-ca/strings.xml index dd48e176d..4b524ce32 100644 --- a/xwords4/android/XWords4/res/values-ca/strings.xml +++ b/xwords4/android/XWords4/res/values-ca/strings.xml @@ -18,7 +18,6 @@ Suprimeix Afegeix una partida Afegeix una partida - Reverteix Configura diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index 888202ce2..4055b4130 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -18,7 +18,6 @@ Delete Add game Add game - Revert changes Configure Hide diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameConfig.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameConfig.java index 61ce25398..d9a29177a 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameConfig.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameConfig.java @@ -475,29 +475,6 @@ public class GameConfig extends Activity implements View.OnClickListener { return handled; } - @Override - public boolean onCreateOptionsMenu( Menu menu ) - { - MenuInflater inflater = getMenuInflater(); - inflater.inflate( R.menu.game_config_menu, menu ); - return true; - } - - @Override - public boolean onOptionsItemSelected( MenuItem item ) - { - boolean handled = true; - - switch( item.getItemId() ) { - case R.id.game_config_revert: - finish(); - break; - default: - handled = false; - } - return handled; - } // onOptionsItemSelected - public void onClick( View view ) { if ( m_addPlayerButton == view ) {