diff options
-rw-r--r-- | xbmc/dialogs/GUIDialogContextMenu.h | 1 | ||||
-rw-r--r-- | xbmc/music/windows/GUIWindowMusicBase.cpp | 6 | ||||
-rw-r--r-- | xbmc/video/windows/GUIWindowVideoBase.cpp | 10 | ||||
-rw-r--r-- | xbmc/video/windows/GUIWindowVideoBase.h | 1 | ||||
-rw-r--r-- | xbmc/video/windows/GUIWindowVideoNav.cpp | 1 |
5 files changed, 0 insertions, 19 deletions
diff --git a/xbmc/dialogs/GUIDialogContextMenu.h b/xbmc/dialogs/GUIDialogContextMenu.h index 1b0d43302d..863436c209 100644 --- a/xbmc/dialogs/GUIDialogContextMenu.h +++ b/xbmc/dialogs/GUIDialogContextMenu.h @@ -80,7 +80,6 @@ enum CONTEXT_BUTTON { CONTEXT_BUTTON_CANCELLED = 0, CONTEXT_BUTTON_STOP_SCANNING, CONTEXT_BUTTON_SET_ARTIST_THUMB, CONTEXT_BUTTON_SET_SEASON_ART, - CONTEXT_BUTTON_NOW_PLAYING, CONTEXT_BUTTON_CANCEL_PARTYMODE, CONTEXT_BUTTON_MARK_WATCHED, CONTEXT_BUTTON_MARK_UNWATCHED, diff --git a/xbmc/music/windows/GUIWindowMusicBase.cpp b/xbmc/music/windows/GUIWindowMusicBase.cpp index 4961a36eca..87fbaeffd8 100644 --- a/xbmc/music/windows/GUIWindowMusicBase.cpp +++ b/xbmc/music/windows/GUIWindowMusicBase.cpp @@ -737,8 +737,6 @@ void CGUIWindowMusicBase::GetNonContextButtons(CContextButtons &buttons) { if (!m_vecItems->IsVirtualDirectoryRoot()) buttons.Add(CONTEXT_BUTTON_GOTO_ROOT, 20128); - if (g_playlistPlayer.GetPlaylist(PLAYLIST_MUSIC).size() > 0) - buttons.Add(CONTEXT_BUTTON_NOW_PLAYING, 13350); buttons.Add(CONTEXT_BUTTON_SETTINGS, 5); } @@ -805,10 +803,6 @@ bool CGUIWindowMusicBase::OnContextButton(int itemNumber, CONTEXT_BUTTON button) return true; } - case CONTEXT_BUTTON_NOW_PLAYING: - g_windowManager.ActivateWindow(WINDOW_MUSIC_PLAYLIST); - return true; - case CONTEXT_BUTTON_GOTO_ROOT: Update(""); return true; diff --git a/xbmc/video/windows/GUIWindowVideoBase.cpp b/xbmc/video/windows/GUIWindowVideoBase.cpp index 818947bcba..c1802435ec 100644 --- a/xbmc/video/windows/GUIWindowVideoBase.cpp +++ b/xbmc/video/windows/GUIWindowVideoBase.cpp @@ -1274,12 +1274,6 @@ void CGUIWindowVideoBase::GetContextButtons(int itemNumber, CContextButtons &but CGUIMediaWindow::GetContextButtons(itemNumber, buttons); } -void CGUIWindowVideoBase::GetNonContextButtons(int itemNumber, CContextButtons &buttons) -{ - if (g_playlistPlayer.GetPlaylist(PLAYLIST_VIDEO).size() > 0) - buttons.Add(CONTEXT_BUTTON_NOW_PLAYING, 13350); -} - bool CGUIWindowVideoBase::OnPlayStackPart(int iItem) { if (iItem < 0 || iItem >= m_vecItems->Size()) @@ -1397,10 +1391,6 @@ bool CGUIWindowVideoBase::OnContextButton(int itemNumber, CONTEXT_BUTTON button) case CONTEXT_BUTTON_RESUME_ITEM: return OnFileAction(itemNumber, SELECT_ACTION_RESUME); - case CONTEXT_BUTTON_NOW_PLAYING: - g_windowManager.ActivateWindow(WINDOW_VIDEO_PLAYLIST); - return true; - case CONTEXT_BUTTON_INFO: OnInfo(itemNumber); return true; diff --git a/xbmc/video/windows/GUIWindowVideoBase.h b/xbmc/video/windows/GUIWindowVideoBase.h index c483b263ba..b6e305d8d8 100644 --- a/xbmc/video/windows/GUIWindowVideoBase.h +++ b/xbmc/video/windows/GUIWindowVideoBase.h @@ -104,7 +104,6 @@ protected: virtual bool CanContainFilter(const CStdString &strDirectory) const; virtual void GetContextButtons(int itemNumber, CContextButtons &buttons); - void GetNonContextButtons(int itemNumber, CContextButtons &buttons); virtual bool OnContextButton(int itemNumber, CONTEXT_BUTTON button); virtual void OnQueueItem(int iItem); virtual void OnDeleteItem(CFileItemPtr pItem); diff --git a/xbmc/video/windows/GUIWindowVideoNav.cpp b/xbmc/video/windows/GUIWindowVideoNav.cpp index d6c04093aa..c107e2e666 100644 --- a/xbmc/video/windows/GUIWindowVideoNav.cpp +++ b/xbmc/video/windows/GUIWindowVideoNav.cpp @@ -1070,7 +1070,6 @@ void CGUIWindowVideoNav::GetContextButtons(int itemNumber, CContextButtons &butt buttons.Add(CONTEXT_BUTTON_PLUGIN_SETTINGS, 1045); } } - CGUIWindowVideoBase::GetNonContextButtons(itemNumber, buttons); } // predicate used by sorting and set_difference |