diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-03-23 20:52:55 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-04-05 00:31:21 +0200 |
| commit | ef32d65ac1852da581ac75d20f903dbcb2d0b5cd (patch) | |
| tree | 98cdb79c471babd906368d23171fe10168c18062 /src/main.rs | |
| parent | dae5942e2ad1ac59f6217ad0f8e0bd630d0b4747 (diff) | |
Use meson as a build system
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 344a30d..e40681f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,6 +22,7 @@ mod dialogs; mod file_registry; mod handlers; mod i18n; +mod info; mod preferences; mod stages; @@ -176,9 +177,9 @@ impl AppModel { .unwrap_or(&default_name); if self.modified { - format!("{}* - {}", filename, constants::APP_NAME) + format!("{}* - {}", filename, tr!("application.name")) } else { - format!("{} - {}", filename, constants::APP_NAME) + format!("{} - {}", filename, tr!("application.name")) } } @@ -639,7 +640,7 @@ fn main() { .find(|t| t.is_default) .map(|t| t.content.clone()); - let application = RelmApp::new(constants::APP_ID); + let application = RelmApp::new(info::APP_ID); application.run::<AppModel>(AppInit { zoom: 1.0, orientation: gtk::Orientation::Horizontal, |