Commit Graph

52 Commits

Author SHA1 Message Date
Kévin Commaille 68291d7abc
build: Remove Hack manifest and profile
Now that the stable release is on the same codebase, it should be less
necessary to have 2 development builds.
Also since most performance issues have been fixed, it should not be
necessary anymore to build the nightly version in release mode.
2023-11-25 15:22:22 +01:00
Kévin Commaille d26c313542 application: Do not assume we always have a main window
Prepares the case where we run the application in the background
2023-11-19 11:46:09 +00:00
Kévin Commaille fd37835049 application: Move some actions to the main window
They are only useful if there is a main window.
2023-11-19 11:46:09 +00:00
Kévin Commaille 97de17ce62
misc: Use tracing for logging 2023-08-13 14:54:20 +02:00
Kévin Commaille 6db42e80dd
chore: Use and_(downcast/upcast)(_ref) where possible 2023-07-19 12:55:58 +02:00
Kévin Commaille e0dd94a105
session: Split between view and model 2023-05-21 13:46:02 +02:00
Kévin Commaille cf27bd22c6
window: Use a new GListModel to manage sessions
Allows to use GtkListBox::bind_model and prepares a futures change
where the session is split between view and model.
2023-05-20 14:20:06 +02:00
Kévin Commaille ec02e35b45
app: Use an enum for the profile 2023-05-05 13:21:13 +02:00
Kévin Commaille cee8a6b8c7
app: Rename get_main_window to main_window
To respect the usual naming of getters in Rust.
2023-04-10 11:42:29 +02:00
Kévin Commaille 33e775e9e1 chore: Replace deprecated WidgetExt::show and hide methods 2023-03-26 12:47:23 +00:00
Kévin Commaille 160b648cfe
chore: Remove uses of gtk-macros 2023-03-07 08:01:41 +01:00
Kévin Commaille fc49b657e7
chore: Fix clippy nightly warnings 2023-03-07 07:24:42 +01:00
Christopher Davis 5db1d9f902
general: Update to the latest version of the gtk-rs stack 2023-03-07 07:14:51 +01:00
Hari Rana 7f57fb9324 about: Update copyright year 2023-02-15 08:47:52 +00:00
Kévin Commaille fbc9b26d5c
chore: Update gtk and related dependencies 2022-11-05 11:40:26 +01:00
Kévin Commaille 1492956a88
session: Add support for notifications 2022-11-05 10:06:59 +01:00
Kévin Commaille 7ef617bfd9
window: Remove action to show greeter
It's redundant with the one to create a new session and the distinction
between the two isn't really needed.
2022-10-22 15:29:31 +02:00
Kévin Commaille d19bb254d5
misc: Remove RefCell or OnceCell wrapping WeakRefs 2022-09-28 17:32:50 +02:00
Julian Sparber 2b707c94df app: Disable new-login action without network
We only disable the new-login action when there is no network since the
user may have the homeserver in the local network or internet connection
dedection may be broken. (currently the case on my system).
2022-08-15 09:12:40 +00:00
TheEvilSkeleton a4a030c32b src/application.rs: Port to AdwAboutWindow
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1131>
2022-08-15 07:00:45 +00:00
Alexandre Franke a89c23e5cf Improve strings 2022-04-02 19:19:57 +00:00
Julian Sparber ec1254259f Add Kévin Commaille to AboutDialog 2022-03-30 15:19:34 +02:00
Julian Sparber 0bf6a4ff32 Remove Next from app-id 2022-03-30 14:36:28 +02:00
Kévin Commaille 74cf22df84
app: Separate greeter and login screens 2022-02-01 14:24:57 +01:00
Kévin Commaille c68e24d2e1
app: Replace imp::from_instance with obj.imp() 2022-01-24 16:52:43 +01:00
Kévin Commaille fe2ff7c79a
app: Apply new formatting rules 2022-01-20 09:24:22 +01:00
Kévin Commaille 7f4f7cc8f8
chore: Update gtk-rs to 0.4.4
Update also:
  - libdwaita to 0.1.0
  - sourceview5 to 0.4.0
  - gstreamer, gstreamer-base and gstreamer video to 0.18
  - ashpd to 0.2.0-beta-1
2022-01-19 23:15:39 +01:00
Maximiliano Sandoval R 872601b13a Support dark mode 2021-12-14 11:39:05 +00:00
Maximiliano Sandoval R 8b8631130d Use AdwApplication
This allows to have a separate css file for dark mode.
2021-12-14 11:39:05 +00:00
Maximiliano Sandoval R b623a931a7 app: Set resource base path on construct 2021-12-14 11:39:05 +00:00
Julian Sparber 3dea9a3398 session: Use crosssigning to verify new sessions 2021-10-27 15:16:32 +02:00
Julian Sparber 56d1b08e44 Use unsync variant of OnceCell 2021-10-13 11:49:06 +02:00
Maximiliano Sandoval R 3c602913e0 Do not not define the app name twice
It is already done in g_set_application_name.
2021-10-09 09:46:39 +00:00
Julian Sparber 17532d7ba2 session: Fix keyboard shortcuts 2021-09-09 11:32:33 +02:00
Alejandro Domínguez 500cddf390 Add button in login page to go back to sessions page 2021-09-06 14:19:07 +02:00
Alejandro Domínguez 7c202b9488 Add account switcher 2021-09-06 14:19:07 +02:00
Julian Hofer 0deb8457b0 Use Default for every subclass
That makes it also easier to see if the derive(Default) macro
is enough at some point.
2021-08-17 08:35:16 +00:00
Alexandre Franke bae327b4a5 Fix English in strings and comments 2021-07-13 11:58:24 +00:00
Kai A. Hiller 8a86bd2ad7 content: Unselect room on ESC 2021-07-12 12:20:24 +02:00
Kai A. Hiller f94cde40d1 Fix doc comment 2021-06-14 21:02:40 +02:00
Kai A. Hiller 71061f9697 Add Ctrl+K shortcut to toggle room list search 2021-06-14 21:02:36 +02:00
Kai A. Hiller 30748d8eb3 Change accelerators from <Primary> to <Control> 2021-06-14 18:25:50 +02:00
Veli Tasali 5c59282811 settings: Use the application level instance 2021-05-11 14:35:22 +00:00
Julian Sparber b0be9d47f1 update deps
run cargo update
2021-04-20 22:35:23 +02:00
Alexandre Franke 4f9e1726a6 Remove Frctl prefix 2021-04-13 20:21:45 +02:00
Julian Sparber 2d3aebabbb bump gtk4-rs 2021-03-24 11:52:36 +01:00
Julian Sparber 154425f1a0 refelct some widget hierarchy in the folder structure 2021-03-24 11:52:34 +01:00
Julian Sparber 223938fd80 Add information to the AboutDialog
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/725
2021-03-02 20:15:14 +00:00
Julian Sparber a8a6882cda application: use FrctlApplication as name 2021-02-16 11:30:41 +01:00
Julian Sparber 9e8fa8aab5 Add base layout 2021-02-16 11:30:41 +01:00