[packagekit] Categories/Groups in yum on a Fedora system
S.Çağlar Onur
caglar at pardus.org.tr
Wed Oct 31 15:10:47 PDT 2007
01 Kas 2007 Per tarihinde, Richard Hughes şunları yazmıştı:
> Yes, please commit. Please also add the translations in pk-gnome,
> src/pk-common-gui.c - thanks.
Hmm but i don't have a Gnome env. for selecting right icon names :) so if OK,
i'll commit following and let you decide the icon names.
diff --git a/src/pk-common-gui.c b/src/pk-common-gui.c
index 52b803c..9d99778 100644
--- a/src/pk-common-gui.c
+++ b/src/pk-common-gui.c
@@ -112,6 +112,8 @@ static PkEnumMatch enum_group_icon_name[] = {
{PK_GROUP_ENUM_ADMIN_TOOLS, "system-lock-screen"},
{PK_GROUP_ENUM_LEGACY, "media-floppy"},
{PK_GROUP_ENUM_LOCALIZATION, "preferences-desktop-locale"},
+ {PK_GROUP_ENUM_VIRTUALIZATION, "preferences-desktop-locale"},
+ {PK_GROUP_ENUM_SECURITY, "preferences-desktop-locale"},
{0, NULL},
};
@@ -668,6 +670,12 @@ pk_group_enum_to_localised_text (PkGroupEnum group)
case PK_GROUP_ENUM_LOCALIZATION:
text = _("Localization");
break;
+ case PK_GROUP_ENUM_VIRTUALIZATION:
+ text = _("Virtualization");
+ break;
+ case PK_GROUP_ENUM_SECURITY:
+ text = _("Security");
+ break;
case PK_GROUP_ENUM_UNKNOWN:
text = _("Unknown");
break;
Cheers
--
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/
Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
More information about the PackageKit
mailing list