-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat: Port dialogs to AdwDialog #623
Conversation
Thanks, I'm super backlogged today, but I'll have a look through when I get a chance 👍 |
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.
Looking pretty good, thanks!
The tests in tests/libvalent/ui
need to be updated, check for the #define VALENT_TYPE_TEST_SUBJECT
at the top of the files.
Also the struct
member(s) in valent-window.c
/valent-device-preferences-page.c
need to be changed from GtkWindow
to AdwDialog
with:
- g_clear_pointer (&self->preferences, gtk_window_destroy);
+ g_clear_pointer (&self->preferences, adw_dialog_force_close);
Might need to change a few of the above in tests/libvalent/ui/
as well. For now, the only test that needs to pass is the Flatpak (unstable) one, the others will pas when the Fedora image is updated.
Let me know if you need any help!
libadwaita_version = '>= 1.4' | ||
libadwaita_version = '>= 1.5.alpha' |
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.
This will have to be changed to '>= 1.5'
before merge.
Co-authored-by: Andy Holmes <[email protected]>
Co-authored-by: Andy Holmes <[email protected]>
Co-authored-by: Andy Holmes <[email protected]>
Co-authored-by: Andy Holmes <[email protected]>
Co-authored-by: Andy Holmes <[email protected]>
Co-authored-by: Andy Holmes <[email protected]>
Hi, I am very sorry about this reply being very late, but I need some help with this: Hopefully I am understanding what the code is supposed to do correctly. In |
No problem :)
It looks like that can just be If that ends up not working for some reason, you can just do a |
Didn't realize you could set it as |
Bumps [fsfe/reuse-action](https://github.com/fsfe/reuse-action) from 2 to 3. - [Release notes](https://github.com/fsfe/reuse-action/releases) - [Commits](fsfe/reuse-action@v2...v3) --- updated-dependencies: - dependency-name: fsfe/reuse-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Ok... I have no idea what's going on with git 🤨 |
Oh weird, did that happen with a |
Yea, I am probably going to re-do the branch and open a new PR to clean it up. |
I managed to port most dialogs/windows, except the input remote (and probably the same for the media remote) because the app kept hanging and not responding when trying to show them.