[gnome-user-share] Don't use libnotify's status icon API
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-share] Don't use libnotify's status icon API
- Date: Tue, 30 Nov 2010 17:28:53 +0000 (UTC)
commit 6ee59fd6def16368bb4f8ffdcd86595f5e607e74
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Nov 30 18:18:37 2010 +0100
Don't use libnotify's status icon API
src/obexpush.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/obexpush.c b/src/obexpush.c
index 5889719..eb46414 100644
--- a/src/obexpush.c
+++ b/src/obexpush.c
@@ -139,10 +139,9 @@ show_notification (const char *filename)
/* Translators: %s is the name of the filename received */
notification_text = g_strdup_printf(_("You received \"%s\" via Bluetooth"), display);
g_free (display);
- notification = notify_notification_new_with_status_icon (_("You received a file"),
+ notification = notify_notification_new (_("You received a file"),
notification_text,
- "dialog-information",
- GTK_STATUS_ICON (statusicon));
+ "dialog-information");
notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]