summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-11-22 21:03:19 +0100
committerChristian Soffke <christian.soffke@gmail.com>2024-04-24 05:05:42 +0200
commite8816552f6adc2bb458860759bd15a31b7d9d0d1 (patch)
tree4363ddcb7b31c084cf0ea090501fa8d7d06741a4 /apps/settings_list.c
parent3ce3b102ddd5b663759ed61bd689b7bbda2ceecd (diff)
downloadrockbox-e8816552f6adc2bb458860759bd15a31b7d9d0d1.tar.gz
rockbox-e8816552f6adc2bb458860759bd15a31b7d9d0d1.zip
Offer choice of default browsers
The database or playlist catalogue can now be set as the browser that is launched when pressing ACTION_WPS_BROWSE on the WPS, unless another browser has more recently been opened. Previously you'd always have to exit the File Browser first, after the player had been restarted, which is annoying for users who prefer the database. The playlist catalogue has become part of the MRU browser list, so pressing ACTION_WPS_BROWSE after selecting a track from a playlist in the playlist catalogue will now take you back there. Settings menus have been slightly restructured. - Eliminated "Set WPS Context Plugin" and "Hotkey" menus from the General menu - Added "What's Playing Screen" menu in Settings-General with option for setting default browser. The "WPS Hotkey" and "WPS Context Plugin" menu options have been moved to this menu. - "File Browser Hotkey" is now part of the File View menu, which means it is accessible from the browser's context menu as well. Overview of resulting menu structure in Settings->General: What's Playing Screen Default Browser WPS Hotkey Set WPS Context Plugin File View (...) File Browser Hotkey Change-Id: Iaa3619a791c20ce3562a1efd2cf90c72933b729a
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 7bdb3522c0..dc33c27c95 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1852,6 +1852,25 @@ const struct settings_list settings[] = {
1852 ID2P(LANG_SET_BOOL_YES), 1852 ID2P(LANG_SET_BOOL_YES),
1853 ID2P(LANG_IN_SUBMENU)), 1853 ID2P(LANG_IN_SUBMENU)),
1854 1854
1855 CHOICE_SETTING(0, browser_default, LANG_DEFAULT_BROWSER, 0,
1856 "default browser",
1857#ifdef HAVE_TAGCACHE
1858 "files,database,playlists",
1859#else
1860 "files,playlists",
1861#endif
1862 NULL,
1863#ifdef HAVE_TAGCACHE
1864 3
1865#else
1866 2
1867#endif
1868 ,ID2P(LANG_DIR_BROWSER),
1869#ifdef HAVE_TAGCACHE
1870 ID2P(LANG_TAGCACHE),
1871#endif
1872 ID2P(LANG_CATALOG)),
1873
1855#ifdef HAVE_BACKLIGHT 1874#ifdef HAVE_BACKLIGHT
1856 CHOICE_SETTING(0, backlight_on_button_hold, 1875 CHOICE_SETTING(0, backlight_on_button_hold,
1857 LANG_BACKLIGHT_ON_BUTTON_HOLD, 1876 LANG_BACKLIGHT_ON_BUTTON_HOLD,