Disable favorite tool cloning by default

Also add tooltip stating that tool cloning may cause a delay while
switching between tabs.
This commit is contained in:
Lawrence Lee 2021-12-24 16:03:58 -08:00
parent a7010d25cd
commit 6a0067d738
3 changed files with 4 additions and 1 deletions

View File

@ -1902,6 +1902,7 @@ PREFERENCES_THUMBNAIL_INSPECTOR_RAW;Neutral raw rendering
PREFERENCES_THUMBNAIL_INSPECTOR_RAW_IF_NO_JPEG_FULLSIZE;Embedded JPEG if fullsize, neutral raw otherwise PREFERENCES_THUMBNAIL_INSPECTOR_RAW_IF_NO_JPEG_FULLSIZE;Embedded JPEG if fullsize, neutral raw otherwise
PREFERENCES_TOOLPANEL_AVAILABLETOOLS;Available Tools PREFERENCES_TOOLPANEL_AVAILABLETOOLS;Available Tools
PREFERENCES_TOOLPANEL_CLONE_FAVORITES;Keep favorite tools in original locations PREFERENCES_TOOLPANEL_CLONE_FAVORITES;Keep favorite tools in original locations
PREFERENCES_TOOLPANEL_CLONE_FAVORITES_TOOLTIP;If set, favorite tools will appear in both the favorites tab and their original tabs.\n\nNote: Enabling this option may result in a slight delay when switching tabs.
PREFERENCES_TOOLPANEL_FAVORITE;Favorite PREFERENCES_TOOLPANEL_FAVORITE;Favorite
PREFERENCES_TOOLPANEL_FAVORITESPANEL;Favorites Panel PREFERENCES_TOOLPANEL_FAVORITESPANEL;Favorites Panel
PREFERENCES_TOOLPANEL_TOOL;Tool PREFERENCES_TOOLPANEL_TOOL;Tool

View File

@ -424,7 +424,7 @@ void Options::setDefaults()
//crvOpen.clear (); //crvOpen.clear ();
parseExtensions.clear(); parseExtensions.clear();
favorites.clear(); favorites.clear();
cloneFavoriteTools = true; cloneFavoriteTools = false;
parseExtensionsEnabled.clear(); parseExtensionsEnabled.clear();
parsedExtensions.clear(); parsedExtensions.clear();
parsedExtensionsSet.clear(); parsedExtensionsSet.clear();

View File

@ -532,6 +532,8 @@ ToolLocationPreference::Impl::Impl(Options &options) :
// General options. // General options.
cloneFavoriteToolsToggleWidget->set_active(options.cloneFavoriteTools); cloneFavoriteToolsToggleWidget->set_active(options.cloneFavoriteTools);
cloneFavoriteToolsToggleWidget->set_tooltip_text(
M("PREFERENCES_TOOLPANEL_CLONE_FAVORITES_TOOLTIP"));
// Tool list. // Tool list.
toolListViewPtr->append_column(toolListViewColumnToolName); toolListViewPtr->append_column(toolListViewColumnToolName);