[gnome-shell-extensions] Update for KeyBindingMode => ActionMode change
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] Update for KeyBindingMode => ActionMode change
- Date: Fri, 19 Dec 2014 15:14:59 +0000 (UTC)
commit 0e0f7c80c21bd7813379f2006acb54dc48a71b14
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Dec 19 16:12:39 2014 +0100
Update for KeyBindingMode => ActionMode change
extensions/alternate-tab/extension.js | 2 +-
extensions/apps-menu/extension.js | 8 ++++----
extensions/screenshot-window-sizer/extension.js | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/extensions/alternate-tab/extension.js b/extensions/alternate-tab/extension.js
index 52d07bb..79fde0a 100644
--- a/extensions/alternate-tab/extension.js
+++ b/extensions/alternate-tab/extension.js
@@ -14,7 +14,7 @@ function init(metadata) {
}
function setKeybinding(name, func) {
- Main.wm.setCustomKeybindingHandler(name, Shell.KeyBindingMode.NORMAL, func);
+ Main.wm.setCustomKeybindingHandler(name, Shell.ActionMode.NORMAL, func);
}
function enable() {
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
index f8438fd..515f77a 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -589,8 +589,8 @@ function enable() {
Main.panel.addToStatusArea('apps-menu', appsMenuButton, 1, 'left');
Main.wm.setCustomKeybindingHandler('panel-main-menu',
- Shell.KeyBindingMode.NORMAL |
- Shell.KeyBindingMode.OVERVIEW,
+ Shell.ActionMode.NORMAL |
+ Shell.ActionMode.OVERVIEW,
function() {
appsMenuButton.menu.toggle();
});
@@ -606,8 +606,8 @@ function disable() {
activitiesButton.container.show();
Main.wm.setCustomKeybindingHandler('panel-main-menu',
- Shell.KeyBindingMode.NORMAL |
- Shell.KeyBindingMode.OVERVIEW,
+ Shell.ActionMode.NORMAL |
+ Shell.ActionMode.OVERVIEW,
Main.sessionMode.hasOverview ?
Lang.bind(Main.overview, Main.overview.toggle) :
null);
diff --git a/extensions/screenshot-window-sizer/extension.js b/extensions/screenshot-window-sizer/extension.js
index 1e573ea..082b864 100644
--- a/extensions/screenshot-window-sizer/extension.js
+++ b/extensions/screenshot-window-sizer/extension.js
@@ -138,7 +138,7 @@ function enable() {
Main.wm.addKeybinding('cycle-screenshot-sizes',
Convenience.getSettings(),
Meta.KeyBindingFlags.PER_WINDOW | Meta.KeyBindingFlags.REVERSES,
- Shell.KeyBindingMode.NORMAL,
+ Shell.ActionMode.NORMAL,
cycleScreenshotSizes);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]