Permalink
Browse files

Scroll to show full context menu when right-clicking on an applicatio…

…n in the menu (fix for issue #376)
  • Loading branch information...
1 parent 8aba97b commit 5400d0806d2824df7664ea74240d779f3b91c6de @glebihan glebihan committed Mar 10, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js
@@ -142,6 +142,10 @@ GenericApplicationButton.prototype = {
}
}
this.menu.toggle();
+ },
+
+ _subMenuOpenStateChanged: function() {
+ if (this.menu.isOpen) this.appsMenuButton._scrollToButton(this.menu);
}
}

0 comments on commit 5400d08

Please sign in to comment.