Skip to content

EventButton: Clean up drag n drop events#933

Merged
danirabbit merged 8 commits intomasterfrom
danirabbit/dnd-cleanup
Apr 10, 2026
Merged

EventButton: Clean up drag n drop events#933
danirabbit merged 8 commits intomasterfrom
danirabbit/dnd-cleanup

Conversation

@danirabbit
Copy link
Copy Markdown
Member

@danirabbit danirabbit commented Feb 26, 2026

Just some minor refactoring for DND. Uses a function instead of a lambda, sets selection data based on target type

@danirabbit danirabbit changed the title Clean up drag n drop events EventButton: Clean up drag n drop events Feb 26, 2026
@danirabbit danirabbit marked this pull request as ready for review February 26, 2026 23:55
@danirabbit danirabbit requested a review from a team March 5, 2026 21:47
@danirabbit danirabbit moved this to Needs Review in GTK4 Porting Apr 9, 2026
Copy link
Copy Markdown
Collaborator

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

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

Looks good. Moving events between days and dropping onto e.g. Files works as before.

I note you cannot drop an event onto Code but that is also true for master. It would be possible to add a "text" target.

I also note that there is no drag icon but maybe that was always the case. It would be better if there were one but that can be left for another PR.

@danirabbit danirabbit merged commit 7cff9fd into master Apr 10, 2026
3 of 6 checks passed
@danirabbit danirabbit deleted the danirabbit/dnd-cleanup branch April 10, 2026 15:06
@github-project-automation github-project-automation bot moved this from Needs Review to Done in GTK4 Porting Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants