mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2024-11-29 09:29:06 +03:00
Fixed app title
This commit is contained in:
parent
fbfba4744f
commit
69e1c719e5
1 changed files with 1 additions and 3 deletions
|
@ -3,7 +3,6 @@ use libadwaita as adw;
|
||||||
|
|
||||||
use gtk::{CssProvider, StyleContext, STYLE_PROVIDER_PRIORITY_APPLICATION};
|
use gtk::{CssProvider, StyleContext, STYLE_PROVIDER_PRIORITY_APPLICATION};
|
||||||
use gtk::gdk::Display;
|
use gtk::gdk::Display;
|
||||||
use gtk::glib::set_application_name;
|
|
||||||
|
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
@ -27,8 +26,7 @@ async fn main() {
|
||||||
.expect("Failed to register resources");
|
.expect("Failed to register resources");
|
||||||
|
|
||||||
// Set application's title
|
// Set application's title
|
||||||
// FIXME: doesn't work?
|
gtk::glib::set_prgname(Some("An Anime Game Launcher"));
|
||||||
set_application_name("An Anime Game Launcher");
|
|
||||||
|
|
||||||
// Create app
|
// Create app
|
||||||
let application = gtk::Application::new(
|
let application = gtk::Application::new(
|
||||||
|
|
Loading…
Reference in a new issue