Commit 6ef3c96486c0beaea308179d41401c105ac84f6d

Authored by Perry Werneck
1 parent 92e8914d
Exists in master and in 1 other branch develop

Changing default accelerator for 'copy-append' back to '<shift><ctrl>C'

Showing 1 changed file with 11 additions and 27 deletions   Show diff stats
src/terminal/actions/table.c
... ... @@ -45,21 +45,6 @@
45 45  
46 46 static const V3270_ACTION actions[] = {
47 47  
48   - /*
49   - {
50   - .name = "keypad-add",
51   - .keys = "<Mod2>KP_Add",
52   - .group = LIB3270_ACTION_GROUP_ONLINE,
53   - .activate = fire_kp_add_action
54   - },
55   - {
56   - .name = "keypad-subtract",
57   - .keys = "<Mod2>KP_Subtract",
58   - .group = LIB3270_ACTION_GROUP_ONLINE,
59   - .activate = fire_kp_sub_action
60   - },
61   - */
62   -
63 48 // Standard Clipboard actions
64 49 {
65 50 .flags = (V3270_ACTION_FLAGS) V3270_COPY_SMART,
... ... @@ -74,6 +59,17 @@
74 59 },
75 60  
76 61 {
  62 + .name = "copy-append",
  63 + .keys = "<Primary><Shift>c",
  64 + .flags = (V3270_ACTION_FLAGS) V3270_COPY_APPEND,
  65 + .group = LIB3270_ACTION_GROUP_SELECTION,
  66 + .label = N_( "Add to copy" ),
  67 + .summary = N_("Append selection to clipboard"),
  68 + .description = N_("Append selected area to current clipboard contents"),
  69 + .activate = fire_copy_accelerator
  70 + },
  71 +
  72 + {
77 73 .name = "copy-html",
78 74 .group = LIB3270_ACTION_GROUP_SELECTION,
79 75 .label = N_( "Copy as HTML" ),
... ... @@ -92,19 +88,7 @@
92 88 },
93 89  
94 90 {
95   - .name = "copy-append",
96   - .keys = "<Alt>c",
97   - .flags = (V3270_ACTION_FLAGS) V3270_COPY_APPEND,
98   - .group = LIB3270_ACTION_GROUP_SELECTION,
99   - .label = N_( "Add to copy" ),
100   - .summary = N_("Append selection to clipboard"),
101   - .description = N_("Append selected area to current clipboard contents"),
102   - .activate = fire_copy_accelerator
103   - },
104   -
105   - {
106 91 .name = "copy-text",
107   - .keys = "<Primary><Shift>c",
108 92 .flags = (V3270_ACTION_FLAGS) V3270_COPY_TEXT,
109 93 .group = LIB3270_ACTION_GROUP_SELECTION,
110 94 .icon = "edit-copy",
... ...