Skip to content

Commit

Permalink
About screen changes
Browse files Browse the repository at this point in the history
  • Loading branch information
OSA413 committed Sep 2, 2024
1 parent e5ea707 commit c214767
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions rust/ManagerLauncher/src/application.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use gtk::prelude::*;
use gtk::{prelude::*, License};
use adw::subclass::prelude::*;
use gtk::{gio, glib};

Expand All @@ -12,7 +12,7 @@ mod imp {

#[glib::object_subclass]
impl ObjectSubclass for ModloaderApplication {
const NAME: &'static str = "ModloaderApplication";
const NAME: &'static str = "ManagerLauncherApplication";
type Type = super::ModloaderApplication;
type ParentType = adw::Application;
}
Expand Down Expand Up @@ -78,12 +78,13 @@ impl ModloaderApplication {
let window = self.active_window().unwrap();
let about = adw::AboutWindow::builder()
.transient_for(&window)
.application_name("modloader")
.application_icon("org.gnome.Example")
.application_name("Manager Launcher")
.license_type(License::MitX11)
// .application_icon("org.gnome.Example")
.developer_name("OSA413")
.version(common::config::VERSION)
.developers(vec!["OSA413"])
.copyright("© 2024 OSA413")
.copyright(2018-2024 OSA413")
.build();

about.present();
Expand Down
2 changes: 1 addition & 1 deletion rust/ManagerLauncher/src/resources/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</item>
</menu>
<template class="ManagerLauncher" parent="GtkApplicationWindow">
<property name="title">ManagerLauncher</property>
<property name="title">Manager Launcher</property>
<child type="titlebar">
<object class="GtkHeaderBar">
<child type ="end">
Expand Down

0 comments on commit c214767

Please sign in to comment.