backgroundMenu: Don't add an animation to the background menu

We don't do this for shell entries nor for the message tray
context menu, so it doesn't make sense to do it here, either.
This commit is contained in:
Jasper St. Pierre 2013-02-18 15:51:48 -05:00
parent 6b9cac928b
commit 6a00a504d4

View File

@ -38,7 +38,7 @@ function addBackgroundMenu(actor) {
function openMenu() { function openMenu() {
let [x, y] = global.get_pointer(); let [x, y] = global.get_pointer();
cursor.set_position(x, y); cursor.set_position(x, y);
actor._backgroundMenu.open(BoxPointer.PopupAnimation.FULL); actor._backgroundMenu.open(BoxPointer.PopupAnimation.NONE);
} }
let clickAction = new Clutter.ClickAction(); let clickAction = new Clutter.ClickAction();