diff options
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r-- | c/episodelistview.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp index 6caff99..14aa192 100644 --- a/c/episodelistview.cpp +++ b/c/episodelistview.cpp @@ -7,6 +7,7 @@ #include "data.h" #include "datalistview.h" #include "episodelistview.h" +#include "ext.h" #include "listview.h" #include "pl.h" #include "util.h" @@ -68,25 +69,20 @@ void EpisodeListView::HandleContextMenu(const WORD command) /* Process other commands. */ switch (command) { case IDM_WATCH_LOCALLY: - if (!Pl("local_episode","open_episode_locally",lvi.lParam)) + if(!OpenLocally(lvi.lParam)) cNotFound++; break; case IDM_WATCH_ONLINE: - Pl("local_episode","open_episode_online",lvi.lParam); + OpenOnline(lvi.lParam); break; case IDM_TOGGLE: e.bWatched = !e.bWatched; break; - case IDM_FORGET: - Pl("track_episodes","forget_episode",lvi.lParam); - Pl("track_episodes","update_tracked_episodes"); - break; - case IDM_WIKI: - Pl("episode_data","open_episode_wiki",lvi.lParam); + OpenWiki(lvi.lParam); break; } } |