summaryrefslogtreecommitdiffstats
path: root/src/app/xineEngine.h
diff options
context:
space:
mode:
authormio <stigma@disroot.org>2024-10-06 10:41:24 +1000
committermio <stigma@disroot.org>2024-10-06 17:16:41 +1000
commitf460840a5e1c4e6cc262177f2b60cebfe469d393 (patch)
tree97a47405e1714970d9eda9616ac3450a0ca2ccfb /src/app/xineEngine.h
parentcc8974895a02a98823419846e75f23651aa0abc0 (diff)
downloadcodeine-f460840a5e1c4e6cc262177f2b60cebfe469d393.tar.gz
codeine-f460840a5e1c4e6cc262177f2b60cebfe469d393.zip
Fix channel selection menus disappearing
When adding/removing an action to/from the toolbar, the aspect ratio, audio channel, and subtitle channel menus would disappear from the parent settings menu. My understanding is that this happened because nothing was keeping those menus present (plugged?) when other actions were plugged/unplugged. This changes it so "Aspect Ratio", "Subtitles", and "Audio Channels" each are a TDESelectAction that is dynamically filled with items. This way, each popup menu is still present after other actions being plugged/unplugged. Resolves: TDE/codeine#24 Signed-off-by: mio <stigma@disroot.org>
Diffstat (limited to 'src/app/xineEngine.h')
-rw-r--r--src/app/xineEngine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/xineEngine.h b/src/app/xineEngine.h
index 638bc01..6f8170a 100644
--- a/src/app/xineEngine.h
+++ b/src/app/xineEngine.h
@@ -83,7 +83,8 @@ namespace Codeine
void stateChanged( Engine::State );
void statusMessage( const TQString& );
void titleChanged( const TQString& );
- void channelsChanged( const TQStringList& );
+ void audioChannelsChanged( const TQStringList &);
+ void subtitleChannelsChanged( const TQStringList &);
private:
static void xineEventListener( void*, const xine_event_t* );