Revert "status/backgroundApps: Add section title"

Unfortunately we did not get approval for the string freeze
request, so we have to bail out of the change again.

This reverts commit d6c4039f75.
This commit is contained in:
Florian Müllner 2023-03-06 00:48:57 +01:00
parent efd6c17cad
commit 7fdf9b8a06

View File

@ -146,14 +146,6 @@ class BackgroundAppsToggle extends QuickToggle {
null, null,
Gio.DBusProxyFlags.DO_NOT_AUTO_START); Gio.DBusProxyFlags.DO_NOT_AUTO_START);
this._listTitle = new PopupMenu.PopupMenuItem(
_('Apps known to be running without a window'),
{reactive: false});
this._listTitle.label.clutter_text.set({
line_wrap: true,
});
this.menu.addMenuItem(this._listTitle);
this._appsSection = new PopupMenu.PopupMenuSection(); this._appsSection = new PopupMenu.PopupMenuSection();
this.menu.addMenuItem(this._appsSection); this.menu.addMenuItem(this._appsSection);
@ -191,7 +183,6 @@ class BackgroundAppsToggle extends QuickToggle {
'%d Background App', '%d Background App',
'%d Background Apps', '%d Background Apps',
nBackgroundApps).format(nBackgroundApps); nBackgroundApps).format(nBackgroundApps);
this._listTitle.visible = nBackgroundApps > 0;
this._appsSection.removeAll(); this._appsSection.removeAll();