[gnome-shell/gbsneto/custom-icon-positions: 13/35] appDisplay: Let FolderIcon popdown the folder dialog



commit 61a0c6d0de07ae924bc9ae7c00ad5d2d15c32b59
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 940b1d0347..6f87a46b0e 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1317,6 +1317,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]