|
|
@ -256,11 +256,12 @@ public class FilterListActivity extends ExpandableListFragment {
|
|
|
|
item = menu.add(Menu.NONE, MENU_NEW_FILTER_ID, Menu.NONE,
|
|
|
|
item = menu.add(Menu.NONE, MENU_NEW_FILTER_ID, Menu.NONE,
|
|
|
|
R.string.FLA_new_filter);
|
|
|
|
R.string.FLA_new_filter);
|
|
|
|
item.setIcon(android.R.drawable.ic_menu_add);
|
|
|
|
item.setIcon(android.R.drawable.ic_menu_add);
|
|
|
|
|
|
|
|
item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
|
|
|
|
|
|
|
|
|
|
|
item = menu.add(Menu.NONE, MENU_SEARCH_ID, Menu.NONE,
|
|
|
|
item = menu.add(Menu.NONE, MENU_SEARCH_ID, Menu.NONE,
|
|
|
|
R.string.FLA_menu_search);
|
|
|
|
R.string.FLA_menu_search);
|
|
|
|
item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
|
|
|
|
|
|
|
item.setIcon(android.R.drawable.ic_menu_search);
|
|
|
|
item.setIcon(android.R.drawable.ic_menu_search);
|
|
|
|
|
|
|
|
item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
|
|
|
|
|
|
|
|
|
|
|
item = menu.add(Menu.NONE, MENU_REFRESH_ID, Menu.NONE,
|
|
|
|
item = menu.add(Menu.NONE, MENU_REFRESH_ID, Menu.NONE,
|
|
|
|
R.string.TLA_menu_sync);
|
|
|
|
R.string.TLA_menu_sync);
|
|
|
@ -470,6 +471,10 @@ public class FilterListActivity extends ExpandableListFragment {
|
|
|
|
startActivityForResult(intent, REQUEST_CUSTOM_INTENT);
|
|
|
|
startActivityForResult(intent, REQUEST_CUSTOM_INTENT);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
case android.R.id.home: {
|
|
|
|
|
|
|
|
// TODO: maybe invoke a dashboard later
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
default: {
|
|
|
|
default: {
|
|
|
|
TaskListActivity tasklist = (TaskListActivity) getSupportFragmentManager()
|
|
|
|
TaskListActivity tasklist = (TaskListActivity) getSupportFragmentManager()
|
|
|
|
.findFragmentById(R.id.tasklist_fragment);
|
|
|
|
.findFragmentById(R.id.tasklist_fragment);
|
|
|
|