diff options
author | mio <stigma@disroot.org> | 2024-10-06 10:41:24 +1000 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-06 17:38:04 +0900 |
commit | 39912d87d5982a40d5fd3633da12568d160b67c7 (patch) | |
tree | b25213a9a2466b4367f81fe8d0def782ca32f569 /src/app/xineEngine.h | |
parent | 5100a0909b52226219ebe33342f1fb9ee7f8e49b (diff) | |
download | codeine-39912d87d5982a40d5fd3633da12568d160b67c7.tar.gz codeine-39912d87d5982a40d5fd3633da12568d160b67c7.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>
(cherry picked from commit f460840a5e1c4e6cc262177f2b60cebfe469d393)
Diffstat (limited to 'src/app/xineEngine.h')
-rw-r--r-- | src/app/xineEngine.h | 3 |
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* ); |