Commit d53afd85f2eb86557f895f978a9724c62da49aa6
1 parent
27a4b57a
Exists in
master
and in
3 other branches
Removing print/save actions from the protocol library; it's better to
implement then on the gui application.
Showing
1 changed file
with
11 additions
and
2 deletions
Show diff stats
src/core/actions/table.c
... | ... | @@ -205,6 +205,9 @@ |
205 | 205 | .activatable = lib3270_is_connected |
206 | 206 | }, |
207 | 207 | |
208 | + /* | |
209 | + | |
210 | + No need here; this actions are better when implemented on the widget or main application. | |
208 | 211 | // |
209 | 212 | // Save/load actions |
210 | 213 | // |
... | ... | @@ -227,7 +230,7 @@ |
227 | 230 | .type = LIB3270_ACTION_TYPE_FILE, |
228 | 231 | |
229 | 232 | .keys = NULL, |
230 | - .icon = NULL, | |
233 | + .icon = "document-save", | |
231 | 234 | .label = NULL, |
232 | 235 | .summary = N_( "Save selected area to file" ), |
233 | 236 | .activate = save_selected, |
... | ... | @@ -241,7 +244,7 @@ |
241 | 244 | .type = LIB3270_ACTION_TYPE_FILE, |
242 | 245 | |
243 | 246 | .keys = NULL, |
244 | - .icon = NULL, | |
247 | + .icon = "document-save", | |
245 | 248 | .label = NULL, |
246 | 249 | .summary = NULL, |
247 | 250 | .activate = save_copy, |
... | ... | @@ -249,6 +252,7 @@ |
249 | 252 | .group = LIB3270_ACTION_GROUP_ONLINE, |
250 | 253 | .activatable = lib3270_is_connected |
251 | 254 | }, |
255 | + */ | |
252 | 256 | |
253 | 257 | { |
254 | 258 | .name = "paste-from-file", |
... | ... | @@ -634,6 +638,10 @@ |
634 | 638 | // |
635 | 639 | // Misc actions |
636 | 640 | // |
641 | + /* | |
642 | + | |
643 | + No need here; this actions are better when implemented on the widget or main application. | |
644 | + | |
637 | 645 | { |
638 | 646 | .name = "print", |
639 | 647 | .type = LIB3270_ACTION_TYPE_PRINTER, |
... | ... | @@ -690,6 +698,7 @@ |
690 | 698 | .group = LIB3270_ACTION_GROUP_COPY, |
691 | 699 | .activatable = lib3270_is_connected |
692 | 700 | }, |
701 | + */ | |
693 | 702 | |
694 | 703 | // |
695 | 704 | // Test actions | ... | ... |