Maximiliano Sandoval R
c8d3d67d81
content_explore: Stop spinners when idle
3 years ago
Maximiliano Sandoval R
ef368e740a
media_content_viewer: Stop spinners when idle
3 years ago
Maximiliano Sandoval R
ada8a79ca3
action_button: Stop spinners when idle
3 years ago
Maximiliano Sandoval R
56b78a4d36
window: Stop spinner when idle
3 years ago
Maximiliano Sandoval R
36f50ab260
spinner_button: Stop spinners when idle
3 years ago
Maximiliano Sandoval R
4e3675e286
Add a spinner component
3 years ago
Kévin Commaille
3f1ee31404
join-room: Don't try to join room on cancel
3 years ago
Kévin Commaille
e1cf9049be
session: Split notifications in a separate type
3 years ago
Kévin Commaille
cee8a6b8c7
app: Rename get_main_window to main_window
...
To respect the usual naming of getters in Rust.
3 years ago
Kévin Commaille
3541be94eb
session: Create JoinRoomDialog instead of building it in Session
3 years ago
Kévin Commaille
686de7b5b6
sidebar: Fix room highlight
3 years ago
Kévin Commaille
7e99002cfd
docs: Don't document private items
...
It's confusing for ruma and matrix-sdk as we see all the private stuff
we can't access.
It's fine for Fractal because since it's a binary, the private items are
documented anyway.
3 years ago
Kévin Commaille
71cb666f17
room-type: Don't take RoomType by reference
...
Usually we don't take types that implement Copy by reference
3 years ago
Kévin Commaille
640b286cb6
misc: Remove num_enum dependency
...
Use the glib::Variant derive macro instead if needed
3 years ago
Kévin Commaille
8506064d31
sidebar: Replace order-changed signal by watching expressions
...
Triggers fewer updates
3 years ago
Kévin Commaille
acb8ed26a2
room: Fix tracking of room's latest activity
3 years ago
Kévin Commaille
b41d953e1b
sidebar: Move category types into a subfolder
3 years ago
Kévin Commaille
545467878b
category: Change the default CategoryType
...
The previous default value was unused and needed overriding in a few
places.
3 years ago
Kévin Commaille
8a4750c9bf
sidebar: Simplify GtkExpression
3 years ago
Kévin Commaille
cedc02b878
room: Remove unused `new-encryption-keys` signal
3 years ago
Kévin Commaille
26222e2b24
room-history: Don't access GtkListItemWidget
...
Don't set CSS classes and bind to RoomHistory properties
3 years ago
Kévin Commaille
6452915c55
sidebar: Don't use actions on sidebar for drag-n-drop
...
Access and bind to the sidebar from the rows instead.
Avoid having to go through the private widgets of GtkListView.
3 years ago
Kévin Commaille
d4b74e00bd
sidebar: Don't set GtkListItemWidget CSS classes
3 years ago
Kévin Commaille
1577c8a701
utils: Simplify use of BoundObjectWeakRef
...
Avoid to have to wrap it in a `RefCell<Option<T>>`.
3 years ago
Kévin Commaille
c6b8ac7abc
room-list: Remove binding between visibility of widget and sidebar item
...
It shouldn't be necessary since we update the item list according to the
visibility of the items.
3 years ago
Kévin Commaille
123ac8661b
chore: Update matrix-sdk
3 years ago
Kévin Commaille
7154cd1275
session: Use accessor to get client api error kind
3 years ago
Kévin Commaille
a0b7e73436
avatar: Request size according to scale factor
...
Improves rendering on high-DPI screens
3 years ago
Kévin Commaille
6f4a00e891
avatar: Re-request avatar when size changes
3 years ago
Kévin Commaille
071bfa9e2a
components: Use Pango const and methods instead of defining our own
3 years ago
Kévin Commaille
aede640446
components: Allocate shapes before measuring LabelWithWidgets
...
Should reduce the number of warnings for sizing errors.
3 years ago
Kévin Commaille
89ee05c201
chore: Inline variables in format strings when possible
3 years ago
Kévin Commaille
1470dcf92c
qr-code: Remove uses of deprecated GtkStyleContext
3 years ago
Kévin Commaille
af85d0b4e5
chore: Replace deprecated gtk::show_uri with GtkUriLauncher
3 years ago
Kévin Commaille
98f982d0a1
chore: Replace deprecated GtkFileChooserNative with GtkFileDialog
3 years ago
Kévin Commaille
4b9d400e65
auth-dialog: AuthDialog doesn't extend GtkDialog
3 years ago
Kévin Commaille
64d9a98f0b
chore: Replace deprecated GtkInfoBar with AdwBanner
3 years ago
Kévin Commaille
33e775e9e1
chore: Replace deprecated WidgetExt::show and hide methods
3 years ago
Kévin Commaille
4ad6907767
misc: Enable GTK 4.10 APIs
3 years ago
Kévin Commaille
b4c27f9e4b
room-details: Silence critical when topic is None
3 years ago
Kévin Commaille
314415f4c2
room-details: Refactor code to change details
...
Use bindings, template callbacks. Expose the errors via toasts.
3 years ago
Kévin Commaille
beb9dd4e91
room-details: Use EditableAvatar
3 years ago
Kévin Commaille
f9b09cea25
components: Simplify the API of EditableAvatar
3 years ago
Kévin Commaille
7aebe25791
utils: Add type to keep track of ongoing async actions
3 years ago
Kévin Commaille
3310c49c67
room-details: Allow to display toasts
3 years ago
Kévin Commaille
967be21559
utils: Add method to load file content and info
3 years ago
Kévin Commaille
c9cb82f8f9
room: Use SDK methods to change the avatar
3 years ago
Kévin Commaille
9e8674beb9
verification: Use the constants defined in Ruma
3 years ago
Kévin Commaille
6dcfeb0e32
room-history: Send read receipt and marker updates
3 years ago
Kévin Commaille
758a8f99cd
room-history: Show highlighted events
3 years ago