[goobox] notifications: use a single id



commit a1a666dd90439337d9efb4523e4d7e80e8375613
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Dec 29 15:44:32 2018 +0100

    notifications: use a single id
    
    This way only the latest notification is shown.

 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/main.c b/src/main.c
index 83baa68..d5c9601 100644
--- a/src/main.c
+++ b/src/main.c
@@ -170,7 +170,7 @@ system_notify (GooWindow       *window,
 
        /* send */
 
-       g_application_send_notification (G_APPLICATION (gtk_window_get_application (GTK_WINDOW (window))), 
id, notification);
+       g_application_send_notification (G_APPLICATION (gtk_window_get_application (GTK_WINDOW (window))), 
"cd-info", notification);
 
        g_object_unref (notification);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]