[gnome-packagekit] trivial: fix --enable-tests and make check
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] trivial: fix --enable-tests and make check
- Date: Sat, 6 Nov 2010 18:10:57 +0000 (UTC)
commit eeef20e777192f88ae297137629270a907660b5d
Author: Richard Hughes <richard hughsie com>
Date: Sat Nov 6 18:08:09 2010 +0000
trivial: fix --enable-tests and make check
src/gpk-enum.c | 9 +++++++++
src/gpk-self-test.c | 1 -
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index 8c8b612..dcbe9ae 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -176,6 +176,7 @@ static const PkEnumMatch enum_role_icon_name[] = {
{PK_ROLE_ENUM_SIMULATE_INSTALL_PACKAGES, "pk-package-add"},
{PK_ROLE_ENUM_SIMULATE_REMOVE_PACKAGES, "pk-package-delete"},
{PK_ROLE_ENUM_SIMULATE_UPDATE_PACKAGES, "pk-package-update"},
+ {PK_ROLE_ENUM_UPGRADE_SYSTEM, "system-software-update"},
{0, NULL}
};
@@ -1399,6 +1400,10 @@ gpk_role_enum_to_localised_present (PkRoleEnum role)
/* TRANSLATORS: The role of the transaction, in present tense */
text = _("Simulating the update");
break;
+ case PK_ROLE_ENUM_UPGRADE_SYSTEM:
+ /* TRANSLATORS: The role of the transaction, in present tense */
+ text = _("Upgrading system");
+ break;
default:
g_warning ("role unrecognised: %s", pk_role_enum_to_text (role));
}
@@ -1555,6 +1560,10 @@ gpk_role_enum_to_localised_past (PkRoleEnum role)
/* TRANSLATORS: The role of the transaction, in past tense */
text = _("Simulated the update");
break;
+ case PK_ROLE_ENUM_UPGRADE_SYSTEM:
+ /* TRANSLATORS: The role of the transaction, in past tense */
+ text = _("Upgraded system");
+ break;
default:
g_warning ("role unrecognised: %s", pk_role_enum_to_text (role));
}
diff --git a/src/gpk-self-test.c b/src/gpk-self-test.c
index a55609b..f12ce73 100644
--- a/src/gpk-self-test.c
+++ b/src/gpk-self-test.c
@@ -45,7 +45,6 @@ main (int argc, char **argv)
g_type_init ();
gtk_init (&argc, &argv);
test = egg_test_init ();
- g_debug_init (&argc, &argv);
/* tests go here */
egg_markdown_test (test);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]