Christopher Davis
4d144ab8f7
ui: Remove members.ui
...
This is no longer used anywhere.
2020-11-06 08:12:13 +00:00
Christopher Davis
526daeeaa2
media_viewer: Remove redundant child properties
...
Limit our use of child properties to only what's
absolutely necessary, as child properties will
be going away in GTK4
2020-11-06 08:12:13 +00:00
Christopher Davis
dc38c081ed
markdown_popover: Remove redundant child properties
...
Child properties are going away in GTK4. We
should limit our use of them to what is absolutely
necessary.
2020-11-06 08:12:13 +00:00
Christopher Davis
86fa6700cd
main_window: Remove manual GtkViewport use
...
GtkViewports are automatically added by GtkScrolledWindow
2020-11-06 08:12:13 +00:00
Christopher Davis
09622d6141
main_window: Remove placeholders
...
These aren't needed at all.
2020-11-06 08:12:13 +00:00
Christopher Davis
5655536960
main_window: Minimize use of child properties
...
Child properties are going away in GTK4. We
can minimize which child properties we use to
what's absolutely necessary in GTK3.
2020-11-06 08:12:13 +00:00
Christopher Davis
eb39190b39
main_menu: Remove child properties
...
Remove redundant child properties from the main menu.
Child properties are going away in GTK4.
For now we can't use MenuModel here, as we have a custom
widget. Combining custom widgets and menu models will be
possible in GTK4
2020-11-06 08:12:13 +00:00
Christopher Davis
50baee9357
leave_room: Remove child properties
...
Child properties are gone in GTK4.
2020-11-06 08:12:13 +00:00
Christopher Davis
196ae2046c
kicked_room: Remove child properties
...
Child properties are gone in GTK4
2020-11-06 08:12:13 +00:00
Christopher Davis
9a81e50a49
join_room: Clean up child props and placeholders
...
Placeholders aren't needed, and child properties
are gone in GTK4
2020-11-06 08:12:13 +00:00
Christopher Davis
80d599c8fe
invite_user: cleanup
...
Minimizes use of child properties and removes
redundant viewport.
2020-11-06 08:12:13 +00:00
Christopher Davis
4c695dde77
inivte: Remove child properties
...
These child properties aren't needed,
and will be gone in GTK4
2020-11-06 08:12:13 +00:00
Christopher Davis
7c16247d4b
ui: Remove filechooser.ui
...
This is no longer used since we've moved to using
FileChooserNative
2020-11-06 08:12:13 +00:00
Christopher Davis
fd595d1ca7
direct_chat: Minimize use of child properties
...
Remove all redundant child properties, as child
properties are gone in GTK4
2020-11-06 08:12:13 +00:00
Christopher Davis
9a09640e72
ui: Remove border_width
...
border_width is gone in GTK4 and can be replaced
with the margin property.
2020-11-06 08:12:13 +00:00
Christopher Davis
5dbb1814a0
audio_player: Remove use of child props
...
Child properties are gone in GTK4. In this case,
all child properties used were redundant
2020-11-06 08:12:13 +00:00
Christopher Davis
784b45c537
add_room_menu: Use menu model
...
Instead of manually building the menu,
we can use a menu model. In GTK4 ModelButton
is private, so menu models are the way
to create proper menus for popovers.
2020-11-06 08:12:13 +00:00
Christopher Davis
eb9dfdb5c5
account_settings: Minimize child props and remove placeholders
...
Child props are gone in GTK4, and placeholders are not
needed.
Removes all redundant child properties.
2020-11-06 08:12:13 +00:00
Christopher Davis
18176d8617
server_chooser: Remove GtkAlignment
...
GtkAlignment isn't needed (and is gone in GTK4),
as all of it's functions have been moved to
individual widgets.
2020-11-06 08:12:13 +00:00
Christopher Davis
5d29dffb43
ui: Clean up deprecated margin props
...
margin-{left,right} have been deprecated in favor of
margin-{start,end}. This commit handles that deprecation.
2020-11-06 08:12:13 +00:00
Christopher Davis
52beef4b78
fractal-gtk: Remove static_resources.rs.in
...
Instead of using static_resources, we can simply
load the gresource from the PKGDATADIR. This makes
iterating on UI-only changes much faster.
2020-11-06 08:08:23 +00:00
Alejandro Domínguez
760a9293d3
Remove gtk deprecation warnings
2020-11-02 02:56:55 +01:00
Alexandre Franke
6b1fe035f8
clippy: using clone
on a Copy
type
...
https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
2020-10-23 17:56:41 +02:00
Alexandre Franke
846c893f3a
clippy: use of unwrap_or
followed by a function call
...
https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call
2020-10-23 17:51:47 +02:00
Alexandre Franke
dd866e91f5
clippy: single-character string constant used as pattern
...
https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
2020-10-23 17:47:49 +02:00
Alexandre Franke
430130c8c1
clippy: redundant pattern matching
...
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
2020-10-23 17:45:02 +02:00
Alexandre Franke
f76f879ad6
clippy: identical conversion
...
https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion
2020-10-23 17:42:50 +02:00
Alexandre Franke
8bae3cf92c
clippy: redundant clones
...
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
2020-10-23 17:39:50 +02:00
Alexandre Franke
b0ed53044d
clippy: collapsible if
...
https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
2020-10-23 17:21:33 +02:00
Christopher Davis
1b88797b30
room_settings: Remove GtkFrame for notifications
...
Allows for more CSS cleanup and re-use of libhandy
styles.
2020-10-18 16:13:25 -07:00
Christopher Davis
f3583b7867
room_settings: Use libhandy style class instead of GtkFrame
...
Allows us to cut out a bit of CSS
2020-10-18 16:13:25 -07:00
Christopher Davis
c69aacc4a8
widgets: Add clip_container for clipping children
...
Creates a simple `ClipContainer` widget that clips children.
This allows us to have rounded corners on widgets that
don't natively respond to border-radius, like GtkGstWidget.
2020-10-18 16:13:25 -07:00
Christopher Davis
f615362d6e
media_viewer: Make OSD buttons circular
...
Newer mockups for image viewers have circular
navigation buttons.
2020-10-18 16:13:25 -07:00
Christopher Davis
80bd1f5c14
css: Make round buttons circular
...
Fixes an issue where the scroll button was a weird oval.
2020-10-18 16:13:25 -07:00
Christopher Davis
463b1e9922
room_settings: Round corners, adjust spacing
...
A newer pattern for GNOME is rounded list corners.
In GTK4 GtkFrame automatically has rounded corners.
For now, we can adopt this style pattern by rounding
our frame and it's contents manually.
This commit also adjusts the spacing between the search
and room member list, for a less cramped feeling.
2020-10-18 16:13:25 -07:00
Christopher Davis
8862d9ef27
css: Round corners for chat view
...
The newer Adwaita uses rounded corners in many places.
To go along with that, this commit adjusts many areas
with straight corners or existing round corners to bring
them more in line with Adwaita's styling.
2020-10-18 16:13:25 -07:00
Christopher Davis
09e6fc5736
widgets/image.rs: Round images in chat view
...
Adds a bit of polish by rounding images in our chat view.
Applications like Telegram and element do this, and it
matches well with the new rounder styling for Adwaita.
2020-10-18 16:13:19 -07:00
Christopher Davis
bd35d7bb97
avatar: Only load pixbuf once
...
We don't need to load the pixbuf twice since get_file_info()
exists.
2020-10-06 15:18:35 -07:00
Christopher Davis
67cd10dd57
avatar: Use HdyAvatar instead of a custom DrawingArea
...
HdyAvatar allows for simple HiDPI image loading and
a fallback image.
Related to https://gitlab.gnome.org/GNOME/fractal/issues/496
2020-10-06 07:09:20 +00:00
Christopher Davis
1a552c5fbf
fractal-gtk: Refactor window to use HdyDeck
...
Helps simplify how we handle pages, as well as
adding support for swiping between the main view
and different subviews.
2020-09-21 15:51:25 -07:00
Christopher Davis
438e846ba2
fractal-gtk: Port to libhandy-1
...
Ports our UI to the now-stable libhandy-1. libhandy-1 comes
with a few improvements, but also some API breakages
that needed to be fixed up.
2020-09-21 14:04:00 -07:00
Goran Vidović
69fef41f8b
Update Croatian translation
2020-09-17 17:25:07 +00:00
Goran Vidović
17597e180b
Update Croatian translation
2020-09-17 17:24:01 +00:00
Milo Ivir
53192559e5
Add Croatian translation
2020-09-17 17:11:53 +00:00
Vancha March
1971aa247f
Ctrl+PgDn should switch to the first room if none is selected
2020-09-16 09:52:06 +00:00
Piotr Drąg
9dddabfd42
Update POTFILES.in
2020-09-14 16:51:50 +02:00
Balázs Úr
1205a315c4
Update Hungarian translation
2020-09-12 19:19:52 +00:00
Alejandro Domínguez
cd61a6eae1
Remove all unused stuff and enable lints to deny it
2020-09-10 01:41:24 +02:00
Anders Jonsson
4ab4e3c789
Update Swedish translation
2020-09-07 11:48:22 +00:00
Alejandro Domínguez
a0edee81e1
Remove the use of rand feature in ruma-identifiers
2020-09-06 22:15:17 +02:00