summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 17:58:59 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 17:58:59 +0800
commitc90d78a143854d2dafb574fbe0d7302505544ebe (patch)
treede619902e2573baf6335ec83611b65f8c29da0ca
parent693984d6f4bdaf6efe8f6e4c893538212859a58f (diff)
downloadmarcuscom-ports-c90d78a143854d2dafb574fbe0d7302505544ebe.tar
marcuscom-ports-c90d78a143854d2dafb574fbe0d7302505544ebe.tar.gz
marcuscom-ports-c90d78a143854d2dafb574fbe0d7302505544ebe.tar.bz2
marcuscom-ports-c90d78a143854d2dafb574fbe0d7302505544ebe.tar.lz
marcuscom-ports-c90d78a143854d2dafb574fbe0d7302505544ebe.tar.xz
marcuscom-ports-c90d78a143854d2dafb574fbe0d7302505544ebe.tar.zst
marcuscom-ports-c90d78a143854d2dafb574fbe0d7302505544ebe.zip
Fix with libnotify api.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15379 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--www/epiphany/files/patch-embed_downloader-view.c20
1 files changed, 20 insertions, 0 deletions
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. */