diff options
author | John Ankarström <john@ankarstrom.se> | 2022-05-30 18:10:54 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-05-30 18:10:54 +0200 |
commit | 4f83cf6a5337379327e3eeda765e067d4f13ed4b (patch) | |
tree | e6f138999d3765ff00f8c2b1e23e38ac0605e153 /c/main.c | |
parent | 6fbb54d91b78cd0f89196ea091ad786469396692 (diff) | |
download | EpisodeBrowser-4f83cf6a5337379327e3eeda765e067d4f13ed4b.tar.gz |
Split up Watch into Watch Locally and Watch Online.
Diffstat (limited to 'c/main.c')
-rw-r--r-- | c/main.c | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -224,7 +224,7 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) case IDM_FILE_RESET: ElvSelectRecent(); break; - case IDM_FILE_FETCH: + case IDM_FILE_FETCH_DATA: { term_t t; t = T(0); @@ -232,7 +232,7 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) ElvUpdate(); break; } - case IDM_FILE_SCREENWRITERS: + case IDM_FILE_FETCH_SCREENWRITERS: { term_t t; t = T(0); @@ -323,7 +323,8 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) ListView_EnsureVisible(HElv, iEpFocus, TRUE); break; } - case IDM_WATCH: + case IDM_WATCH_LOCALLY: + case IDM_WATCH_ONLINE: case IDM_TOGGLE: case IDM_FORGET: case IDM_LOOKUP: @@ -356,8 +357,11 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) PI(t,lvi.lParam) goto b; switch (LOWORD(wParam)) { - case IDM_WATCH: - P("local_episode","open_episode",1,t); + case IDM_WATCH_LOCALLY: + P("local_episode","open_episode_locally",1,t); + break; + case IDM_WATCH_ONLINE: + P("local_episode","open_episode_online",1,t); break; case IDM_TOGGLE: P("track_episodes","toggle_episode",1,t); |