aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNuno Araujo <nuno.araujo@russo79.com>2013-02-11 22:00:05 +0800
committerXan Lopez <xan@igalia.com>2013-02-14 21:51:36 +0800
commitd3cf3f551911c51f6bd488cdbf49bfa8d1dcdfe8 (patch)
tree18cc3000d097124b48e42ad20116b9eedc8e31b8 /src
parent238e2ec8a279c5f58e80a198fcfd315aa0a8dbb1 (diff)
downloadgsoc2013-epiphany-d3cf3f551911c51f6bd488cdbf49bfa8d1dcdfe8.tar.gz
gsoc2013-epiphany-d3cf3f551911c51f6bd488cdbf49bfa8d1dcdfe8.tar.zst
gsoc2013-epiphany-d3cf3f551911c51f6bd488cdbf49bfa8d1dcdfe8.zip
support notification filtering
This gives gnome-shell a change to apply notification filtering on this app. https://bugzilla.gnome.org/show_bug.cgi?id=690996
Diffstat (limited to 'src')
-rw-r--r--src/window-commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 7da534e7b..7356b83fd 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -844,6 +844,7 @@ dialog_save_as_application_response_cb (GtkDialog *dialog,
notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
+ notify_notification_set_hint (notification, "desktop-entry", g_variant_new_string ("epiphany"));
notify_notification_set_hint (notification, "transient", g_variant_new_boolean (TRUE));
notify_notification_show (notification, NULL);
}