Skip to content

Commit

Permalink
MyGames: Remove duplicate add-on information context item
Browse files Browse the repository at this point in the history
  • Loading branch information
garbear committed Dec 24, 2016
1 parent 3795c81 commit 9657800
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion addons/resource.language.en_gb/resources/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -14328,7 +14328,6 @@ msgid "Add-on options"
msgstr ""

#: xbmc/addons/ContextMenus.h
#: xbmc/games/windows/GUIWindowGames.cpp
msgctxt "#24003"
msgid "Add-on information"
msgstr ""
Expand Down
3 changes: 0 additions & 3 deletions xbmc/games/windows/GUIWindowGames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,6 @@ void CGUIWindowGames::GetContextButtons(int itemNumber, CContextButtons &buttons
buttons.Add(CONTEXT_BUTTON_PLAY_ITEM, 208); // Play
}

if (!m_vecItems->IsPlugin() && item->HasAddonInfo())
buttons.Add(CONTEXT_BUTTON_INFO, 24003); // Add-on information

if (CServiceBroker::GetSettings().GetBool(CSettings::SETTING_FILELISTS_ALLOWFILEDELETION) && !item->IsReadOnly())
{
buttons.Add(CONTEXT_BUTTON_DELETE, 117);
Expand Down

0 comments on commit 9657800

Please sign in to comment.