More invalid source fixes

https://bugzilla.gnome.org/show_bug.cgi?id=711732
This commit is contained in:
Florian Müllner
2013-11-08 04:48:51 +01:00
parent 3991d2729d
commit 554d5aeb7c
6 changed files with 9 additions and 0 deletions

View File

@ -1355,7 +1355,9 @@ const AppIcon = new Lang.Class({
this._removeMenuTimeout();
this._menuTimeoutId = Mainloop.timeout_add(MENU_POPUP_TIMEOUT,
Lang.bind(this, function() {
this._menuTimeoutId = 0;
this.popupMenu();
return false;
}));
} else if (button == 3) {
this.popupMenu();