remove game config activity's menu. It was down to one item and that

(revert) isn't needed if the confirm logic is working.
This commit is contained in:
eehouse 2010-04-23 08:57:39 +00:00
parent bf0fef5947
commit a219b4ae37
4 changed files with 0 additions and 32 deletions

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/game_config_revert"
android:title="@string/game_config_revert"
/>
</menu>

View file

@ -18,7 +18,6 @@
<string name="menu_delete">Suprimeix</string>
<string name="menu_insert">Afegeix una partida</string>
<string name="button_new_game">Afegeix una partida</string>
<string name="menu_revert">Reverteix</string>
<!-- <string name="list_item_open">Obre</string> -->
<string name="list_item_view">Configura</string>

View file

@ -18,7 +18,6 @@
<string name="menu_delete">Delete</string>
<string name="menu_insert">Add game</string>
<string name="button_new_game">Add game</string>
<string name="menu_revert">Revert changes</string>
<string name="list_item_config">Configure</string>
<string name="list_item_hide">Hide</string>

View file

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