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. |
||
|---|---|---|
| .. | ||
| client | ||
| engine | ||
| js | ||
| CMakeLists.txt | ||
| main.vala | ||
| testcase.vala | ||