[gnome-user-share] obexpush: Add support for notifications filtering
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-share] obexpush: Add support for notifications filtering
- Date: Fri, 4 Jan 2013 14:24:22 +0000 (UTC)
commit dd1583eb61b84e696c510c324a99c666c6d2daa8
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jan 4 15:07:09 2013 +0100
obexpush: Add support for notifications filtering
https://bugzilla.gnome.org/show_bug.cgi?id=691046
data/gnome-user-share-properties.desktop.in | 2 +-
src/obexpush.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/gnome-user-share-properties.desktop.in b/data/gnome-user-share-properties.desktop.in
index d33da1d..375aa37 100644
--- a/data/gnome-user-share-properties.desktop.in
+++ b/data/gnome-user-share-properties.desktop.in
@@ -11,4 +11,4 @@ OnlyShowIn=GNOME;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-user-share
X-GNOME-Bugzilla-Component=general
-
+X-GNOME-UsesNotifications=true
diff --git a/src/obexpush.c b/src/obexpush.c
index a91c82e..5c77664 100644
--- a/src/obexpush.c
+++ b/src/obexpush.c
@@ -137,6 +137,7 @@ show_notification (const char *filename)
"dialog-information");
notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
+ notify_notification_set_hint_string (notification, "desktop-entry", "gnome-user-share-properties");
mime_type = g_content_type_guess (filename, NULL, 0, NULL);
app = g_app_info_get_default_for_type (mime_type, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]