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



commit 502bf419581cbf97d0c478effd8bdd79ff3a61f0
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]