Skip to content

Fix destination icon in file conflict dialog#2656

Merged
lenemter merged 10 commits into
mainfrom
jeremypw/fix-icon-in-replace-dialog
Nov 7, 2025
Merged

Fix destination icon in file conflict dialog#2656
lenemter merged 10 commits into
mainfrom
jeremypw/fix-icon-in-replace-dialog

Conversation

@jeremypw

@jeremypw jeremypw commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

Fixes #695 (finally)

  • Gets destination image the same way as source icon; in file ready callback.
  • Improves code style by moving code out or create function to construct clause.

@jeremypw jeremypw added this to the 7.2.0 milestone Oct 30, 2025
@jeremypw
jeremypw marked this pull request as ready for review October 31, 2025 13:06
@jeremypw
jeremypw requested a review from a team October 31, 2025 13:08
Comment thread libcore/FileConflictDialog.vala Outdated

public Files.File source { get; construct; }
public Files.File destination { get; construct; }
public Files.File dest_dir { get; construct; }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be private get, no?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought construct properties had to be public get but maybe I'm wrong - I'll check. There's probably a lot of other instances with this pattern in my code!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems you are right - I've learnt something, thanks. Now fixed.

Comment thread libcore/FileConflictDialog.vala Outdated
@jeremypw
jeremypw requested a review from lenemter November 7, 2025 13:07

@lenemter lenemter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the liked issue! Good job 🎉

@lenemter
lenemter merged commit e5e898e into main Nov 7, 2025
4 checks passed
@lenemter
lenemter deleted the jeremypw/fix-icon-in-replace-dialog branch November 7, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No icon of original file in replace dialog

2 participants