-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection of Menu alterations #230
Conversation
category_definitions["System"] = std::make_unique<WfMenuCategoryDefinition>("System", "applications-system"); | ||
category_definitions["Utility"] = std::make_unique<WfMenuCategoryDefinition>("Accessories", "applications-utilities"); | ||
category_definitions["Hidden"] = std::make_unique<WfMenuCategoryDefinition>("Other Desktops", "user-desktop"); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These decide which of the XDG desktop entry spec get used for our categories.
Removing one means it gets omitted, adding another means we gain a new potential category.
I think we should remove "Hidden" as it will fill with settings managers for unrelated desktops, but opinions may vary so I've kept it until we decide
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do think it makes sense to have one fallback where everything not fitting other categories is present. I'm certain some apps will be mis-labeled, so this way the user can still see them ..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer safe to sorry, I see that.
Then potentially a bool to hide the category?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And further : Should 'Other desktop' always be included in 'All' and in searching?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should hide any applications from the user, then again, I usually don't use the menu, so if you feel strongly in either direction, I'd trust your intuition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general LGTM, let me know if you want to make any more changes, otherwise, I will merge.
Also a note, I usually squash all commits together to avoid style fix commits in the history, if you want your work to be remain in multiple commits, please squash manually. Otherwise I'll just squash and you don't have to do anything.
That's fine. While I'm unsure everyone will agree with me about the defaults, they're certainly acceptable defaults.
Go for it, I'm not precious about it. |
Alright, I think even if someone disagrees, we can add more options in follow-up PRs, you did the harder part ;) Thanks! |
Options added:
panel/menu_list
panel/menu_show_categories
panel/menu_min_category_width
New Menu Features:
Commits include work done for a different PR merged here and then reverted as the patch was unrelated.