[Xfce4-commits] [apps/xfce4-notifyd] 01/02: panel-plugin: Fix showing placeholder when there are no logs from today
noreply at xfce.org
noreply at xfce.org
Tue Feb 6 08:27:15 CET 2018
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 d1a2dfb69d10aafd1296e6676a6ee7d88c292dec
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Tue Feb 6 01:37:45 2018 +0100
panel-plugin: Fix showing placeholder when there are no logs from today
---
panel-plugin/notification-plugin-log.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/panel-plugin/notification-plugin-log.c b/panel-plugin/notification-plugin-log.c
index 5e7835d..d9d515f 100644
--- a/panel-plugin/notification-plugin-log.c
+++ b/panel-plugin/notification-plugin-log.c
@@ -185,8 +185,10 @@ notification_plugin_menu_populate (NotificationPlugin *notification_plugin)
/* optionally only show notifications from today */
if (log_only_today == TRUE)
- if (g_ascii_strncasecmp (timestamp, group, 10) != 0)
+ if (g_ascii_strncasecmp (timestamp, group, 10) != 0) {
+ no_notifications = TRUE;
continue;
+ }
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
mi = gtk_image_menu_item_new ();
G_GNUC_END_IGNORE_DEPRECATIONS
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list