From 2f69f5e9301c5813c2baf7716250d310ffce5c55 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 26 Jun 2014 23:42:24 +0200 Subject: [PATCH] fix wrong search label --- OsmAnd/src/net/osmand/plus/activities/AvailableGPXFragment.java | 2 +- .../src/net/osmand/plus/activities/FavouritesTreeFragment.java | 2 +- OsmAnd/src/net/osmand/plus/activities/SelectedGPXFragment.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/AvailableGPXFragment.java b/OsmAnd/src/net/osmand/plus/activities/AvailableGPXFragment.java index a9d163ce8a..a8d69df5a1 100644 --- a/OsmAnd/src/net/osmand/plus/activities/AvailableGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/AvailableGPXFragment.java @@ -135,7 +135,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment { @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { - MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.export_fav, R.drawable.ic_action_search_light, + MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.search_poi_filter, R.drawable.ic_action_search_light, R.drawable.ic_action_search_dark, MenuItem.SHOW_AS_ACTION_ALWAYS | MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW); searchView = new com.actionbarsherlock.widget.SearchView(getActivity()); diff --git a/OsmAnd/src/net/osmand/plus/activities/FavouritesTreeFragment.java b/OsmAnd/src/net/osmand/plus/activities/FavouritesTreeFragment.java index 28ca791d22..c7c0f661c2 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavouritesTreeFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavouritesTreeFragment.java @@ -303,7 +303,7 @@ public class FavouritesTreeFragment extends OsmandExpandableListFragment { @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { - MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.export_fav, R.drawable.ic_action_search_light, + MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.search_poi_filter, R.drawable.ic_action_search_light, R.drawable.ic_action_search_dark, MenuItem.SHOW_AS_ACTION_ALWAYS | MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW); searchView = new com.actionbarsherlock.widget.SearchView(getActivity()); diff --git a/OsmAnd/src/net/osmand/plus/activities/SelectedGPXFragment.java b/OsmAnd/src/net/osmand/plus/activities/SelectedGPXFragment.java index fbe09d06a2..5bdbdc66fb 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SelectedGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/SelectedGPXFragment.java @@ -192,7 +192,7 @@ public class SelectedGPXFragment extends OsmandExpandableListFragment { @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { -// MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.export_fav, R.drawable.ic_action_search_light, +// MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.search_poi_filter, R.drawable.ic_action_search_light, // R.drawable.ic_action_search_dark, MenuItem.SHOW_AS_ACTION_ALWAYS // | MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW); // searchView = new com.actionbarsherlock.widget.SearchView(getActivity());