remove deleteAll menuitem

This commit is contained in:
Eric House 2012-12-22 23:21:01 -08:00
parent 7be6a182f0
commit 0a7fcb2de4
3 changed files with 0 additions and 19 deletions

View file

@ -27,10 +27,6 @@
android:icon="@android:drawable/ic_menu_send"
/>
<item android:id="@+id/gamel_menu_delete_all"
android:title="@string/gamel_menu_delete_all"
android:icon="@android:drawable/ic_menu_delete"
/>
<item android:id="@+id/gamel_menu_checkmoves"
android:title="@string/gamel_menu_checkmoves"
android:icon="@drawable/stat_notify_sync"

View file

@ -185,12 +185,6 @@
game? Resetting erases all moves and any connection
information.</string>
<!-- Text of confirmation dialog posted when gamel_menu_delete_all
button is pressed -->
<string name="confirm_delete_all">Are you sure you want to delete
all games?</string>
<!--
############################################################
# :Screens:

View file

@ -87,7 +87,6 @@ public class GamesList extends XWExpandableListActivity
private static final int[] DEBUGITEMS = { R.id.gamel_menu_loaddb
, R.id.gamel_menu_storedb
, R.id.gamel_menu_checkupdates
, R.id.gamel_menu_delete_all
};
private static boolean s_firstShown = false;
@ -663,14 +662,6 @@ public class GamesList extends XWExpandableListActivity
showDialog( NEW_GROUP );
break;
case R.id.gamel_menu_delete_all:
if ( DBUtils.gamesList( this ).length > 0 ) {
showConfirmThen( R.string.confirm_delete_all,
R.string.button_delete, DELETE_ALL_ACTION );
}
handled = true;
break;
case R.id.gamel_menu_dicts:
intent = new Intent( this, DictsActivity.class );
startActivity( intent );