1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-28 19:21:50 +03:00
latte-dock/app/shortcuts
Tranter Madi fe5dbf9f2b Improve context menu
Summary:
- Add `Configure Latte Global Settings...` because it's too hidden in Layout > Configure and does not relate to the Layout menu.
- Insert a new `Separator` to separate between Global settings and View settings (see screenshot)
- Rename `Panel/Dock Settings` to `Edit Panel/Dock` (Verb + Noun)
- Rename `Layout > Configure...` to `Layout > Manage Layouts` (Verb + Noun)

Menu Items Order:

   a.  -separator-
   b. Layouts->
   c. Configure Application...
   e.  -separator-
   f. Add Widgets...
   g. Edit Dock...
   h.  -separator- [only for Tasks plasmoid]
   i.  Close... [only for Tasks plasmoid]

BUG: 415584

Test Plan:
Before:
{F7844554}

After:
a. context menu of applets
{F7845184}
b. context menu of a task that hasn't/has one window shown
{F7844944}
{F7845185}
c. context menu of Latte Tasks plasmoid when used on the desktop
{F7845186}
{F7845187}

Reviewers: #latte_dock, #vdg, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: ngraham, ndavis, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26238
2019-12-27 23:41:23 +07:00
..
CMakeLists.txt simplify CMakeLists 2019-04-06 22:04:21 +03:00
globalshortcuts.cpp Improve context menu 2019-12-27 23:41:23 +07:00
globalshortcuts.h dont wait for dock to show for activate shortcuts 2019-12-21 23:37:52 +02:00
modifiertracker.cpp REFACTOR:replace all "foreach" statements 2019-04-05 17:17:10 +03:00
modifiertracker.h add/enable option for MetaPressAndHold action 2019-02-10 02:39:09 +02:00
shortcutstracker.cpp REFACTOR:replace all "foreach" statements 2019-04-05 17:17:10 +03:00
shortcutstracker.h improve global shortcuts options 2019-02-03 09:55:01 +02:00