mirror of
https://gitlab.gnome.org/julianschacher/top-bar-organizer.git
synced 2025-10-27 23:29:08 +00:00
Other: Wrap comments longer than 80 characters at 80 characters
This commit is contained in:
parent
d4514219ed
commit
0eee0e8ef9
@ -35,7 +35,8 @@ class Extension {
|
|||||||
enable() {
|
enable() {
|
||||||
this.settings = ExtensionUtils.getSettings();
|
this.settings = ExtensionUtils.getSettings();
|
||||||
|
|
||||||
// Create an instance of AppIndicatorKStatusNotifierItemManager to handle AppIndicator/KStatusNotifierItem items.
|
// Create an instance of AppIndicatorKStatusNotifierItemManager to
|
||||||
|
// handle AppIndicator/KStatusNotifierItem items.
|
||||||
this._appIndicatorKStatusNotifierItemManager = new AppIndicatorKStatusNotifierItemManager.AppIndicatorKStatusNotifierItemManager();
|
this._appIndicatorKStatusNotifierItemManager = new AppIndicatorKStatusNotifierItemManager.AppIndicatorKStatusNotifierItemManager();
|
||||||
|
|
||||||
// Create an instance of BoxOrderCreator for the creation of special box
|
// Create an instance of BoxOrderCreator for the creation of special box
|
||||||
@ -433,7 +434,8 @@ class Extension {
|
|||||||
panelBoxChildCount = Math.max(panelBox.get_children().length, validBoxOrder.length);
|
panelBoxChildCount = Math.max(panelBox.get_children().length, validBoxOrder.length);
|
||||||
for (let i = 0; i < validBoxOrder.length; i++) {
|
for (let i = 0; i < validBoxOrder.length; i++) {
|
||||||
const role = validBoxOrder[validBoxOrder.length - 1 - i];
|
const role = validBoxOrder[validBoxOrder.length - 1 - i];
|
||||||
// Get the indicator container associated with the current role.
|
// Get the indicator container associated with the current
|
||||||
|
// role.
|
||||||
const associatedIndicatorContainer = Main.panel.statusArea[role].container;
|
const associatedIndicatorContainer = Main.panel.statusArea[role].container;
|
||||||
|
|
||||||
associatedIndicatorContainer.get_parent().remove_child(associatedIndicatorContainer);
|
associatedIndicatorContainer.get_parent().remove_child(associatedIndicatorContainer);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user