Commit f368392cd8e919978236afad0bb8c139136a1555
1 parent
d53afd85
Exists in
master
and in
3 other branches
Updating action tables.
Showing
1 changed file
with
20 additions
and
14 deletions
Show diff stats
src/core/actions/table.c
... | ... | @@ -39,20 +39,26 @@ |
39 | 39 | |
40 | 40 | /*---[ Implement ]------------------------------------------------------------------------------------------------------------*/ |
41 | 41 | |
42 | + /* | |
42 | 43 | static int save_all(H3270 *hSession) |
43 | 44 | { |
44 | 45 | return lib3270_save_all(hSession,NULL); |
45 | 46 | } |
47 | + */ | |
46 | 48 | |
49 | + /* | |
47 | 50 | static int save_selected(H3270 *hSession) |
48 | 51 | { |
49 | 52 | return lib3270_save_selected(hSession,NULL); |
50 | 53 | } |
54 | + */ | |
51 | 55 | |
56 | + /* | |
52 | 57 | static int save_copy(H3270 *hSession) |
53 | 58 | { |
54 | 59 | return lib3270_save_copy(hSession,NULL); |
55 | 60 | } |
61 | + */ | |
56 | 62 | |
57 | 63 | static int paste_file(H3270 *hSession) |
58 | 64 | { |
... | ... | @@ -112,7 +118,7 @@ |
112 | 118 | .type = LIB3270_ACTION_TYPE_NAVIGATION, |
113 | 119 | |
114 | 120 | .keys = "Up,KP_Up", |
115 | - .icon = NULL, | |
121 | + .icon = "go-up", | |
116 | 122 | .label = NULL, |
117 | 123 | .summary = N_( "Cursor up 1 position" ), |
118 | 124 | .activate = lib3270_cursor_up, |
... | ... | @@ -126,7 +132,7 @@ |
126 | 132 | .type = LIB3270_ACTION_TYPE_NAVIGATION, |
127 | 133 | |
128 | 134 | .keys = "Down,KP_Down", |
129 | - .icon = NULL, | |
135 | + .icon = "go-down", | |
130 | 136 | .label = NULL, |
131 | 137 | .summary = N_( "Cursor down 1 position" ), |
132 | 138 | .activate = lib3270_cursor_down, |
... | ... | @@ -140,7 +146,7 @@ |
140 | 146 | .type = LIB3270_ACTION_TYPE_NAVIGATION, |
141 | 147 | |
142 | 148 | .keys = "Left,KP_Left", |
143 | - .icon = NULL, | |
149 | + .icon = "go-previous", | |
144 | 150 | .label = NULL, |
145 | 151 | .summary = N_( "Cursor left 1 position" ), |
146 | 152 | .activate = lib3270_cursor_left, |
... | ... | @@ -154,7 +160,7 @@ |
154 | 160 | .type = LIB3270_ACTION_TYPE_NAVIGATION, |
155 | 161 | |
156 | 162 | .keys = "Right,KP_Right", |
157 | - .icon = NULL, | |
163 | + .icon = "go-next", | |
158 | 164 | .label = NULL, |
159 | 165 | .summary = N_( "Cursor right 1 position" ), |
160 | 166 | .activate = lib3270_cursor_right, |
... | ... | @@ -397,7 +403,7 @@ |
397 | 403 | |
398 | 404 | .keys = "<Ctrl>w", |
399 | 405 | .icon = NULL, |
400 | - .label = NULL, | |
406 | + .label = N_("Delete word"), | |
401 | 407 | .summary = N_( "Backspaces the cursor until it hits the front of a word" ), |
402 | 408 | .activate = lib3270_deleteword, |
403 | 409 | |
... | ... | @@ -411,7 +417,7 @@ |
411 | 417 | |
412 | 418 | .keys = "<Ctrl>u", |
413 | 419 | .icon = NULL, |
414 | - .label = NULL, | |
420 | + .label = N_( "Delete field" ), | |
415 | 421 | .summary = N_( "Delete field" ), |
416 | 422 | .activate = lib3270_deletefield, |
417 | 423 | |
... | ... | @@ -440,7 +446,7 @@ |
440 | 446 | |
441 | 447 | .keys = "End", |
442 | 448 | .icon = NULL, |
443 | - .label = NULL, | |
449 | + .label = N_("Erase EOF"), | |
444 | 450 | .summary = N_( "Erase End Of Field" ), |
445 | 451 | .activate = lib3270_eraseeof, |
446 | 452 | |
... | ... | @@ -454,7 +460,7 @@ |
454 | 460 | |
455 | 461 | .keys = NULL, |
456 | 462 | .icon = NULL, |
457 | - .label = NULL, | |
463 | + .label = N_("Erase EOL"), | |
458 | 464 | .summary = N_( "Erase End Of Line" ), |
459 | 465 | .activate = lib3270_eraseeol, |
460 | 466 | |
... | ... | @@ -498,7 +504,7 @@ |
498 | 504 | .type = LIB3270_ACTION_TYPE_GENERIC, |
499 | 505 | |
500 | 506 | .keys = NULL, |
501 | - .icon = NULL, | |
507 | + .icon = "gtk-ok", | |
502 | 508 | .label = NULL, |
503 | 509 | .summary = N_( "Send an \"Enter\" action" ), |
504 | 510 | .activate = lib3270_enter, |
... | ... | @@ -514,7 +520,7 @@ |
514 | 520 | |
515 | 521 | .keys = "Escape", |
516 | 522 | .icon = NULL, |
517 | - .label = NULL, | |
523 | + .label = N_("Reset"), | |
518 | 524 | .summary = NULL, |
519 | 525 | .activate = lib3270_kybdreset, |
520 | 526 | |
... | ... | @@ -585,7 +591,7 @@ |
585 | 591 | |
586 | 592 | .keys = "<shift>Escape", |
587 | 593 | .icon = NULL, |
588 | - .label = NULL, | |
594 | + .label = N_("Attn"), | |
589 | 595 | .summary = N_( "ATTN key, per RFC 2355. Sends IP, regardless" ), |
590 | 596 | .activate = lib3270_attn, |
591 | 597 | |
... | ... | @@ -599,7 +605,7 @@ |
599 | 605 | |
600 | 606 | .keys = NULL, |
601 | 607 | .icon = NULL, |
602 | - .label = NULL, | |
608 | + .label = N_("Break"), | |
603 | 609 | .summary = NULL, |
604 | 610 | .activate = lib3270_break, |
605 | 611 | |
... | ... | @@ -612,8 +618,8 @@ |
612 | 618 | .type = LIB3270_ACTION_TYPE_SELECTION, |
613 | 619 | |
614 | 620 | .keys = "<shift><alt>v", |
615 | - .icon = NULL, | |
616 | - .label = NULL, | |
621 | + .icon = "edit-paste", | |
622 | + .label = N_("Paste next"), | |
617 | 623 | .summary = NULL, |
618 | 624 | .activate = lib3270_paste_next, |
619 | 625 | ... | ... |