GNOME Bugzilla – Bug 796006
user config dir is localized
Last modified: 2018-05-22 13:00:30 UTC
I found that the rygel config dir name is localized in my ~/.config/ dir. I belive this is not intended. $ ls -l ~/.config/라이겔/ 합계 32 -rw-r--r-- 1 changwoo changwoo 2408 5월 1 09:45 MediaExport-v1.xml -rw-r--r-- 1 changwoo changwoo 2428 5월 1 09:45 MediaExport-xbox.xml -rw-r--r-- 1 changwoo changwoo 2408 5월 1 09:45 MediaExport.xml -rw-r--r-- 1 changwoo changwoo 2185 5월 1 09:45 Playbin-v1.xml -rw-r--r-- 1 changwoo changwoo 2185 5월 1 09:45 Playbin.xml -rw-r--r-- 1 changwoo changwoo 2297 2월 11 22:25 Tracker-v1.xml -rw-r--r-- 1 changwoo changwoo 2317 2월 11 22:25 Tracker-xbox.xml -rw-r--r-- 1 changwoo changwoo 2297 2월 11 22:25 Tracker.xml $ Rygel is using GLib.Environment.get_application_name() for making this path but GLib.Environment.get_application_name() returns localized application name. In src/librygel-core/rygel-root-device-factory.vala: /* 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.ensure_dir_exists (this.desc_dir); How about using get_prgname() instead, or just hard-coded "rygel"?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rygel/issues/118.