gnome-shell/js/ui/status
Georges Basile Stavracas Neto e82c68accd
switcherPopup: Rename destroy() to fadeAndDestroy()
In the process of purging all usages of Shell.GenericContainer
of GNOME Shell, one specific problematic situation that might
occur is when classes have functions that would clash with any
ClutterActor or StWidget function name.

One of such example is SwitcherPopup.destroy(). Right now, this
class is a pure JavaScript class that wraps a real actor, but
soon this will change, and it'll become a St.Widget subclass.

Another problem with functions that mimic the toolkit ones is
the predictability of them; after calling destroy(), that widget
is expected to not be available anymore. In SwitcherPopup case,
it is still available for a short while. In this case, that's not
a big problem, but the show() and hide() functions in other clases
are more problematic because the actor's visibility does not
follow that.

This commit is a first step in cleaning that up, and changes the
SwitcherPopup.destroy() to fadeAndDestroy().

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/153
2018-10-08 22:42:23 -03:00
..
accessibility.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
bluetooth.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
brightness.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
keyboard.js switcherPopup: Rename destroy() to fadeAndDestroy() 2018-10-08 22:42:23 -03:00
location.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
network.js Fix connection to wifi APs from user menu (RH #1628263) 2018-09-18 16:15:32 -07:00
nightLight.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
power.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
remoteAccess.js remoteAccess: Make indicator orange 2018-07-27 18:10:35 +02:00
rfkill.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
screencast.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
system.js system: Don't execute Settings 2018-07-31 13:31:59 -03:00
thunderbolt.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
volume.js volume: Show overamplified icon when in overdrive 2018-07-31 18:14:15 +00:00