[notification-daemon] daemon: fix copy & paste error



commit 15c1b2c30a8692075a10d32cb0a7d4b2f5d5e36e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Sep 17 18:52:33 2015 +0300

    daemon: fix copy & paste error

 src/nd-daemon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nd-daemon.c b/src/nd-daemon.c
index 041fce4..943e48a 100644
--- a/src/nd-daemon.c
+++ b/src/nd-daemon.c
@@ -189,8 +189,8 @@ handle_notify_cb (NdFdNotifications     *object,
 
   if (nd_queue_length (daemon->queue) > MAX_NOTIFICATIONS)
     {
-      error_name = "org.freedesktop.Notifications.InvalidId";
-      error_message = _("Invalid notification identifier");
+      error_name = "org.freedesktop.Notifications.MaxNotificationsExceeded";
+      error_message = _("Exceeded maximum number of notifications");
 
       g_dbus_method_invocation_return_dbus_error (invocation, error_name,
                                                   error_message);


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