[the-board] [ui] Add MainWindow 's' keyboard shortcut to add sound things
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [ui] Add MainWindow 's' keyboard shortcut to add sound things
- Date: Thu, 6 Jan 2011 23:03:42 +0000 (UTC)
commit 3a83cb9cd01332dbd70bbf76ebf33c3c1645b302
Author: Lucas Rocha <lucasr gnome org>
Date: Thu Jan 6 22:56:38 2011 +0000
[ui] Add MainWindow 's' keyboard shortcut to add sound things
src/js/ui/mainWindow.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index ba7240c..8aeab18 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -732,6 +732,9 @@ MainWindow.prototype = {
} else if (text == 'v') {
this._currentPage.addThingFromState({ id: 'video' });
return true;
+ } else if (text == 's') {
+ this._currentPage.addThingFromState({ id: 'sound' });
+ return true;
} else if (text == 'q') {
this._quitApp();
return true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]