Commit Graph

6 Commits (319bc3914b457486e7123207f8eb893ac235d6d2)

Author SHA1 Message Date
Nefo Fortressia 3c9b665cbf fix: fix unexpected } in workspace.rs
Merge branch 'fix/unexpected-curly-bracket' into 'main'

See merge request EchidnaHQ/Echidna!18
2021-12-17 02:26:44 +00:00
Nefo Fortressia cfe8c4dbe4
refactor: use GtkFileChooserNative for file dialogs
GtkFileChooserNative uses the platform's APIs, and thus the Portal API.

This is important since we want to integrate this well with Flatpak.

See:
https://docs.flatpak.org/en/latest/portals-gtk.html
2021-12-14 08:45:21 +07:00
Nefo Fortressia 7478d894ea
fix: fix unexpected } in workspace.rs
I think this is due to git add -p mistakes when I did 1b9f20b.

Not affecting anything, as workspace.rs is still WIP.
2021-12-14 08:29:48 +07:00
Nefo Fortressia 1b9f20b648 refactor: switch to .expect() from match
Using .expect() for Options and Results add more readability to the
code.
2021-11-01 13:57:04 +07:00
Nefo Fortressia 9594ed6539 style: format files with Rustfmt 2021-10-31 17:30:19 +07:00
Nefo Fortressia 385f2dda32 refactor: move all traits to EchidnaWindow struct
Before, all the traits are implemented for EchidnaApplication.

This is added to better support using the app with many windows open.

EchidnaApplication may be obsolete now, but I'm not removing it for now.
2021-10-24 14:20:53 +07:00