summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 16:33:58 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 16:33:58 +0800
commit06c9475a3fc36fe202c170785d5018844e653b23 (patch)
treeefda9732aa42e810788918e649bf8440c6ed3a32
parent194a65d1a6be775d1a9f4d726e9fdd3025fbb1f8 (diff)
downloadmarcuscom-ports-06c9475a3fc36fe202c170785d5018844e653b23.tar
marcuscom-ports-06c9475a3fc36fe202c170785d5018844e653b23.tar.gz
marcuscom-ports-06c9475a3fc36fe202c170785d5018844e653b23.tar.bz2
marcuscom-ports-06c9475a3fc36fe202c170785d5018844e653b23.tar.lz
marcuscom-ports-06c9475a3fc36fe202c170785d5018844e653b23.tar.xz
marcuscom-ports-06c9475a3fc36fe202c170785d5018844e653b23.tar.zst
marcuscom-ports-06c9475a3fc36fe202c170785d5018844e653b23.zip
Fix some more libnotify api usages.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15372 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--ports-mgmt/gnome-packagekit/files/patch-src_gpk-watch.c22
1 files changed, 20 insertions, 2 deletions
diff --git a/ports-mgmt/gnome-packagekit/files/patch-src_gpk-watch.c b/ports-mgmt/gnome-packagekit/files/patch-src_gpk-watch.c
index d3d7d7b48..f724d7845 100644
--- a/ports-mgmt/gnome-packagekit/files/patch-src_gpk-watch.c
+++ b/ports-mgmt/gnome-packagekit/files/patch-src_gpk-watch.c
@@ -1,5 +1,5 @@
---- src/gpk-watch.c.orig 2011-03-06 21:37:54.000000000 +0100
-+++ src/gpk-watch.c 2011-03-06 21:41:39.000000000 +0100
+--- src/gpk-watch.c.orig 2010-09-22 17:20:31.000000000 +0200
++++ src/gpk-watch.c 2011-03-07 09:32:41.000000000 +0100
@@ -1153,7 +1153,7 @@ gpk_watch_process_messages_cb (PkMessage
}
@@ -9,3 +9,21 @@
notify_notification_set_timeout (notification, NOTIFY_EXPIRES_NEVER);
notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
ret = notify_notification_show (notification, &error);
+@@ -1213,7 +1213,7 @@ gpk_watch_process_error_code (GpkWatch *
+ title_prefix = g_strdup_printf ("%s: %s", _("Package Manager"), title);
+
+ /* do the bubble */
+- notification = notify_notification_new (title_prefix, message, "help-browser", NULL);
++ notification = notify_notification_new (title_prefix, message, "help-browser");
+ notify_notification_set_timeout (notification, 15000);
+ notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
+ notify_notification_add_action (notification, "show-error-details",
+@@ -1392,7 +1392,7 @@ gpk_watch_adopt_cb (PkClient *client, GA
+ goto out;
+
+ /* TRANSLATORS: title: an action has finished, and we are showing the libnotify bubble */
+- notification = notify_notification_new (_("Task completed"), message, "help-browser", NULL);
++ notification = notify_notification_new (_("Task completed"), message, "help-browser");
+ notify_notification_set_timeout (notification, 5000);
+ notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
+ notify_notification_add_action (notification, "do-not-show-notify-complete",