Merge lp:~ubuntu-branches/ubuntu/lucid/liferea/lucid-201003041913 into lp:ubuntu/lucid/liferea

Proposed by James Westby
Status: Merged
Merged at revision: not available
Proposed branch: lp:~ubuntu-branches/ubuntu/lucid/liferea/lucid-201003041913
Merge into: lp:ubuntu/lucid/liferea
Diff against target: 50 lines (+44/-0) (has conflicts)
1 file modified
debian/patches/notification-append (+44/-0)
Conflict adding file debian/patches/notification-append.  Moved existing file to debian/patches/notification-append.moved.
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/lucid/liferea/lucid-201003041913

Description of the change

The package history in the archive and the history in the bzr branch differ. As the archive is authoritative the history of lp:ubuntu/lucid/liferea now reflects that and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/lucid/liferea/lucid-201003041913. A merge should be performed if necessary.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'debian/patches/notification-append'
2--- debian/patches/notification-append 1970-01-01 00:00:00 +0000
3+++ debian/patches/notification-append 2010-03-04 19:17:18 +0000
4@@ -0,0 +1,44 @@
5+diff -ur liferea-1.6.0-rc6/src/notification/libnotify.c liferea-ted/src/notification/libnotify.c
6+--- liferea-1.6.0-rc6/src/notification/libnotify.c 2009-06-20 13:33:19.000000000 -0500
7++++ liferea-ted/src/notification/libnotify.c 2009-09-10 23:00:39.000000000 -0500
8+@@ -44,6 +44,7 @@
9+ #include "notification/notification.h"
10+
11+ static gboolean supports_actions = FALSE;
12++static gboolean supports_append = FALSE;
13+
14+ static void notif_libnotify_callback_open ( NotifyNotification *n, gchar *action, gpointer user_data ) {
15+ g_assert(action != NULL);
16+@@ -188,7 +189,11 @@
17+ for (c = caps; c != NULL; c = c->next) {
18+ if (g_str_equal ((char*)c->data, "actions")) {
19+ supports_actions = TRUE;
20+- break;
21++ continue;
22++ }
23++ if (g_str_equal ((char*)c->data, "append")) {
24++ supports_append = TRUE;
25++ continue;
26+ }
27+ }
28+ g_list_foreach (caps, (GFunc)g_free, NULL);
29+@@ -242,12 +247,16 @@
30+ if (item_count == 0)
31+ return;
32+
33+- labelSummary_p = g_strdup_printf (ngettext ("%s has %d new / updated headline\n", "%s has %d new / updated headlines\n", item_count),
34++ labelSummary_p = g_strdup_printf (ngettext ("<b>%s</b> has <b>%d</b> update", "<b>%s</b> has <b>%d</b> updates", item_count),
35+ node_get_title (node), item_count);
36+- n = notify_notification_new ( _("Feed Update"), labelSummary_p, NULL, NULL);
37++ n = notify_notification_new ( _("Feed Update"), labelSummary_p, "liferea", NULL);
38+ g_free(labelSummary_p);
39+
40+- notify_notification_set_icon_from_pixbuf (n, node_get_icon (node));
41++ if (supports_append) {
42++ notify_notification_set_hint_string(n, "append", "allow");
43++ } else {
44++ notify_notification_set_icon_from_pixbuf (n, node_get_icon (node));
45++ }
46+ notify_notification_set_timeout (n, NOTIFY_EXPIRES_DEFAULT);
47+ if (supports_actions) {
48+ notify_notification_add_action (n, "show_details", _("Show details"),
49
50=== renamed file 'debian/patches/notification-append' => 'debian/patches/notification-append.moved'

Subscribers

People subscribed via source and target branches

to all changes: