summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Adams <robadams@ucla.edu>2003-01-15 02:39:07 +0000
committerRob Adams <readams@src.gnome.org>2003-01-15 02:39:07 +0000
commit667a05606661de3799cbe15a81e3c22f67aaf3a9 (patch)
treebf9da370b4f4d0d0b34ba2154324bebe0bbaebe3
parentc2fbb37c8ce8fa0b45077a4d14181bbd91611eda (diff)
downloadmetacity-667a05606661de3799cbe15a81e3c22f67aaf3a9.tar.gz
metacity-667a05606661de3799cbe15a81e3c22f67aaf3a9.tar.bz2
Increase the number of run_command bindings in screen_bindings from 12 to
2003-01-14 Rob Adams <robadams@ucla.edu> * src/prefs.c: Increase the number of run_command bindings in screen_bindings from 12 to 32. * src/prefs.h: Increase the number of META_KEYBINDING_COMMAND_N macros from 12 to 32. * src/keybindings.c: Increase the number of run_command handlers from 12 to 32.
-rw-r--r--ChangeLog11
-rw-r--r--src/keybindings.c40
-rw-r--r--src/prefs.c20
-rw-r--r--src/prefs.h20
4 files changed, 91 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 748754d..d160ca9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2003-01-14 Rob Adams <robadams@ucla.edu>
+
+ * src/prefs.c: Increase the number of run_command bindings in
+ screen_bindings from 12 to 32.
+
+ * src/prefs.h: Increase the number of META_KEYBINDING_COMMAND_N
+ macros from 12 to 32.
+
+ * src/keybindings.c: Increase the number of run_command handlers
+ from 12 to 32.
+
2003-01-11 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_handle_mouse_grab_op_event): implement
diff --git a/src/keybindings.c b/src/keybindings.c
index 921a909..658d5f7 100644
--- a/src/keybindings.c
+++ b/src/keybindings.c
@@ -289,6 +289,46 @@ static const MetaKeyHandler screen_handlers[] = {
GINT_TO_POINTER (10) },
{ META_KEYBINDING_COMMAND_12, handle_run_command,
GINT_TO_POINTER (11) },
+ { META_KEYBINDING_COMMAND_13, handle_run_command,
+ GINT_TO_POINTER (12) },
+ { META_KEYBINDING_COMMAND_14, handle_run_command,
+ GINT_TO_POINTER (13) },
+ { META_KEYBINDING_COMMAND_15, handle_run_command,
+ GINT_TO_POINTER (14) },
+ { META_KEYBINDING_COMMAND_16, handle_run_command,
+ GINT_TO_POINTER (15) },
+ { META_KEYBINDING_COMMAND_17, handle_run_command,
+ GINT_TO_POINTER (16) },
+ { META_KEYBINDING_COMMAND_18, handle_run_command,
+ GINT_TO_POINTER (17) },
+ { META_KEYBINDING_COMMAND_19, handle_run_command,
+ GINT_TO_POINTER (18) },
+ { META_KEYBINDING_COMMAND_20, handle_run_command,
+ GINT_TO_POINTER (19) },
+ { META_KEYBINDING_COMMAND_21, handle_run_command,
+ GINT_TO_POINTER (20) },
+ { META_KEYBINDING_COMMAND_22, handle_run_command,
+ GINT_TO_POINTER (21) },
+ { META_KEYBINDING_COMMAND_23, handle_run_command,
+ GINT_TO_POINTER (22) },
+ { META_KEYBINDING_COMMAND_24, handle_run_command,
+ GINT_TO_POINTER (23) },
+ { META_KEYBINDING_COMMAND_25, handle_run_command,
+ GINT_TO_POINTER (24) },
+ { META_KEYBINDING_COMMAND_26, handle_run_command,
+ GINT_TO_POINTER (25) },
+ { META_KEYBINDING_COMMAND_27, handle_run_command,
+ GINT_TO_POINTER (26) },
+ { META_KEYBINDING_COMMAND_28, handle_run_command,
+ GINT_TO_POINTER (27) },
+ { META_KEYBINDING_COMMAND_29, handle_run_command,
+ GINT_TO_POINTER (28) },
+ { META_KEYBINDING_COMMAND_30, handle_run_command,
+ GINT_TO_POINTER (29) },
+ { META_KEYBINDING_COMMAND_31, handle_run_command,
+ GINT_TO_POINTER (30) },
+ { META_KEYBINDING_COMMAND_32, handle_run_command,
+ GINT_TO_POINTER (31) },
{ NULL, NULL, NULL }
};
diff --git a/src/prefs.c b/src/prefs.c
index aadb98e..fede2e9 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -1266,6 +1266,26 @@ static MetaKeyPref screen_bindings[] = {
{ META_KEYBINDING_COMMAND_10, 0, 0 },
{ META_KEYBINDING_COMMAND_11, 0, 0 },
{ META_KEYBINDING_COMMAND_12, 0, 0 },
+ { META_KEYBINDING_COMMAND_13, 0, 0 },
+ { META_KEYBINDING_COMMAND_14, 0, 0 },
+ { META_KEYBINDING_COMMAND_15, 0, 0 },
+ { META_KEYBINDING_COMMAND_16, 0, 0 },
+ { META_KEYBINDING_COMMAND_17, 0, 0 },
+ { META_KEYBINDING_COMMAND_18, 0, 0 },
+ { META_KEYBINDING_COMMAND_19, 0, 0 },
+ { META_KEYBINDING_COMMAND_20, 0, 0 },
+ { META_KEYBINDING_COMMAND_21, 0, 0 },
+ { META_KEYBINDING_COMMAND_22, 0, 0 },
+ { META_KEYBINDING_COMMAND_23, 0, 0 },
+ { META_KEYBINDING_COMMAND_24, 0, 0 },
+ { META_KEYBINDING_COMMAND_25, 0, 0 },
+ { META_KEYBINDING_COMMAND_26, 0, 0 },
+ { META_KEYBINDING_COMMAND_27, 0, 0 },
+ { META_KEYBINDING_COMMAND_28, 0, 0 },
+ { META_KEYBINDING_COMMAND_29, 0, 0 },
+ { META_KEYBINDING_COMMAND_30, 0, 0 },
+ { META_KEYBINDING_COMMAND_31, 0, 0 },
+ { META_KEYBINDING_COMMAND_32, 0, 0 },
{ NULL, 0, 0 }
};
diff --git a/src/prefs.h b/src/prefs.h
index 683bedb..a7bef31 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -118,6 +118,26 @@ void meta_prefs_change_workspace_name (int i,
#define META_KEYBINDING_COMMAND_10 "run_command_10"
#define META_KEYBINDING_COMMAND_11 "run_command_11"
#define META_KEYBINDING_COMMAND_12 "run_command_12"
+#define META_KEYBINDING_COMMAND_13 "run_command_13"
+#define META_KEYBINDING_COMMAND_14 "run_command_14"
+#define META_KEYBINDING_COMMAND_15 "run_command_15"
+#define META_KEYBINDING_COMMAND_16 "run_command_16"
+#define META_KEYBINDING_COMMAND_17 "run_command_17"
+#define META_KEYBINDING_COMMAND_18 "run_command_18"
+#define META_KEYBINDING_COMMAND_19 "run_command_19"
+#define META_KEYBINDING_COMMAND_20 "run_command_20"
+#define META_KEYBINDING_COMMAND_21 "run_command_21"
+#define META_KEYBINDING_COMMAND_22 "run_command_22"
+#define META_KEYBINDING_COMMAND_23 "run_command_23"
+#define META_KEYBINDING_COMMAND_24 "run_command_24"
+#define META_KEYBINDING_COMMAND_25 "run_command_25"
+#define META_KEYBINDING_COMMAND_26 "run_command_26"
+#define META_KEYBINDING_COMMAND_27 "run_command_27"
+#define META_KEYBINDING_COMMAND_28 "run_command_28"
+#define META_KEYBINDING_COMMAND_29 "run_command_29"
+#define META_KEYBINDING_COMMAND_30 "run_command_30"
+#define META_KEYBINDING_COMMAND_31 "run_command_31"
+#define META_KEYBINDING_COMMAND_32 "run_command_32"
/* Window bindings */
#define META_KEYBINDING_WINDOW_MENU "activate_window_menu"