[gnome-software] gs-desktop-common: Fix "Addons" back to "Addon" in category IDs
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] gs-desktop-common: Fix "Addons" back to "Addon" in category IDs
- Date: Thu, 21 Sep 2017 17:10:27 +0000 (UTC)
commit 2e5bb73486ae15e53498f86afea1e284428e5059
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]