From 69e1c719e5f731b6927f7273bc630e90de7270b4 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Thu, 28 Jul 2022 17:00:39 +0200 Subject: [PATCH] Fixed app title --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0e5629d..44960c2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,7 +3,6 @@ use libadwaita as adw; use gtk::{CssProvider, StyleContext, STYLE_PROVIDER_PRIORITY_APPLICATION}; use gtk::gdk::Display; -use gtk::glib::set_application_name; use std::path::Path; use std::fs; @@ -27,8 +26,7 @@ async fn main() { .expect("Failed to register resources"); // Set application's title - // FIXME: doesn't work? - set_application_name("An Anime Game Launcher"); + gtk::glib::set_prgname(Some("An Anime Game Launcher")); // Create app let application = gtk::Application::new(