This restores some old behaviour after teh WK2 port. * src/client/conversation-viewer/conversation-message.vala (ConversationMessage): Add alt_text param to ::save_image signal. Replace ::set_action_param_string with ::set_action_param_string so we can pass a (url, alt_text) tuple for the save_image tuple and update call sites. Set this tuple for the action when enabling it, and pass the two values to the ::save_image signal handler when activated. * src/engine/api/geary-attachment.vala (Attachment::get_safe_file_name): Add alt_file_name param method, use that when constructing a file name. Add doc comment, test. * src/client/application/geary-controller.vala: Updated to pass alt text from save_imge signal emission all thr way through to get_safe_file_name. |
||
|---|---|---|
| .. | ||
| api | ||
| mime-content-type-test.vala | ||
| rfc822-mailbox-address-test.vala | ||
| rfc822-message-data-test.vala | ||
| rfc822-message-test.vala | ||
| rfc822-utils-test.vala | ||
| util-html-test.vala | ||
| util-idle-manager-test.vala | ||
| util-inet-test.vala | ||
| util-js-test.vala | ||
| util-timeout-manager-test.vala | ||