-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite overwrite prompt for link case #2050
Conversation
@mcclurgm I have tried to fix this consistent with @Marukesu 's suggestions (although I have reworked the string handling a little differently). It now compiles and seems to work with the builtin portal tester and also the Flatpak version of Code. I have little experience of documenting functions - I have tried to follow the format in existing projects but there may be some tweaking required. |
@Marukesu Could cast another eye over this? Particularly the method documentation I added. The CI failure is not related to this PR - it seems to be happening to all PRs merged with the current master but I haven't determined the reason yet (it doesn't happen locally so something to do with the container?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think code is good. added suggestions about commentary style and expanding the descriptions.
Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be merged now.
Follow-up for #1989. Split into a separate PR so the functionality of the main one could be merged.
I think this is a more understandable wording for this case. I am open to feedback on this though.
Note that it fails to compile, seemingly because the result of
printf
is owned, butprimary
andsecondary
are unowned. I'm not quite sure how to fix this.I also added a doc comment for
create_overwrite_dialog
while here.