Skip to content

Commit

Permalink
ConversationActivity: Do not disable menu items. Not needed with anym…
Browse files Browse the repository at this point in the history
…ore with ActionBar.
  • Loading branch information
pocmo committed Jun 20, 2012
1 parent ca4a93d commit c511e9b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions application/src/org/yaaic/activity/ConversationActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -429,19 +429,6 @@ public boolean onCreateOptionsMenu(Menu menu)
return true;
}

/**
* On prepare options menu
*/
@Override
public boolean onPrepareOptionsMenu(Menu menu)
{
menu.getItem(0).setEnabled(server.isConnected()); // join
menu.getItem(1).setEnabled(server.isConnected()); // users
menu.getItem(2).setEnabled(server.isConnected()); // close

return true;
}

/**
* On menu item selected
*/
Expand Down

0 comments on commit c511e9b

Please sign in to comment.