Citadel changes to gnome-shell
This commit is contained in:
@@ -342,6 +342,8 @@ class ControlsManager extends St.Widget {
|
||||
workspaceManager.connect('notify::n-workspaces',
|
||||
this._updateAdjustment.bind(this));
|
||||
|
||||
this._contextSwitchedId = workspaceManager.connect('context-switched', this._updateAdjustment.bind(this));
|
||||
|
||||
this._searchController = new SearchController.SearchController(
|
||||
this._searchEntry,
|
||||
this.dash.showAppsButton);
|
||||
@@ -653,6 +655,7 @@ class ControlsManager extends St.Widget {
|
||||
|
||||
_onDestroy() {
|
||||
global.workspace_manager.disconnect(this._nWorkspacesNotifyId);
|
||||
global.workspace_manager.disconnect(this._contextSwitchedId);
|
||||
}
|
||||
|
||||
_updateAdjustment() {
|
||||
|
Reference in New Issue
Block a user