[gitg/devel-desktop] Fix desktop file for Development profile



commit 54622cbf7d34909bddbcc338ddd3f933d3953fcf
Author: Alberto Fanjul <albertofanjul gmail com>
Date:   Wed Jan 16 22:10:03 2019 +0100

    Fix desktop file for Development profile

 data/meson.build | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index a8b90fd1..aeae193d 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,6 +1,9 @@
 subdir('icons')
 
-desktop = 'org.gnome.gitg.desktop'
+desktop = 'org.gnome.gitg,desktop'
+if get_option('profile') == 'development'
+  desktop = 'org.gnome.gitgDevel.desktop'
+endif
 
 desktop_config = configuration_data()
 desktop_config.set('icon', application_id)
@@ -23,7 +26,7 @@ schema_conf = configuration_data()
 schema_conf.set('GETTEXT_PACKAGE', gitg_gettext)
 schema_conf.set('APPLICATION_ID', application_id)
 schema_path = '/org/gnome/gitg'
-if get_option('profile')  == 'development'
+if get_option('profile') == 'development'
   schema_path = '/org/gnome/gitgDevel'
 endif
 schema_conf.set('SCHEMA_PATH', schema_path)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]