Enable collapse_subgroups_enable by default

This commit is contained in:
twinaphex 2015-02-26 03:12:35 +01:00
parent 92c993ffb3
commit b6e4266a3d
3 changed files with 4 additions and 2 deletions

View File

@ -447,6 +447,8 @@ static const bool default_overlay_enable = false;
#ifdef HAVE_MENU #ifdef HAVE_MENU
static bool default_block_config_read = true; static bool default_block_config_read = true;
static bool collapse_subgroups_enable = true;
#else #else
static bool default_block_config_read = false; static bool default_block_config_read = false;
#endif #endif

View File

@ -493,7 +493,7 @@ static void config_set_defaults(void)
g_settings.menu.navigation.wraparound.horizontal_enable = true; g_settings.menu.navigation.wraparound.horizontal_enable = true;
g_settings.menu.navigation.wraparound.vertical_enable = true; g_settings.menu.navigation.wraparound.vertical_enable = true;
g_settings.menu.navigation.browser.filter.supported_extensions_enable = true; g_settings.menu.navigation.browser.filter.supported_extensions_enable = true;
g_settings.menu.collapse_subgroups_enable = false; g_settings.menu.collapse_subgroups_enable = collapse_subgroups_enable;
#endif #endif
g_settings.ui.menubar_enable = true; g_settings.ui.menubar_enable = true;

View File

@ -5193,7 +5193,7 @@ static bool setting_data_append_list_menu_options(
g_settings.menu.collapse_subgroups_enable, g_settings.menu.collapse_subgroups_enable,
"menu_collapse_subgroups_enable", "menu_collapse_subgroups_enable",
"Collapse SubGroups", "Collapse SubGroups",
true, collapse_subgroups_enable,
"OFF", "OFF",
"ON", "ON",
group_info.name, group_info.name,