diff options
author | Stefano Karapetsas <[email protected]> | 2013-09-05 01:54:51 -0700 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-09-05 01:54:51 -0700 |
commit | 693f9ae54e74d7bccbcbdcf66fb146b1666c896d (patch) | |
tree | cf90f0d939c6cc7d2a385206fb5ca1caab947655 /src/terminal-accels.c | |
parent | c5735b3afe2038eb67a715ded4e1a97a02656948 (diff) | |
parent | a3f5ac0e9cd58b5760e2a4234f6509f979e5e540 (diff) | |
download | mate-terminal-693f9ae54e74d7bccbcbdcf66fb146b1666c896d.tar.bz2 mate-terminal-693f9ae54e74d7bccbcbdcf66fb146b1666c896d.tar.xz |
Merge pull request #27 from stephenkgh/master
[PATCH] Add previous/next profile keyboard shortcuts, menu items
Diffstat (limited to 'src/terminal-accels.c')
-rw-r--r-- | src/terminal-accels.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/terminal-accels.c b/src/terminal-accels.c index 499a2f5..9dad3fc 100644 --- a/src/terminal-accels.c +++ b/src/terminal-accels.c @@ -63,6 +63,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" @@ -86,8 +88,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" @@ -214,6 +218,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[] = |