forked from pool/gnome-software
Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/291515 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-software?expand=0&rev=48
41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
Index: gnome-software-3.15.4/src/gs-folders.c
|
|
===================================================================
|
|
--- gnome-software-3.15.4.orig/src/gs-folders.c
|
|
+++ gnome-software-3.15.4/src/gs-folders.c
|
|
@@ -539,6 +539,7 @@ gs_folders_convert (void)
|
|
const gchar * const children[] = {
|
|
"Utilities",
|
|
"Sundry",
|
|
+ "YaST",
|
|
NULL
|
|
};
|
|
const gchar * const utilities_categories[] = {
|
|
@@ -607,6 +608,11 @@ gs_folders_convert (void)
|
|
"vino-preferences.desktop",
|
|
NULL
|
|
};
|
|
+ const gchar * const yast_categories[] = {
|
|
+ "X-SuSE-YaST",
|
|
+ NULL
|
|
+ };
|
|
+
|
|
gchar *path;
|
|
gchar *child_path;
|
|
GSettings *child;
|
|
@@ -633,6 +639,15 @@ gs_folders_convert (void)
|
|
|
|
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");
|
|
+ g_settings_set_boolean (child, "translate", TRUE);
|
|
+ g_settings_set_strv (child, "categories", yast_categories);
|
|
+
|
|
+ g_object_unref (child);
|
|
+ g_free (child_path);
|
|
|
|
}
|
|
}
|