diff options
author | mio <[email protected]> | 2024-10-06 10:41:24 +1000 |
---|---|---|
committer | mio <[email protected]> | 2024-10-06 17:16:41 +1000 |
commit | f460840a5e1c4e6cc262177f2b60cebfe469d393 (patch) | |
tree | 97a47405e1714970d9eda9616ac3450a0ca2ccfb /misc | |
parent | cc8974895a02a98823419846e75f23651aa0abc0 (diff) | |
download | codeine-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 <[email protected]>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/codeineui.rc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/codeineui.rc b/misc/codeineui.rc index d6ef71f..c5afb14 100644 --- a/misc/codeineui.rc +++ b/misc/codeineui.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui> -<kpartgui name="codeine" version="4"> +<kpartgui name="codeine" version="5"> <MenuBar> <Menu name="file" noMerge="1"><text>&Play</text> <Action name="play_media"/> @@ -10,9 +10,12 @@ <Action name="file_quit"/> </Menu> <Menu name="settings" noMerge="1"><text>&Settings</text> - <Separator/><!-- this seperator doesn't show :( --> + <Action name="aspect_ratio_select"/> + <Action name="audio_channels_select"/> + <Action name="subtitle_channels_select"/> + <Separator/> <Action name="fullscreen"/> - <Separator/><!-- this seperator doesn't show :( --> + <Separator/> <Action name="options_configure_keybinding"/> <Action name="options_configure_toolbars"/> <Separator/> |