summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-08 06:15:53 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-08 06:15:53 +0800
commit916ad2ffcb936ca213c5044e6f6ed5835cb9b90c (patch)
treea2aba65c066afbaafef55a39ee9fbe0b6931c5bb /mail
parent258471f518dab500c71e98e45211bf51afbdce61 (diff)
downloadmarcuscom-ports-916ad2ffcb936ca213c5044e6f6ed5835cb9b90c.tar
marcuscom-ports-916ad2ffcb936ca213c5044e6f6ed5835cb9b90c.tar.gz
marcuscom-ports-916ad2ffcb936ca213c5044e6f6ed5835cb9b90c.tar.bz2
marcuscom-ports-916ad2ffcb936ca213c5044e6f6ed5835cb9b90c.tar.lz
marcuscom-ports-916ad2ffcb936ca213c5044e6f6ed5835cb9b90c.tar.xz
marcuscom-ports-916ad2ffcb936ca213c5044e6f6ed5835cb9b90c.tar.zst
marcuscom-ports-916ad2ffcb936ca213c5044e6f6ed5835cb9b90c.zip
Add some more libnotify fixes, I have no idea how this is able to build in
my tindy before. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15404 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail')
-rw-r--r--mail/evolution/files/patch-calendar_gui_alarm-notify_alarm-queue.c11
-rw-r--r--mail/evolution/files/patch-plugins_mail-notification_mail-notification.c13
-rw-r--r--mail/evolution/files/patch-plugins_publish-calendar_publish-calendar.c12
3 files changed, 36 insertions, 0 deletions
diff --git a/mail/evolution/files/patch-calendar_gui_alarm-notify_alarm-queue.c b/mail/evolution/files/patch-calendar_gui_alarm-notify_alarm-queue.c
new file mode 100644
index 000000000..e713de004
--- /dev/null
+++ b/mail/evolution/files/patch-calendar_gui_alarm-notify_alarm-queue.c
@@ -0,0 +1,11 @@
+--- calendar/gui/alarm-notify/alarm-queue.c.orig 2011-03-07 20:53:40.000000000 +0100
++++ calendar/gui/alarm-notify/alarm-queue.c 2011-03-07 20:53:50.000000000 +0100
+@@ -1606,7 +1606,7 @@ popup_notification (time_t trigger, Comp
+ body = g_strdup_printf ("%s %s", start_str, time_str);
+ }
+
+- n = notify_notification_new (summary, body, "stock_appointment-reminder", NULL);
++ n = notify_notification_new (summary, body, "stock_appointment-reminder");
+ if (!notify_notification_show(n, NULL))
+ g_warning ("Could not send notification to daemon\n");
+
diff --git a/mail/evolution/files/patch-plugins_mail-notification_mail-notification.c b/mail/evolution/files/patch-plugins_mail-notification_mail-notification.c
new file mode 100644
index 000000000..adddf1b38
--- /dev/null
+++ b/mail/evolution/files/patch-plugins_mail-notification_mail-notification.c
@@ -0,0 +1,13 @@
+--- plugins/mail-notification/mail-notification.c.orig 2011-03-07 21:24:25.000000000 +0100
++++ plugins/mail-notification/mail-notification.c 2011-03-07 21:24:40.000000000 +0100
+@@ -564,9 +564,7 @@ new_notify_status (EMEventTargetFolder *
+
+ notify = notify_notification_new (
+ _("New email"), safetext,
+- "mail-unread", NULL);
+- notify_notification_attach_to_status_icon (
+- notify, status_icon);
++ "mail-unread");
+
+ /* Check if actions are supported */
+ if (can_support_actions ()) {
diff --git a/mail/evolution/files/patch-plugins_publish-calendar_publish-calendar.c b/mail/evolution/files/patch-plugins_publish-calendar_publish-calendar.c
new file mode 100644
index 000000000..55120db4c
--- /dev/null
+++ b/mail/evolution/files/patch-plugins_publish-calendar_publish-calendar.c
@@ -0,0 +1,12 @@
+--- plugins/publish-calendar/publish-calendar.c.orig 2011-03-07 21:12:59.000000000 +0100
++++ plugins/publish-calendar/publish-calendar.c 2011-03-07 21:14:23.000000000 +0100
+@@ -150,8 +150,7 @@ update_publish_notification (GtkMessageT
+ return;
+ }
+
+- notify = notify_notification_new (_("Calendar Publishing"), actual_msg->str, stock_name, NULL);
+- notify_notification_attach_to_status_icon (notify, status_icon);
++ notify = notify_notification_new (_("Calendar Publishing"), actual_msg->str, stock_name);
+ notify_notification_set_urgency (notify, NOTIFY_URGENCY_NORMAL);
+ notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT);
+ g_timeout_add (500, show_notify_cb, NULL);