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



commit eece96cc7523a8f55cc3366668b1d3bc46b13af5
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 2988aa0b2c..3ac2dc9fbb 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1313,6 +1313,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]