[gnome-packagekit/glib2: 72/79] Moo



commit 579ee246d68cedf2c947cba7717fa62b05d1b063
Author: Richard Hughes <richard hughsie com>
Date:   Mon Oct 5 13:21:44 2009 +0100

    Moo

 src/gpk-dbus-task.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-dbus-task.c b/src/gpk-dbus-task.c
index 0c546c5..94a858e 100644
--- a/src/gpk-dbus-task.c
+++ b/src/gpk-dbus-task.c
@@ -201,6 +201,22 @@ out:
 }
 
 /**
+ * gpk_dbus_task_libnotify_cb:
+ **/
+static void
+gpk_dbus_task_libnotify_cb (NotifyNotification *notification, gchar *action, gpointer data)
+{
+	GpkDbusTask *task = GPK_DBUS_TASK (data);
+
+	if (g_strcmp0 (action, "show-error-details") == 0) {
+		/* TRANSLATORS: detailed text about the error */
+		gpk_error_dialog (_("Error details"), _("Package Manager error details"), task->priv->error_details);
+	} else {
+		egg_warning ("unknown action id: %s", action);
+	}
+}
+
+/**
  * gpk_dbus_task_error_msg:
  **/
 static void



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