ShellDBus: add ShowApplications method
Add a method to control the visibility of the applications view. This can used by gnome-settings-daemon for special keys in certain keyboards. https://bugzilla.gnome.org/show_bug.cgi?id=698743
This commit is contained in:

committed by
Giovanni Campagna

parent
415563dc6e
commit
9c814d1584
@ -165,6 +165,11 @@ const ViewSelector = new Lang.Class({
|
||||
this._showAppsButton.checked = !this._showAppsButton.checked;
|
||||
},
|
||||
|
||||
showApps: function() {
|
||||
Main.overview.show();
|
||||
this._showAppsButton.checked = true;
|
||||
},
|
||||
|
||||
show: function() {
|
||||
this._activePage = this._workspacesPage;
|
||||
|
||||
|
Reference in New Issue
Block a user