appDisplay: Block search when showing app folder dialogs

Also following design guidance, make the search entry insensitive
when showing an app folder dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896
This commit is contained in:
Georges Basile Stavracas Neto 2020-01-09 17:44:22 -03:00
parent 9746c00a22
commit f7620b385a
2 changed files with 10 additions and 0 deletions

View File

@ -694,6 +694,12 @@ var AllView = GObject.registerClass({
});
}
this._updateIconOpacities(isOpen);
// Toggle search entry
Main.overview.searchEntry.reactive = !isOpen;
Main.overview.searchEntry.clutter_text.reactive = !isOpen;
Main.overview.searchEntry.clutter_text.editable = !isOpen;
this._displayingPopup = isOpen;
});
}

View File

@ -689,5 +689,9 @@ var Overview = class {
return this.dash.showAppsButton;
}
get searchEntry() {
return this._overview.searchEntry;
}
};
Signals.addSignalMethods(Overview.prototype);