siefkenj / gnome-shell-windowlist

Displays a list of open windows in gnome-shell
GNU General Public License v2.0
34 stars 18 forks source link

Conlict with Frippery Panel Favorites #2

Closed rmyorston closed 12 years ago

rmyorston commented 12 years ago

Users of extensions.gnome.org are reporting problems when this extension and Frippery Panel Favorites are both installed.

This patch should allow them to coexist:

diff --git a/windowlist@o2net.cl/extension.js b/windowlist@o2net.cl/extension.js
index 5e78165..95add21 100644
--- a/windowlist@o2net.cl/extension.js
+++ b/windowlist@o2net.cl/extension.js
@@ -433,8 +433,7 @@ function enable() {
     _clock.actor.set_width( _clock.actor.get_width() + 5 );

     /* Remove Application Menu */
-    _children = Main.panel._leftBox.get_children();
-    restoreState["applicationMenu"] = _children[1];
+    restoreState["applicationMenu"] = Main.panel._appMenu.actor;
     Main.panel._leftBox.remove_actor(restoreState["applicationMenu"]);  

     /* Place the Window List */
siefkenj commented 12 years ago

Thanks for the patch. Problem resolved :-)