summaryrefslogtreecommitdiff
path: root/src/terminal-accels.c
diff options
context:
space:
mode:
authorStephen Krauth <[email protected]>2013-04-27 16:09:59 -0400
committerStephen Krauth <[email protected]>2013-09-04 00:27:44 -0400
commita3f5ac0e9cd58b5760e2a4234f6509f979e5e540 (patch)
treebc24544580a0d5ac56788ed35e5317017d040388 /src/terminal-accels.c
parentb2bc45fbca9a5f46517fb3298c5ab8fa22fd4b97 (diff)
downloadmate-terminal-a3f5ac0e9cd58b5760e2a4234f6509f979e5e540.tar.bz2
mate-terminal-a3f5ac0e9cd58b5760e2a4234f6509f979e5e540.tar.xz
Add previous/next profile keyboard shortcuts, menu items
Diffstat (limited to 'src/terminal-accels.c')
-rw-r--r--src/terminal-accels.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/terminal-accels.c b/src/terminal-accels.c
index 44b003b..4516be6 100644
--- a/src/terminal-accels.c
+++ b/src/terminal-accels.c
@@ -59,6 +59,8 @@
#define ACCEL_PATH_FULL_SCREEN ACCEL_PATH_ROOT "ViewFullscreen"
#define ACCEL_PATH_RESET ACCEL_PATH_ROOT "TerminalReset"
#define ACCEL_PATH_RESET_AND_CLEAR ACCEL_PATH_ROOT "TerminalResetClear"
+#define ACCEL_PATH_PREV_PROFILE ACCEL_PATH_ROOT "ProfilePrevious"
+#define ACCEL_PATH_NEXT_PROFILE ACCEL_PATH_ROOT "ProfileNext"
#define ACCEL_PATH_PREV_TAB ACCEL_PATH_ROOT "TabsPrevious"
#define ACCEL_PATH_NEXT_TAB ACCEL_PATH_ROOT "TabsNext"
#define ACCEL_PATH_SET_TERMINAL_TITLE ACCEL_PATH_ROOT "TerminalSetTitle"
@@ -82,8 +84,10 @@
#define KEY_NEW_PROFILE "new-profile"
#define KEY_NEW_TAB "new-tab"
#define KEY_NEW_WINDOW "new-window"
+#define KEY_NEXT_PROFILE "next-profile"
#define KEY_NEXT_TAB "next-tab"
#define KEY_PASTE "paste"
+#define KEY_PREV_PROFILE "prev-profile"
#define KEY_PREV_TAB "prev-tab"
#define KEY_RESET_AND_CLEAR "reset-and-clear"
#define KEY_RESET "reset"
@@ -210,6 +214,14 @@ static KeyEntry terminal_entries[] =
N_("Reset and Clear"),
KEY_RESET_AND_CLEAR, ACCEL_PATH_RESET_AND_CLEAR, 0, 0, NULL, FALSE, TRUE
},
+ {
+ N_("Switch to Previous Profile"),
+ KEY_PREV_PROFILE, ACCEL_PATH_PREV_PROFILE, GDK_MOD1_MASK, GDK_Page_Up, NULL, FALSE, TRUE
+ },
+ {
+ N_("Switch to Next Profile"),
+ KEY_NEXT_PROFILE, ACCEL_PATH_NEXT_PROFILE, GDK_MOD1_MASK, GDK_Page_Down, NULL, FALSE, TRUE
+ },
};
static KeyEntry tabs_entries[] =