rename menu item

This commit is contained in:
eehouse 2010-02-09 14:36:09 +00:00
parent 5510ebc388
commit 1afbaf9c42

View file

@ -111,8 +111,8 @@ public class GamesList extends ListActivity implements View.OnClickListener {
// doOpen( info.position ); // doOpen( info.position );
// handled = true; // handled = true;
// break; // break;
case R.id.list_item_view: case R.id.list_item_config:
doView( path ); doConfig( path );
break; break;
case R.id.list_item_delete: case R.id.list_item_delete:
if ( ! deleteFile( path ) ) { if ( ! deleteFile( path ) ) {
@ -218,7 +218,7 @@ public class GamesList extends ListActivity implements View.OnClickListener {
startActivity( intent ); startActivity( intent );
} }
private void doView( String path ) private void doConfig( String path )
{ {
Uri uri = Uri.fromFile( new File(path) ); Uri uri = Uri.fromFile( new File(path) );