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:
parent
9746c00a22
commit
f7620b385a
@ -694,6 +694,12 @@ var AllView = GObject.registerClass({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
this._updateIconOpacities(isOpen);
|
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;
|
this._displayingPopup = isOpen;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -689,5 +689,9 @@ var Overview = class {
|
|||||||
|
|
||||||
return this.dash.showAppsButton;
|
return this.dash.showAppsButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get searchEntry() {
|
||||||
|
return this._overview.searchEntry;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
Signals.addSignalMethods(Overview.prototype);
|
Signals.addSignalMethods(Overview.prototype);
|
||||||
|
Loading…
Reference in New Issue
Block a user