From c90d78a143854d2dafb574fbe0d7302505544ebe Mon Sep 17 00:00:00 2001 From: kwm Date: Mon, 7 Mar 2011 09:58:59 +0000 Subject: Fix with libnotify api. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15379 df743ca5-7f9a-e211-a948-0013205c9059 --- www/epiphany/files/patch-embed_downloader-view.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 www/epiphany/files/patch-embed_downloader-view.c diff --git a/www/epiphany/files/patch-embed_downloader-view.c b/www/epiphany/files/patch-embed_downloader-view.c new file mode 100644 index 000000000..d15de3c6a --- /dev/null +++ b/www/epiphany/files/patch-embed_downloader-view.c @@ -0,0 +1,20 @@ +--- embed/downloader-view.c.orig 2011-03-07 10:49:18.000000000 +0100 ++++ embed/downloader-view.c 2011-03-07 10:56:01.000000000 +0100 +@@ -337,7 +337,7 @@ show_notification (DownloaderView *dv, c + g_object_ref (dv); + + notification = notify_notification_new (title, msg, +- GTK_STOCK_INFO, NULL); ++ GTK_STOCK_INFO); + + g_signal_connect_after (notification, "closed", + G_CALLBACK (notification_closed_cb), dv); +@@ -346,8 +346,6 @@ show_notification (DownloaderView *dv, c + notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT); + notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW); + +- notify_notification_attach_to_status_icon (notification, status_icon); +- + /* There are some visual glitches when the notification is shown and + * the GtkStatusIcon is still not visible. To avoid that, we delay the + * popup a bit. */ -- cgit v1.2.3