Commit c034fc3a authored by Sébastien Toque's avatar Sébastien Toque

init browse MenuItem properly

parent cc7729f1
......@@ -220,6 +220,8 @@ public class MainActivity extends SherlockFragmentActivity {
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getSupportMenuInflater();
inflater.inflate(R.menu.media_library, menu);
MenuItem browse = menu.findItem(R.id.ml_menu_browse);
browse.setTitle(mMediaLibraryActive ? R.string.directories : R.string.media_library);
return super.onCreateOptionsMenu(menu);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment