[the-board] [ui] Don't use Escape to hide main window
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [ui] Don't use Escape to hide main window
- Date: Wed, 16 Mar 2011 12:21:00 +0000 (UTC)
commit 1a518f9574ce7dbd0c17908e33add1cc09a8e4e2
Author: Lucas Rocha <lucasr gnome org>
Date: Wed Mar 16 12:16:37 2011 +0000
[ui] Don't use Escape to hide main window
This can be quite confusing when you misuse it while meaning to
deactivate elements in the page using same key shortcut.
src/js/ui/mainWindow.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index 525dee5..155afb8 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -795,8 +795,6 @@ MainWindow.prototype = {
} else if (key == Clutter.Escape) {
if (this._currentPage.selectedThings.length > 0) {
this._currentPage.unselectAllThings();
- } else {
- this._hideGtkWindow();
}
} else if (text == 't') {
this._currentPage.addThingFromState({ id: 'note' });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]