sunwxg / gnome-shell-extension-floatingDock

MIT License
52 stars 6 forks source link

keep the controle button icon unhide #31

Open JE-Amouel opened 2 months ago

JE-Amouel commented 2 months ago

Hi, is possible to keep the control button icon visible? i just set a different icon for my button and i would like to see it, so i prefer when it always visible, it also serve as a visual anchor, because when i need to use it i know want i am looking for.

THANKS

sunwxg commented 2 months ago

It can't be changed by settings now. I think It can be improved.

sunwxg commented 2 months ago
diff --git a/floatingDock@sun.wxg@gmail.com/mainButton.js b/floatingDock@sun.wxg@gmail.com/mainButton.js
index 7ebf70f..00cbe5a 100644
--- a/floatingDock@sun.wxg@gmail.com/mainButton.js
+++ b/floatingDock@sun.wxg@gmail.com/mainButton.js
@@ -79,6 +79,8 @@ class MainButton extends St.Button {
     }

     _addWatch() {
+        return;
+
         if (this._watchId != 0)
             return;

If you want to have a quick and temp fix, you can change your local file following this patch.

JE-Amouel commented 2 months ago

THANKS :+1: