[gnome-shell/gbsneto/pagination: 64/70] appDisplay: Let FolderIcon popdown the folder dialog



commit 5f5d23cc6cb20f77f5dc950355a54d7050850d8f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed May 20 16:31:29 2020 -0300

    appDisplay: Let FolderIcon popdown the folder dialog
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271

 js/ui/appDisplay.js | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 23177b9d21..48fec6f541 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1272,6 +1272,9 @@ var FolderIcon = GObject.registerClass({
         if (this.name == name)
             return;
 
+        if (this._dialog)
+            this._dialog.popdown();
+
         this.name = name;
         this.icon.label.text = this.name;
         this.emit('name-changed');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]