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/profile-editor.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/profile-editor.c')
-rw-r--r-- | src/profile-editor.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/profile-editor.c b/src/profile-editor.c index 8076827..d66b5da 100644 --- a/src/profile-editor.c +++ b/src/profile-editor.c @@ -242,6 +242,10 @@ profile_notify_sensitivity_cb (TerminalProfile *profile, SET_SENSITIVE ("bell-checkbutton", !terminal_profile_property_locked (profile, TERMINAL_PROFILE_SILENT_BELL)); + if (!prop_name || prop_name == I_(TERMINAL_PROFILE_COPY_SELECTION)) + SET_SENSITIVE ("copy-checkbutton", + !terminal_profile_property_locked (profile, TERMINAL_PROFILE_COPY_SELECTION)); + if (!prop_name || prop_name == I_(TERMINAL_PROFILE_WORD_CHARS)) SET_SENSITIVE ("word-chars-entry", !terminal_profile_property_locked (profile, TERMINAL_PROFILE_WORD_CHARS)); @@ -941,6 +945,8 @@ terminal_profile_edit (TerminalProfile *profile, CONNECT ("use-theme-colors-checkbutton", TERMINAL_PROFILE_USE_THEME_COLORS); CONNECT ("word-chars-entry", TERMINAL_PROFILE_WORD_CHARS); CONNECT_WITH_FLAGS ("bell-checkbutton", TERMINAL_PROFILE_SILENT_BELL, FLAG_INVERT_BOOL); + /* CONNECT_WITH_FLAGS ("copy-checkbutton", TERMINAL_PROFILE_COPY_SELECTION, FLAG_INVERT_BOOL); */ + CONNECT ("copy-checkbutton", TERMINAL_PROFILE_COPY_SELECTION); #undef CONNECT #undef CONNECT_WITH_FLAGS |