[gnome-system-tools] Bug 588562 - Update .desktop files' Encoding and spec Version fields



commit 1aaf6f0701d19ddba727a182483ba4aba41ff590
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Sun Jul 26 11:47:14 2009 +0200

    Bug 588562 - Update .desktop files' Encoding and spec Version fields
    
    The Encoding key in .desktop files is deprecated as all desktop files are
    assumed to be UTF-8. Also add the optional Version field in case it could be useful later.

 src/disks/disks.desktop.in.in       |    2 +-
 src/network/network.desktop.in.in   |    2 +-
 src/services/services.desktop.in.in |    2 +-
 src/shares/shares.desktop.in.in     |    2 +-
 src/time/time.desktop.in.in         |    2 +-
 src/users/users.desktop.in.in       |    3 ++-
 6 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/src/disks/disks.desktop.in.in b/src/disks/disks.desktop.in.in
index adde111..f1a0c60 100644
--- a/src/disks/disks.desktop.in.in
+++ b/src/disks/disks.desktop.in.in
@@ -1,4 +1,5 @@
 [Desktop Entry]
+Version=1.0
 _Name=Disks
 _Comment=Configure the system disks
 Exec=disks-admin
@@ -11,4 +12,3 @@ X-GNOME-Bugzilla-Product=gnome-system-tools
 X-GNOME-Bugzilla-Component=disks-admin
 X-GNOME-Bugzilla-Version= VERSION@
 StartupNotify=true
-Encoding=UTF-8
diff --git a/src/network/network.desktop.in.in b/src/network/network.desktop.in.in
index a173b39..ebac3f4 100644
--- a/src/network/network.desktop.in.in
+++ b/src/network/network.desktop.in.in
@@ -1,4 +1,5 @@
 [Desktop Entry]
+Version=1.0
 _Name=Network
 _Comment=Configure network devices and connections
 Exec=network-admin
@@ -11,4 +12,3 @@ X-GNOME-Bugzilla-Product=gnome-system-tools
 X-GNOME-Bugzilla-Component=network-admin
 X-GNOME-Bugzilla-Version= VERSION@
 StartupNotify=true
-Encoding=UTF-8
diff --git a/src/services/services.desktop.in.in b/src/services/services.desktop.in.in
index 4c1f9f3..43fab36 100644
--- a/src/services/services.desktop.in.in
+++ b/src/services/services.desktop.in.in
@@ -1,4 +1,5 @@
 [Desktop Entry]
+Version=1.0
 _Name=Services
 _Comment=Configure which services will be run when the system starts
 Exec=services-admin
@@ -11,4 +12,3 @@ X-GNOME-Bugzilla-Product=gnome-system-tools
 X-GNOME-Bugzilla-Component=runlevel-admin
 X-GNOME-Bugzilla-Version= VERSION@
 StartupNotify=true
-Encoding=UTF-8
diff --git a/src/shares/shares.desktop.in.in b/src/shares/shares.desktop.in.in
index b07d233..1aa5b69 100644
--- a/src/shares/shares.desktop.in.in
+++ b/src/shares/shares.desktop.in.in
@@ -1,4 +1,5 @@
 [Desktop Entry]
+Version=1.0
 _Name=Shared Folders
 _Comment=Configure which folders are available for your network neighborhood
 Exec=shares-admin
@@ -11,5 +12,4 @@ X-GNOME-Bugzilla-Product=gnome-system-tools
 X-GNOME-Bugzilla-Component=shares-admin
 X-GNOME-Bugzilla-Version= VERSION@
 StartupNotify=true
-Encoding=UTF-8
 
diff --git a/src/time/time.desktop.in.in b/src/time/time.desktop.in.in
index 9aacd3b..2494a94 100644
--- a/src/time/time.desktop.in.in
+++ b/src/time/time.desktop.in.in
@@ -1,4 +1,5 @@
 [Desktop Entry]
+Version=1.0
 _Name=Time and Date
 _Comment=Change system time, date, and timezone
 Exec=time-admin
@@ -11,4 +12,3 @@ X-GNOME-Bugzilla-Product=gnome-system-tools
 X-GNOME-Bugzilla-Component=time-admin
 X-GNOME-Bugzilla-Version= VERSION@
 StartupNotify=true
-Encoding=UTF-8
diff --git a/src/users/users.desktop.in.in b/src/users/users.desktop.in.in
index e77cd01..b76c6ac 100644
--- a/src/users/users.desktop.in.in
+++ b/src/users/users.desktop.in.in
@@ -1,4 +1,5 @@
 [Desktop Entry]
+Version=1.0
 _Name=Users and Groups
 _Comment=Add or remove users and groups
 Exec=users-admin
@@ -11,4 +12,4 @@ X-GNOME-Bugzilla-Product=gnome-system-tools
 X-GNOME-Bugzilla-Component=users-admin
 X-GNOME-Bugzilla-Version= VERSION@
 StartupNotify=true
-Encoding=UTF-8
+Version=1.0



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