[gnome-shell/gnome-3-36] dash: Hide the tooltip when an item is clicked
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-36] dash: Hide the tooltip when an item is clicked
- Date: Wed, 7 Oct 2020 18:29:22 +0000 (UTC)
commit 3aa138be2672c57a4ed9fcc96034e40ac6c2eb98
Author: Daniel van Vugt <daniel van vugt canonical com>
Date: Thu Aug 27 16:52:14 2020 +0800
dash: Hide the tooltip when an item is clicked
So that when the 'Show Applications' button is clicked the icons don't
fly *through* the tooltip.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1423
js/ui/dash.js | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/js/ui/dash.js b/js/ui/dash.js
index 6eb71e73bd..a46d6168c6 100644
--- a/js/ui/dash.js
+++ b/js/ui/dash.js
@@ -462,6 +462,11 @@ var Dash = GObject.registerClass({
this._syncLabel(item, appIcon);
});
+ item.child.connect('clicked', () => {
+ this._labelShowing = false;
+ item.hideLabel();
+ });
+
let id = Main.overview.connect('hiding', () => {
this._labelShowing = false;
item.hideLabel();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]