[goobox] attach the notification to the status icon
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [goobox] attach the notification to the status icon
- Date: Sat, 14 Nov 2009 12:22:03 +0000 (UTC)
commit 5172e6b1c851b5465655a8079f803c5c23b380e2
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Nov 14 13:18:50 2009 +0100
attach the notification to the status icon
src/main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index a177694..ac67674 100644
--- a/src/main.c
+++ b/src/main.c
@@ -439,6 +439,7 @@ int main (int argc, char **argv)
if (! notify_init ("goobox"))
g_warning ("Cannot initialize notification system.");
#endif /* ENABLE_NOTIFICATION */
+
goo_session_manager_init ();
prepare_application ();
@@ -593,7 +594,7 @@ system_notify (GooWindow *window,
g_list_free (caps);
}
- notification = notify_notification_new (title, msg, "goobox", NULL);
+ notification = notify_notification_new_with_status_icon (title, msg, "goobox", status_icon);
notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
if (supports_actions) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]