diff options
author | Gabriel Brand <gabr.brand@gmail.com> | 2024-05-03 16:22:18 +0200 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-01-02 02:41:43 +0300 |
commit | ce43c2e2634073479a0b1c09a461fedfe4fc3f77 (patch) | |
tree | d92beb9cd31078a6e0c1f4956ebc46f1e7bbf9a4 /src/application.rs | |
parent | 987f3d96c087231efb96aefafed688d9944f94ed (diff) | |
download | Furtherance-ce43c2e2634073479a0b1c09a461fedfe4fc3f77.tar.zst |
report: Port AdwWindow to AdwDialog
- Use AdwToolbarView - Use AdwHeaderBar Instead of GtkHeaderBar - Remove unused style class 'report'
Diffstat (limited to 'src/application.rs')
-rw-r--r-- | src/application.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/application.rs b/src/application.rs index d03fe97..661e8f2 100644 --- a/src/application.rs +++ b/src/application.rs @@ -125,7 +125,8 @@ impl FurtheranceApplication { let report_action = gio::SimpleAction::new("report", None); report_action.connect_activate(clone!(@weak self as app => move |_, _| { - FurReport::new().show(); + let window = FurtheranceWindow::default(); + FurReport::new().present(&window); })); self.set_accels_for_action("app.report", &["<primary>R"]); self.add_action(&report_action); |