Commit Graph

18 Commits

Author SHA1 Message Date
Kévin Commaille d13b03a85e
misc: Put UI files next to the corresponding Rust files 2023-05-21 23:38:58 +02:00
Kévin Commaille b15c5f0c8b
session: Reorganize submodules between model and view 2023-05-21 17:09:17 +02:00
Kévin Commaille 15b9932383 session: Split avatar image data from AvatarData
Allows to use the same avatar image for several rooms and users.
2023-05-05 12:23:27 +00:00
Kévin Commaille 840a53b0fb session: Rename Avatar to AvatarData
Avoid confusion with the Avatar in components and avoid to have
to rename it to AvatarItem.
2023-05-05 12:23:27 +00:00
Kévin Commaille 98f982d0a1 chore: Replace deprecated GtkFileChooserNative with GtkFileDialog 2023-03-26 12:47:23 +00:00
Kévin Commaille f9b09cea25 components: Simplify the API of EditableAvatar 2023-03-23 10:53:04 +00:00
Kévin Commaille 8035dca113
chore: Use let-else and early returns to reduce rightward drift 2023-03-07 07:29:36 +01:00
Christopher Davis 5db1d9f902
general: Update to the latest version of the gtk-rs stack 2023-03-07 07:14:51 +01:00
Kévin Commaille 7a98f79d97
misc: Only implement Default when required
Reduces boilerplate
2022-11-06 12:33:09 +01:00
Kévin Commaille f71961a1b7
chore: Use ParamSpec builders
Use the description of the property to document getters and setters.
2022-11-05 11:57:15 +01:00
Kévin Commaille fbc9b26d5c
chore: Update gtk and related dependencies 2022-11-05 11:40:26 +01:00
Kévin Commaille 4a0e79642d misc: Use the image crate to load images
Handle more codecs than GDK-Pixbuf and add support for animated images.
2022-10-12 12:44:48 +00:00
Kévin Commaille 825580cc41
misc: Don't init widgets that are TemplateChild 2022-09-28 18:14:02 +02:00
Julian Sparber 96d1cb3a69 chore: Update libadwaita 2022-08-03 12:31:39 +02:00
Kévin Commaille e01e3ce93a
account-settings: Use the toast macro 2022-05-31 14:53:48 +02:00
Julian Sparber 0bf6a4ff32 Remove Next from app-id 2022-03-30 14:36:28 +02:00
Kévin Commaille 5c8c627cec
account-settings: Add General tab 2022-02-25 09:19:26 +01:00
Kévin Commaille 6dc9084ec7
components: Create EditableAvatar 2022-02-25 09:19:26 +01:00