[sound-juicer/wip/hadess/update-flatpak] data: Remove the need to rename the icon in Flatpak
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer/wip/hadess/update-flatpak] data: Remove the need to rename the icon in Flatpak
- Date: Mon, 7 Sep 2020 11:50:02 +0000 (UTC)
commit e319cd0839295c4403a14bf1f2809bc9bba6a12f
Author: Bastien Nocera <hadess hadess net>
Date: Mon Sep 7 13:34:35 2020 +0200
data: Remove the need to rename the icon in Flatpak
Make the install application icon match the app-id.
build-aux/org.gnome.SoundJuicer.json | 1 -
data/meson.build | 2 +-
data/org.gnome.SoundJuicer.desktop.in.in | 3 ++-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build-aux/org.gnome.SoundJuicer.json b/build-aux/org.gnome.SoundJuicer.json
index 2a476a7a..61e6c2c5 100644
--- a/build-aux/org.gnome.SoundJuicer.json
+++ b/build-aux/org.gnome.SoundJuicer.json
@@ -4,7 +4,6 @@
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"command": "sound-juicer",
- "rename-icon": "sound-juicer",
"tags": [ "nightly" ],
"desktop-file-name-suffix": " ☢️",
"finish-args": [
diff --git a/data/meson.build b/data/meson.build
index ed1f8f6e..a74d5049 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -78,5 +78,5 @@ icondir = join_paths(sound_juicer_datadir, 'icons', 'hicolor')
foreach icon : icons
name = icon.split('.')[0].split('-')
size = name[2]
- install_data(icon, install_dir: join_paths(icondir, size + 'x' + size, 'apps'), rename: 'sound-juicer.png')
+ install_data(icon, install_dir: join_paths(icondir, size + 'x' + size, 'apps'), rename:
'org.gnome.SoundJuicer.png')
endforeach
diff --git a/data/org.gnome.SoundJuicer.desktop.in.in b/data/org.gnome.SoundJuicer.desktop.in.in
index 67172b8f..e58e4493 100644
--- a/data/org.gnome.SoundJuicer.desktop.in.in
+++ b/data/org.gnome.SoundJuicer.desktop.in.in
@@ -6,13 +6,14 @@ Comment=Copy music from your CDs
Keywords=Ripper;
Exec=sound-juicer %u
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=sound-juicer
+Icon=org.gnome.SoundJuicer
StartupNotify=true
DBusActivatable=true
MimeType=x-content/audio-cdda;
Terminal=false
Type=Application
Categories=GNOME;GTK;AudioVideo;Audio;
+StartupWMClass=sound-juicer
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=sound-juicer
X-GNOME-Bugzilla-Component=general
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]