diff options
author | spuhpointer <[email protected]> | 2014-09-10 10:04:27 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-09-10 10:15:22 +0200 |
commit | a6a5774c681f88ebc56b86e2492697549308c52a (patch) | |
tree | 7de58233f20437b4e63477decae65eb26398bab9 /src/terminal-profile.c | |
parent | 0442355666d4179ef22557149410f89ab240bdff (diff) | |
download | mate-terminal-a6a5774c681f88ebc56b86e2492697549308c52a.tar.bz2 mate-terminal-a6a5774c681f88ebc56b86e2492697549308c52a.tar.xz |
Added option to copy selection to clipboard
Diffstat (limited to 'src/terminal-profile.c')
-rw-r--r-- | src/terminal-profile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/terminal-profile.c b/src/terminal-profile.c index 67ab041..c5f487f 100644 --- a/src/terminal-profile.c +++ b/src/terminal-profile.c @@ -84,6 +84,7 @@ enum PROP_USE_THEME_COLORS, PROP_VISIBLE_NAME, PROP_WORD_CHARS, + PROP_COPY_SELECTION, LAST_PROP }; @@ -114,6 +115,7 @@ enum #define KEY_SCROLL_ON_KEYSTROKE "scroll-on-keystroke" #define KEY_SCROLL_ON_OUTPUT "scroll-on-output" #define KEY_SILENT_BELL "silent-bell" +#define KEY_COPY_SELECTION "copy-selection" #define KEY_TITLE_MODE "title-mode" #define KEY_TITLE "title" #define KEY_UPDATE_RECORDS "update-records" @@ -154,6 +156,7 @@ enum #define DEFAULT_SCROLL_ON_KEYSTROKE (TRUE) #define DEFAULT_SCROLL_ON_OUTPUT (FALSE) #define DEFAULT_SILENT_BELL (FALSE) +#define DEFAULT_COPY_SELECTION (FALSE) #define DEFAULT_TITLE_MODE (TERMINAL_TITLE_REPLACE) #define DEFAULT_TITLE (N_("Terminal")) #define DEFAULT_UPDATE_RECORDS (TRUE) @@ -1251,6 +1254,7 @@ terminal_profile_class_init (TerminalProfileClass *klass) TERMINAL_PROFILE_PROPERTY_BOOLEAN (SCROLL_ON_KEYSTROKE, DEFAULT_SCROLL_ON_KEYSTROKE, KEY_SCROLL_ON_KEYSTROKE); TERMINAL_PROFILE_PROPERTY_BOOLEAN (SCROLL_ON_OUTPUT, DEFAULT_SCROLL_ON_OUTPUT, KEY_SCROLL_ON_OUTPUT); TERMINAL_PROFILE_PROPERTY_BOOLEAN (SILENT_BELL, DEFAULT_SILENT_BELL, KEY_SILENT_BELL); + TERMINAL_PROFILE_PROPERTY_BOOLEAN (COPY_SELECTION, DEFAULT_COPY_SELECTION, KEY_COPY_SELECTION); TERMINAL_PROFILE_PROPERTY_BOOLEAN (UPDATE_RECORDS, DEFAULT_UPDATE_RECORDS, KEY_UPDATE_RECORDS); TERMINAL_PROFILE_PROPERTY_BOOLEAN (USE_CUSTOM_COMMAND, DEFAULT_USE_CUSTOM_COMMAND, KEY_USE_CUSTOM_COMMAND); TERMINAL_PROFILE_PROPERTY_BOOLEAN (USE_CUSTOM_DEFAULT_SIZE, DEFAULT_USE_CUSTOM_DEFAULT_SIZE, KEY_USE_CUSTOM_DEFAULT_SIZE); |