|
|
|
@ -78,7 +78,7 @@ public class FilterListActivity extends ListFragment {
|
|
|
|
|
private static final int MENU_SEARCH_ID = R.string.FLA_menu_search;
|
|
|
|
|
private static final int MENU_HELP_ID = R.string.FLA_menu_help;
|
|
|
|
|
private static final int MENU_NEW_FILTER_ID = R.string.FLA_new_filter;
|
|
|
|
|
private static final int MENU_NEW_LIST_ID = R.string.FLA_new_list;
|
|
|
|
|
//private static final int MENU_NEW_LIST_ID = R.string.FLA_new_list;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final int CONTEXT_MENU_SHORTCUT = R.string.FLA_context_shortcut;
|
|
|
|
@ -233,10 +233,6 @@ public class FilterListActivity extends ListFragment {
|
|
|
|
|
R.string.FLA_new_filter);
|
|
|
|
|
item.setIcon(android.R.drawable.ic_menu_add);
|
|
|
|
|
|
|
|
|
|
item = menu.add(Menu.NONE, MENU_NEW_LIST_ID, Menu.NONE,
|
|
|
|
|
R.string.FLA_new_list);
|
|
|
|
|
item.setIcon(android.R.drawable.ic_menu_add);
|
|
|
|
|
|
|
|
|
|
item = menu.add(Menu.NONE, MENU_SEARCH_ID, Menu.NONE,
|
|
|
|
|
R.string.FLA_menu_search);
|
|
|
|
|
item.setIcon(android.R.drawable.ic_menu_search);
|
|
|
|
@ -414,10 +410,6 @@ public class FilterListActivity extends ListFragment {
|
|
|
|
|
getActivity().startActivityForResult(intent, REQUEST_NEW_FILTER);
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
case MENU_NEW_LIST_ID : {
|
|
|
|
|
newListButton.performClick();
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
case CONTEXT_MENU_SHORTCUT: {
|
|
|
|
|
AdapterContextMenuInfo info = (AdapterContextMenuInfo)item.getMenuInfo();
|
|
|
|
|
final Intent shortcutIntent = item.getIntent();
|
|
|
|
|