[sound-juicer/wip/hadess/update-flatpak: 2/2] data: Remove the need to rename the icon in Flatpak




commit 5a8a601831b4e72402d79f5791ffd3b621353983
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 | 1 +
 3 files changed, 2 insertions(+), 2 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..c48d6a45 100644
--- a/data/org.gnome.SoundJuicer.desktop.in.in
+++ b/data/org.gnome.SoundJuicer.desktop.in.in
@@ -13,6 +13,7 @@ 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]