Skip to content

Commit

Permalink
fix app_id + app icon
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed Jan 15, 2024
1 parent b598087 commit 13597b3
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lan-mouse.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Comment[en_US]=Mouse & Keyboard sharing via LAN
Comment=Mouse & Keyboard sharing via LAN
Comment[de_DE]=Maus- und Tastaturfreigabe über LAN
Exec=lan-mouse
Icon=mouse-icon
Icon=de.feschber.LanMouse
Name[en_US]=Lan Mouse
Name=Lan Mouse
StartupNotify=true
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion resources/resources.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<file compressed="true">style-dark.css</file>
</gresource>
<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>
</gresources>
2 changes: 1 addition & 1 deletion resources/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<object class="AdwStatusPage">
<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="icon-name">mouse-icon</property>
<property name="icon-name">de.feschber.LanMouse</property>
<property name="child">
<object class="AdwClamp">
<property name="maximum-size">600</property>
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/gtk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn gtk_main() -> glib::ExitCode {
gio::resources_register_include!("lan-mouse.gresource").expect("Failed to register resources.");

let app = Application::builder()
.application_id("de.feschber.lan-mouse")
.application_id("de.feschber.LanMouse")
.build();

app.connect_startup(|_| load_icons());
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/gtk/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl Window {
}

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 {
Expand Down

0 comments on commit 13597b3

Please sign in to comment.