fix app_id + app icon

This commit is contained in:
Ferdinand Schober
2024-01-15 08:41:09 +01:00
parent b59808742a
commit 13597b3587
6 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ Comment[en_US]=Mouse & Keyboard sharing via LAN
Comment=Mouse & Keyboard sharing via LAN Comment=Mouse & Keyboard sharing via LAN
Comment[de_DE]=Maus- und Tastaturfreigabe über LAN Comment[de_DE]=Maus- und Tastaturfreigabe über LAN
Exec=lan-mouse Exec=lan-mouse
Icon=mouse-icon Icon=de.feschber.LanMouse
Name[en_US]=Lan Mouse Name[en_US]=Lan Mouse
Name=Lan Mouse Name=Lan Mouse
StartupNotify=true StartupNotify=true

View File

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@@ -7,6 +7,6 @@
<file compressed="true">style-dark.css</file> <file compressed="true">style-dark.css</file>
</gresource> </gresource>
<gresource prefix="/de/feschber/LanMouse/icons"> <gresource prefix="/de/feschber/LanMouse/icons">
<file compressed="true" preprocess="xml-stripblanks">mouse-icon.svg</file> <file compressed="true" preprocess="xml-stripblanks">de.feschber.LanMouse.svg</file>
</gresource> </gresource>
</gresources> </gresources>

View File

@@ -35,7 +35,7 @@
<object class="AdwStatusPage"> <object class="AdwStatusPage">
<property name="title" translatable="yes">Lan Mouse</property> <property name="title" translatable="yes">Lan Mouse</property>
<property name="description" translatable="yes">easily use your mouse and keyboard on multiple computers</property> <property name="description" translatable="yes">easily use your mouse and keyboard on multiple computers</property>
<property name="icon-name">mouse-icon</property> <property name="icon-name">de.feschber.LanMouse</property>
<property name="child"> <property name="child">
<object class="AdwClamp"> <object class="AdwClamp">
<property name="maximum-size">600</property> <property name="maximum-size">600</property>

View File

@@ -46,7 +46,7 @@ fn gtk_main() -> glib::ExitCode {
gio::resources_register_include!("lan-mouse.gresource").expect("Failed to register resources."); gio::resources_register_include!("lan-mouse.gresource").expect("Failed to register resources.");
let app = Application::builder() let app = Application::builder()
.application_id("de.feschber.lan-mouse") .application_id("de.feschber.LanMouse")
.build(); .build();
app.connect_startup(|_| load_icons()); app.connect_startup(|_| load_icons());

View File

@@ -62,7 +62,7 @@ impl Window {
} }
fn setup_icon(&self) { fn setup_icon(&self) {
self.set_icon_name(Some("mouse-icon")); self.set_icon_name(Some("de.feschber.LanMouse"));
} }
fn create_client_row(&self, client_object: &ClientObject) -> ClientRow { fn create_client_row(&self, client_object: &ClientObject) -> ClientRow {