about summary refs log tree commit diff
path: root/src/application.rs
diff options
context:
space:
mode:
authorGabriel Brand <gabr.brand@gmail.com>2024-05-03 16:22:18 +0200
committerVika <vika@fireburn.ru>2025-01-02 02:41:43 +0300
commitce43c2e2634073479a0b1c09a461fedfe4fc3f77 (patch)
treed92beb9cd31078a6e0c1f4956ebc46f1e7bbf9a4 /src/application.rs
parent987f3d96c087231efb96aefafed688d9944f94ed (diff)
downloadFurtherance-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.rs3
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);