[gnome-software] folders: Remove the Sundry folder



commit 496aa49aa3d4b1910a0023b3c67cf6b1e151eb84
Author: Kalev Lember <klember redhat com>
Date:   Fri Feb 15 14:38:37 2019 +0100

    folders: Remove the Sundry folder
    
    This matches with the Sundry folder removal from gnome-menus 3.31.90.
    
    Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/435

 src/gs-folders.c | 53 +----------------------------------------------------
 1 file changed, 1 insertion(+), 52 deletions(-)
---
diff --git a/src/gs-folders.c b/src/gs-folders.c
index 981d2a6a..27dadc2f 100644
--- a/src/gs-folders.c
+++ b/src/gs-folders.c
@@ -525,7 +525,7 @@ gs_folders_revert (GsFolders *folders)
        load (folders);
 }
 
-/* Ensure we have the default folders for Utilities and Sundry.
+/* Ensure we have the default folders for Utilities and YaST.
  * We can't do this as default values, since the schemas have
  * no fixed path.
  *
@@ -542,7 +542,6 @@ gs_folders_convert (void)
        if (g_strv_length (ids) == 0) {
                const gchar * const children[] = {
                        "Utilities",
-                       "Sundry",
                        "YaST",
                        NULL
                };
@@ -570,46 +569,6 @@ gs_folders_convert (void)
                        "yelp.desktop",
                        NULL
                };
-               const gchar * const sundry_categories[] = {
-                       "X-GNOME-Sundry",
-                       NULL
-               };
-               const gchar * const sundry_apps[] = {
-                       "alacarte.desktop",
-                       "authconfig.desktop",
-                       "ca.desrt.dconf-editor.desktop",
-                       "fedora-release-notes.desktop",
-                       "firewall-config.desktop",
-                       "flash-player-properties.desktop",
-                       "gconf-editor.desktop",
-                       "gnome-abrt.desktop",
-                       "ibus-setup-anthy.desktop",
-                       "ibus-setup.desktop",
-                       "ibus-setup-hangul.desktop",
-                       "ibus-setup-libbopomofo.desktop",
-                       "ibus-setup-libpinyin.desktop",
-                       "ibus-setup-m17n.desktop",
-                       "ibus-setup-typing-booster.desktop",
-                       "im-chooser.desktop",
-                       "itweb-settings.desktop",
-                       "jhbuild.desktop",
-                       "javaws.desktop",
-                       "java-1.7.0-openjdk-jconsole.desktop",
-                       "java-1.7.0-openjdk-policytool.desktop",
-                       "log4j-chainsaw.desktop",
-                       "log4j-logfactor5.desktop",
-                       "nm-connection-editor.desktop",
-                       "org.gnome.PowerStats.desktop",
-                       "setroubleshoot.desktop",
-                       "system-config-date.desktop",
-                       "system-config-firewall.desktop",
-                       "system-config-keyboard.desktop",
-                       "system-config-language.desktop",
-                       "system-config-printer.desktop",
-                       "system-config-users.desktop",
-                       "vino-preferences.desktop",
-                       NULL
-               };
                const gchar * const yast_categories[] = {
                        "X-SuSE-YaST",
                        NULL
@@ -632,16 +591,6 @@ gs_folders_convert (void)
                g_object_unref (child);
                g_free (child_path);
 
-               child_path = g_strconcat (path, "folders/Sundry/", NULL);
-               child = g_settings_new_with_path (APP_FOLDER_CHILD_SCHEMA, child_path);
-               g_settings_set_string (child, "name", "X-GNOME-Sundry.directory");
-               g_settings_set_boolean (child, "translate", TRUE);
-               g_settings_set_strv (child, "categories", sundry_categories);
-               g_settings_set_strv (child, "apps", sundry_apps);
-
-               g_object_unref (child);
-               g_free (child_path);
-
                child_path = g_strconcat (path, "folders/YaST/", NULL);
                child = g_settings_new_with_path (APP_FOLDER_CHILD_SCHEMA, child_path);
                g_settings_set_string (child, "name", "suse-yast.directory");


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