Commit f368392cd8e919978236afad0bb8c139136a1555

Authored by Perry Werneck
1 parent d53afd85

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