[Xfce4-commits] <exo:master> Drop the Encoding and Categories from the item editor (bug #4423).

Nick Schermer nick at xfce.org
Thu Aug 27 20:00:03 CEST 2009


Updating branch refs/heads/master
         to 4211025e87e19c673c89a74c54291407ef00d261 (commit)
       from 59594bc3b42d4ba7acb675db54819707fa7c1bcb (commit)

commit 4211025e87e19c673c89a74c54291407ef00d261
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Aug 27 19:52:11 2009 +0200

    Drop the Encoding and Categories from the item editor (bug #4423).

 exo-desktop-item-edit/main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/exo-desktop-item-edit/main.c b/exo-desktop-item-edit/main.c
index bbe3635..418853a 100644
--- a/exo-desktop-item-edit/main.c
+++ b/exo-desktop-item-edit/main.c
@@ -180,7 +180,6 @@ main (int argc, char **argv)
     {
       /* generic stuff */
       g_key_file_set_value (key_file, "Desktop Entry", "Version", "1.0");
-      g_key_file_set_value (key_file, "Desktop Entry", "Encoding", "UTF-8");
       g_key_file_set_value (key_file, "Desktop Entry", "Type", STR_FB (opt_type, "Application"));
       g_key_file_set_value (key_file, "Desktop Entry", "Name", STR_FB (opt_name, ""));
       g_key_file_set_value (key_file, "Desktop Entry", "Comment", STR_FB (opt_comment, ""));
@@ -193,7 +192,6 @@ main (int argc, char **argv)
         }
       else
         {
-          g_key_file_set_value (key_file, "Desktop Entry", "Categories", "Application;");
           g_key_file_set_value (key_file, "Desktop Entry", "Exec", STR_FB (opt_command, ""));
           g_key_file_set_value (key_file, "Desktop Entry", "Icon", STR_FB (opt_icon, ""));
         }



More information about the Xfce4-commits mailing list