Skip to content
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

Port demos to GNOME 46 #71

Merged
merged 11 commits into from
Feb 21, 2024
Merged

Port demos to GNOME 46 #71

merged 11 commits into from
Feb 21, 2024

Conversation

sonnyp
Copy link
Contributor

@sonnyp sonnyp commented Feb 6, 2024

Closes #68 and more, see commits

You'll need Workbench Devel/main if you want to test this.

CI fails here because it's using Workbench 45
but I tested locally with make ci with Workbench 46beta workbenchdev/Workbench#896 which runs over all demos

@Hofer-Julian
Copy link
Contributor

but I tested locally with make ci in Workbench which runs over all demos

Excluding Rust demos, right?

@@ -29,7 +28,7 @@ fn on_button_clicked() {

dialog.add_link(
"Documentation",
"https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.AboutWindow.html",
"https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.5/class.AboutDialog.html",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.5/class.AboutDialog.html",
"https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/stable/latest/docs/libadwaita/struct.AboutDialog.html",

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm I feel like this should be addressed globally

could you file a PR or issue for updating all urls in Rust code?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure, if you prefer that

demos/About Dialog/code.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@lw64 lw64 left a comment

Choose a reason for hiding this comment

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

Other than a few autoformatting issues (not for this pr) this looks good!

Copy link
Contributor

Choose a reason for hiding this comment

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

This has similar issues with the Dialogs demo (addressed in #107), but I can take care of that once this one is merged 👍

@sonnyp sonnyp merged commit 6c657ba into main Feb 21, 2024
1 check failed
@sonnyp sonnyp deleted the 46 branch February 21, 2024 18:40
@sonnyp sonnyp mentioned this pull request Mar 16, 2024
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.

Update window demo for libadwaita 1.5
5 participants