[mutter] keybindings: Remove 'toggle-recording' binding
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] keybindings: Remove 'toggle-recording' binding
- Date: Tue, 24 Apr 2012 15:38:29 +0000 (UTC)
commit 9c97e8999ea599759690395685cb51bd11afc520
Author: Florian MÃllner <fmuellner gnome org>
Date: Wed Apr 18 20:37:27 2012 +0200
keybindings: Remove 'toggle-recording' binding
The keybinding is only useful when using GNOME Shell, so now that we
can define keybindings outside of mutter, move it there.
https://bugzilla.gnome.org/show_bug.cgi?id=674376
src/core/keybindings.c | 18 ------------------
src/core/screen.c | 9 ---------
src/org.gnome.mutter.gschema.xml.in | 4 ----
3 files changed, 0 insertions(+), 31 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index cb73d14..9c41fc0 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -2973,17 +2973,6 @@ handle_panel (MetaDisplay *display,
}
static void
-handle_toggle_recording (MetaDisplay *display,
- MetaScreen *screen,
- MetaWindow *window,
- XEvent *event,
- MetaKeyBinding *binding,
- gpointer dummy)
-{
- g_signal_emit_by_name (screen, "toggle-recording");
-}
-
-static void
handle_activate_window_menu (MetaDisplay *display,
MetaScreen *screen,
MetaWindow *event_window,
@@ -3887,13 +3876,6 @@ init_builtin_key_bindings (MetaDisplay *display)
handle_panel, META_KEYBINDING_ACTION_PANEL_RUN_DIALOG);
add_builtin_keybinding (display,
- "toggle-recording",
- mutter_keybindings,
- META_KEY_BINDING_NONE,
- META_KEYBINDING_ACTION_TOGGLE_RECORDING,
- handle_toggle_recording, 0);
-
- add_builtin_keybinding (display,
"set-spew-mark",
common_keybindings,
META_KEY_BINDING_NONE,
diff --git a/src/core/screen.c b/src/core/screen.c
index 5145df5..5a36e43 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -83,7 +83,6 @@ enum
enum
{
RESTACKED,
- TOGGLE_RECORDING,
WORKSPACE_ADDED,
WORKSPACE_REMOVED,
WORKSPACE_SWITCHED,
@@ -230,14 +229,6 @@ meta_screen_class_init (MetaScreenClass *klass)
NULL, NULL, NULL,
G_TYPE_NONE, 1, G_TYPE_POINTER);
- screen_signals[TOGGLE_RECORDING] =
- g_signal_new ("toggle-recording",
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST,
- 0,
- NULL, NULL, NULL,
- G_TYPE_NONE, 0);
-
screen_signals[WORKAREAS_CHANGED] =
g_signal_new ("workareas-changed",
G_TYPE_FROM_CLASS (object_class),
diff --git a/src/org.gnome.mutter.gschema.xml.in b/src/org.gnome.mutter.gschema.xml.in
index e3c5590..465feab 100644
--- a/src/org.gnome.mutter.gschema.xml.in
+++ b/src/org.gnome.mutter.gschema.xml.in
@@ -89,10 +89,6 @@
</schema>
<schema id="org.gnome.mutter.keybindings" path="/org/gnome/mutter/keybindings/">
- <key name="toggle-recording" type="as">
- <default><![CDATA[['<Control><Shift><Alt>r']]]></default>
- </key>
-
<key name="toggle-tiled-left" type="as">
<default><![CDATA[['<Super>Left']]]></default>
</key>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]