gnome-shell/data/theme/gnome-shell-sass
Florian Müllner e0c61f53f1 quickSettings: Add menu support to items
Now that the QuickSettingsMenu supports child menus, it is time
to add menu support to quick toggles.

Do that by introducing a QuickSettingsItem parent class with a
construct-only :has-menu property, as that will allow including
menus in items that aren't following the standard icon+label
pattern of QuickToggle (yes, we'll have some of those).

A common parent class also allows us to control the type of
menu that is created. That's important, as we need another
custom menu type to

- constrain the menu's y position to place it underneath
  the source actor

- use open/close animations taylored for this use case

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2393>
2022-08-03 12:41:05 +00:00
..

GNOME Shell Sass

GNOME Shell Sass is a project intended to allow the sharing of the theme sources in sass between gnome-shell and other projects like gnome-shell-extensions.

Any changes should be done in the GNOME Shell subtree and not the stand-alone gnome-shell-sass repository. They will then be synchronized periodically before releases.

License

GNOME Shell Sass is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.