[gnome-packagekit] Fix make check
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Fix make check
- Date: Mon, 3 Aug 2009 11:50:06 +0000 (UTC)
commit 503c346c6b36e1b4ce83d666c17f3b8f4aafc2cb
Author: Richard Hughes <richard hughsie com>
Date: Mon Aug 3 12:20:02 2009 +0100
Fix make check
src/Makefile.am | 49 ++++++++++++++++++++++++++++++++++++++++++++++++-
src/gpk-enum.c | 5 ++++-
2 files changed, 52 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 805cbb3..ed90394 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -299,14 +299,61 @@ gpk_self_test_SOURCES = \
gpk-self-test.c \
egg-test.h \
egg-test.c \
+ egg-string.c \
+ egg-string.h \
+ egg-markdown.c \
+ egg-markdown.h \
+ egg-debug.c \
+ egg-debug.h \
+ gpk-enum.c \
+ gpk-enum.h \
+ gpk-common.c \
+ gpk-common.h \
+ gpk-error.c \
+ gpk-error.h \
+ gpk-language.c \
+ gpk-language.h \
+ gpk-modal-dialog.c \
+ gpk-modal-dialog.h \
gpk-dbus.c \
gpk-dbus.h \
gpk-dbus-task.c \
gpk-dbus-task.h \
+ gpk-animated-icon.c \
+ gpk-animated-icon.h \
+ gpk-gnome.c \
+ gpk-gnome.h \
+ gpk-x11.c \
+ gpk-x11.h \
+ gpk-vendor.c \
+ gpk-vendor.h \
+ gpk-desktop.c \
+ gpk-desktop.h \
+ gpk-helper-repo-signature.c \
+ gpk-helper-repo-signature.h \
+ gpk-helper-eula.c \
+ gpk-helper-eula.h \
+ gpk-helper-run.c \
+ gpk-helper-run.h \
+ gpk-helper-deps-remove.c \
+ gpk-helper-deps-remove.h \
+ gpk-helper-deps-install.c \
+ gpk-helper-deps-install.h \
+ gpk-helper-deps-update.c \
+ gpk-helper-deps-update.h \
+ gpk-helper-untrusted.c \
+ gpk-helper-untrusted.h \
+ gpk-helper-chooser.c \
+ gpk-helper-chooser.h \
+ gpk-helper-media-change.c \
+ gpk-helper-media-change.h \
+ gpk-marshal.c \
+ gpk-marshal.h \
+ gpk-dialog.c \
+ gpk-dialog.h \
$(NULL)
gpk_self_test_LDADD = \
- libgpkshared.a \
$(shared_LIBS) \
$(SELFTEST_LIBS) \
$(NULL)
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index 9a6e67e..f1b3966 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -245,6 +245,7 @@ static const PkEnumMatch enum_message_icon_name[] = {
{PK_MESSAGE_ENUM_COULD_NOT_FIND_PACKAGE,"dialog-error"},
{PK_MESSAGE_ENUM_CONFIG_FILES_CHANGED, "dialog-information"},
{PK_MESSAGE_ENUM_PACKAGE_ALREADY_INSTALLED, "dialog-information"},
+ {PK_MESSAGE_ENUM_AUTOREMOVE_IGNORED, "dialog-information"},
{0, NULL}
};
@@ -834,7 +835,9 @@ gpk_message_enum_to_localised_text (PkMessageEnum message)
case PK_MESSAGE_ENUM_PACKAGE_ALREADY_INSTALLED:
text = _("Package is already installed");
break;
-
+ case PK_MESSAGE_ENUM_AUTOREMOVE_IGNORED:
+ text = _("Automatic cleanup is being ignored");
+ break;
default:
egg_warning ("message unrecognised: %i", message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]