[gnome-shell] windowMenu: Fix typo
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] windowMenu: Fix typo
- Date: Wed, 21 May 2014 17:58:06 +0000 (UTC)
commit 4c7b992c362f192984bf85a7236879f5578d6733
Author: Florian Müllner <fmuellner gnome org>
Date: Wed May 21 19:53:50 2014 +0200
windowMenu: Fix typo
Closing windows is done with delete(), not close() ...
js/ui/windowMenu.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/windowMenu.js b/js/ui/windowMenu.js
index 79c4814..772479b 100644
--- a/js/ui/windowMenu.js
+++ b/js/ui/windowMenu.js
@@ -115,7 +115,7 @@ const WindowMenu = new Lang.Class({
this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
item = this.addAction(_("Close"), Lang.bind(this, function(event) {
- window.close(event.get_time());
+ window.delete(event.get_time());
}));
if (!window.can_close())
item.setSensitive(false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]