[Xfce4-commits] [apps/xfce4-notifyd] 03/03: panel-plugin: Make sure a single log entry is shown too

noreply at xfce.org noreply at xfce.org
Thu Nov 30 01:04:24 CET 2017


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-notifyd.

commit cd03c0baab977b0eab2a17095417e02c281e921c
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu Nov 30 01:03:59 2017 +0100

    panel-plugin: Make sure a single log entry is shown too
---
 panel-plugin/notification-plugin-log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/notification-plugin-log.c b/panel-plugin/notification-plugin-log.c
index 0f50403..488622a 100644
--- a/panel-plugin/notification-plugin-log.c
+++ b/panel-plugin/notification-plugin-log.c
@@ -141,7 +141,7 @@ notification_plugin_menu_populate (NotificationPlugin *notification_plugin)
       log_length = 0;
 
     /* Notifications are only shown until LOG_DISPLAY_LIMIT is hit */
-    for (i = numberof_groups; i > log_length; i--) {
+    for (i = numberof_groups; i >= log_length; i--) {
       GtkWidget *grid;
       GtkWidget *summary, *body, *app_icon, *expire_timeout;
       const gchar *group = groups[i];

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list