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



commit b56cc81d98a5d0068206a41df886a00965be2839
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 2e989b827e..b0be4b190a 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]