[gnome-control-center] sharing: add XML declaration to the .policy file



commit 3807e457555e7a894e0751a7987e61f71ed5c38a
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Tue Sep 12 17:39:44 2017 +0200

    sharing: add XML declaration to the .policy file
    
    Without it, gettext mangles UTF-8 characters.
    
    See https://savannah.gnu.org/bugs/?52932
    
    https://bugzilla.gnome.org/show_bug.cgi?id=787588

 ....controlcenter.remote-login-helper.policy.in.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in 
b/panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in
index 6eeeb51..9032941 100644
--- a/panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in
+++ b/panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE policyconfig PUBLIC
  "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
  "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd";>


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