[gnome-software/gnome-3-26] gs-desktop-common: Fix "Addons" back to "Addon" in category IDs



commit 9280eed03ca3573d66ebb0e219d902b863cae0da
Author: Iain Lane <iain orangesquash org uk>
Date:   Thu Sep 21 13:06:27 2017 +0100

    gs-desktop-common: Fix "Addons" back to "Addon" in category IDs
    
    In code we apply the category "Addon" - this needs to match.
    
    This fixes the addon category being completely empty - GsApps were being
    added to the wrong place.
    
    Accidentally broken in 90123ee63e49c774b025125976656a58efd2e55d.
    
    https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1713285

 plugins/core/gs-desktop-common.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/plugins/core/gs-desktop-common.c b/plugins/core/gs-desktop-common.c
index ad3c3a6..fad749e 100644
--- a/plugins/core/gs-desktop-common.c
+++ b/plugins/core/gs-desktop-common.c
@@ -206,25 +206,25 @@ static const GsDesktopMap map_productivity[] = {
 /* Addons */
 static const GsDesktopMap map_addons[] = {
        { "fonts",              NC_("Menu of Add-ons", "Fonts"),
-                                       { "Addons::Font",
+                                       { "Addon::Font",
                                          NULL} },
        { "codecs",             NC_("Menu of Add-ons", "Codecs"),
-                                       { "Addons::Codec",
+                                       { "Addon::Codec",
                                          NULL} },
        { "input-sources",      NC_("Menu of Add-ons", "Input Sources"),
-                                       { "Addons::InputSource",
+                                       { "Addon::InputSource",
                                          NULL} },
        { "language-packs",     NC_("Menu of Add-ons", "Language Packs"),
-                                       { "Addons::LanguagePack",
+                                       { "Addon::LanguagePack",
                                          NULL} },
        { "shell-extensions",   NC_("Menu of Add-ons", "Shell Extensions"),
-                                       { "Addons::ShellExtension",
+                                       { "Addon::ShellExtension",
                                          NULL} },
        { "localization",       NC_("Menu of Add-ons", "Localization"),
-                                       { "Addons::Localization",
+                                       { "Addon::Localization",
                                          NULL} },
        { "drivers",            NC_("Menu of Add-ons", "Hardware Drivers"),
-                                       { "Addons::Driver",
+                                       { "Addon::Driver",
                                          NULL} },
        { NULL }
 };


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