Fix that POST card's message is disappearing when language/iconset change occurs #1914
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Fix that POST card's message is disappearing when language/iconset change occurs
Summary
Calling ui_sb_set_ready(0) is needed before ui_sb_update_panes() to update the lanugage-specific hints/icons in both cases. Originally ui_sb_set_ready(0) clears the POST card's text, now a new value is accepted ui_sb_set_ready(-1), which does the same as value 0, but does not clears the text. Also ui_sb_update_text() call was needed to update the text when the status bar is updated - this call has changed from static to extern.
Checklist
References
N/A