summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2021-10-25 15:02:22 -0500
committerPatrick Griffis <tingping@tingping.se>2021-10-25 15:04:38 -0500
commitdac8ace90cffef656b1292c8d91648cc722c28fe (patch)
tree1b8a34d7128c2376881b28e75979bb5e7548e282
parentf42f6af1b96f80280a2e5a5e2431dc32d2b8fd55 (diff)
Install icons as io.github.Hexchat
This matches our app-id as the desktop-file spec recommends.

This also fixes a bug where our notifications referred to this new
name already.
-rw-r--r--data/icons/meson.build2
-rw-r--r--data/misc/io.github.Hexchat.desktop.in.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/data/icons/meson.build b/data/icons/meson.build
index d7926e83..710e0045 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -1,9 +1,11 @@
 icondir = join_paths(get_option('datadir'), 'icons/hicolor')
 install_data(
   'hexchat.png',
+  rename: 'io.github.Hexchat.png',
   install_dir: join_paths(icondir, '48x48/apps')
 )
 install_data(
   'hexchat.svg',
+  rename: 'io.github.Hexchat.svg',
   install_dir: join_paths(icondir, 'scalable/apps')
 )
diff --git a/data/misc/io.github.Hexchat.desktop.in.in b/data/misc/io.github.Hexchat.desktop.in.in
index 7bf6a9a8..5e00ce8f 100644
--- a/data/misc/io.github.Hexchat.desktop.in.in
+++ b/data/misc/io.github.Hexchat.desktop.in.in
@@ -4,7 +4,7 @@ GenericName=IRC Client
 Comment=Chat with other people online
 Keywords=IM;Chat;
 Exec=@exec_command@
-Icon=hexchat
+Icon=io.github.Hexchat
 Terminal=false
 Type=Application
 Categories=GTK;Network;IRCClient;