15 Commits

Author SHA1 Message Date
Lawrence Lee
6a0067d738 Disable favorite tool cloning by default
Also add tooltip stating that tool cloning may cause a delay while
switching between tabs.
2021-12-24 16:03:58 -08:00
Lawrence Lee
40678f67b0 Refactor tool name code 2021-12-11 21:21:54 -08:00
Lawrence Lee
546c99d276 Clean up favorites preferences code 2021-12-11 15:35:52 -08:00
Lawrence Lee
80944d6c9b Change look of favorites preferences
Set column widths based on DPI and font size in pseudo-HiDPI mode. Move
favorites buttons to left side of list.
2021-12-10 22:24:18 -08:00
Lawrence Lee
f8a1deb371 Add option to clone favorite tools
If cloning is enabled, favorite tools will appear in the favorites panel
and in the original location.
2021-12-09 21:27:39 -08:00
Lawrence Lee
778b26d5bd Make tool locations dynamic
Update tool locations after changing favorite tools preferences.
2021-12-05 17:21:46 -08:00
Lawrence Lee
8bd7712cce Add error handling to tool location preferences 2021-11-26 21:34:19 -08:00
Lawrence Lee
9a67dd726e Comment code for tool location preferences 2021-11-26 21:01:37 -08:00
Lawrence Lee
16a9e3932f Fix compilation error
Add hasher to unordered_map with an enum class key.
2021-11-26 16:39:50 -08:00
Lawrence Lee
4fe39a82a5 Add buttons for reordering favorites 2021-11-26 15:46:24 -08:00
Lawrence Lee
fde15eaebb Improve look of favorites preferences
Set a fixed width for the lists, embed the preferences in a
horizontally-scrollable window, and open the preferences window on the
general tab.
2021-11-25 15:35:02 -08:00
Lawrence Lee
c6a45ae765 Move helper functions into anonymous namespace
Move some functions in toollocationpref.cc.
2021-11-25 14:58:42 -08:00
Flössie
ac19ea4507 Fix enum class key in hashed containers 2021-11-24 15:32:04 +01:00
Lawrence Lee
23214ae5cd Clean up code
Fix compile warning, remove GTK functions not present in version 3.16,
and make code more concise.
2021-11-22 21:38:14 -08:00
Lawrence Lee
0f894656a0 Add favorites customizer to preferences UI 2021-11-21 17:47:41 -08:00