[rygel: 1/2] Don't use localized name for the config dir



commit 4d341f0f5ac1cc395fd96281ad299ee2a608fe69
Author: Changwoo Ryu <cwryu debian org>
Date:   Sat Jun 2 09:55:54 2018 +0000

    Don't use localized name for the config dir
    
    Just use "Rygel" for config path name instead of
    GLib.Environment.get_application_name() which returns localized name.
    
    Close https://gitlab.gnome.org/GNOME/rygel/issues/118

 src/librygel-core/rygel-root-device-factory.vala | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/librygel-core/rygel-root-device-factory.vala 
b/src/librygel-core/rygel-root-device-factory.vala
index 110255aa..3f9a6a75 100644
--- a/src/librygel-core/rygel-root-device-factory.vala
+++ b/src/librygel-core/rygel-root-device-factory.vala
@@ -93,8 +93,7 @@ public class Rygel.RootDeviceFactory : Object,
         /* We store the modified descriptions in the user's config dir */
         var config_dir = Environment.get_user_config_dir ();
         this.ensure_dir_exists (config_dir);
-        this.desc_dir = Path.build_filename (config_dir,
-                                             Environment.get_application_name ());
+        this.desc_dir = Path.build_filename (config_dir, "Rygel");
         this.ensure_dir_exists (this.desc_dir);
 
         return true;


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