[gnome-shell] 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] dash: Hide the tooltip when an item is clicked
- Date: Thu, 3 Sep 2020 15:30:16 +0000 (UTC)
commit 206d1fa6503896aeb8baca9d4dda7c8aa5b89280
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 16e797d18f..dbddd996f7 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]