From 2a8e1c75863bc84c55eadcff1f3adb42d409d180 Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Sun, 20 Feb 2022 19:19:45 +0100 Subject: - Distinctive development mode --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index a4959c0..d9b299e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,7 +22,7 @@ mod settings_manager; use self::application::FurtheranceApplication; -use config::{GETTEXT_PACKAGE, LOCALEDIR, PKGDATADIR}; +use config::{GETTEXT_PACKAGE, LOCALEDIR, PKGDATADIR, APP_ID}; use gettextrs::{bind_textdomain_codeset, bindtextdomain, textdomain}; use gtk::{gio, glib}; use gtk::prelude::*; @@ -47,7 +47,7 @@ fn main() { // Create a new GtkApplication. The application manages our main loop, // application windows, integration with the window manager/compositor, and // desktop features such as file opening and single-instance applications. - let app = FurtheranceApplication::new("com.lakoliu.Furtherance", &gio::ApplicationFlags::empty()); + let app = FurtheranceApplication::new(APP_ID, &gio::ApplicationFlags::empty()); glib::set_application_name("Furtherance"); -- cgit 1.4.1