[gnome-main-menu] [main-menu] Do not add Application category to desktop file we create



commit 9861de81b284b960cd7aef96eef0aaab5574f8f5
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Feb 18 00:48:37 2010 +0100

    [main-menu] Do not add Application category to desktop file we create
    
    And also do not add the Encoding key, that is deprecated.
    
    Mentioned in https://bugzilla.gnome.org/show_bug.cgi?id=532406

 main-menu/src/main-menu-migration.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/main-menu/src/main-menu-migration.c b/main-menu/src/main-menu-migration.c
index 1afe09b..ccfc2f7 100644
--- a/main-menu/src/main-menu-migration.c
+++ b/main-menu/src/main-menu-migration.c
@@ -199,9 +199,7 @@ migrate_system_gconf_to_bookmark_file ()
 						gnome_desktop_item_set_entry_type (
 							ditem, GNOME_DESKTOP_ITEM_TYPE_APPLICATION);
 						gnome_desktop_item_set_string (
-							ditem, GNOME_DESKTOP_ITEM_ENCODING, "UTF-8");
-						gnome_desktop_item_set_string (
-							ditem, GNOME_DESKTOP_ITEM_CATEGORIES, "GNOME;Application;");
+							ditem, GNOME_DESKTOP_ITEM_CATEGORIES, "GNOME;GTK;");
 						gnome_desktop_item_set_string (
 							ditem, GNOME_DESKTOP_ITEM_ONLY_SHOW_IN, "GNOME;");
 



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