[gnome-packagekit] Do not use the deprecated (and unused) UpgradeSystem



commit 5ef5aa07fe026868cded0919565b215fa4f848b0
Author: Richard Hughes <richard hughsie com>
Date:   Thu Dec 5 14:20:56 2013 +0000

    Do not use the deprecated (and unused) UpgradeSystem

 src/gpk-enum.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index 3e78a09..606b8b3 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -170,7 +170,6 @@ static const PkEnumMatch enum_role_icon_name[] = {
        {PK_ROLE_ENUM_SEARCH_NAME,              "pk-package-search"},
        {PK_ROLE_ENUM_UPDATE_PACKAGES,          "pk-package-update"},
        {PK_ROLE_ENUM_WHAT_PROVIDES,            "pk-package-search"},
-       {PK_ROLE_ENUM_UPGRADE_SYSTEM,           "system-software-update"},
        {PK_ROLE_ENUM_REPAIR_SYSTEM,            "system-software-update"},
        {0, NULL}
 };
@@ -1315,10 +1314,6 @@ gpk_role_enum_to_localised_present (PkRoleEnum role)
                /* TRANSLATORS: The role of the transaction, in present tense */
                text = _("Getting old transactions");
                break;
-       case PK_ROLE_ENUM_UPGRADE_SYSTEM:
-               /* TRANSLATORS: The role of the transaction, in present tense */
-               text = _("Upgrading system");
-               break;
        case PK_ROLE_ENUM_REPAIR_SYSTEM:
                /* TRANSLATORS: The role of the transaction, in present tense */
                text = _("Repairing the system");
@@ -1455,10 +1450,6 @@ gpk_role_enum_to_localised_past (PkRoleEnum role)
                /* TRANSLATORS: The role of the transaction, in past tense */
                text = _("Got old transactions");
                break;
-       case PK_ROLE_ENUM_UPGRADE_SYSTEM:
-               /* TRANSLATORS: The role of the transaction, in past tense */
-               text = _("Upgraded system");
-               break;
        case PK_ROLE_ENUM_REPAIR_SYSTEM:
                /* TRANSLATORS: The role of the transaction, in past tense */
                text = _("Repaired the system");


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