diff options
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 |