From 1426057133200a2671c156a67463c1158aba8045 Mon Sep 17 00:00:00 2001 From: step- Date: Sat, 1 Jul 2023 20:55:05 +0200 Subject: [PATCH] formatting and document known bug --- feature-comparison.md | 4 ++++ src/notification.c | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/feature-comparison.md b/feature-comparison.md index b7877d5..621f0e3 100644 --- a/feature-comparison.md +++ b/feature-comparison.md @@ -40,6 +40,10 @@ Several bugs that affected the parent project when it was forked have been fixed * unpredictably, notebook tabs are too small [0.42.43] * form button syntax [0.42.75] +## Known bugs + +* (GTK+-2 build only) If the main icon of the notification dialog is a named icon, it does not scale automatically, therefore it looks larger than other icons in the tray. This bug has existed since at least version 0.40.0. It can only be noticed on some notification trays that do not themselves resize the icons they display. + ## Frozen or untested features * HTML dialog widget - As Fatdog64 Linux no longer packages the Webkit engine, I do not make an effort to maintain or even compile yadL's HTML dialog widget. diff --git a/src/notification.c b/src/notification.c index 0b73055..3ae44e8 100644 --- a/src/notification.c +++ b/src/notification.c @@ -321,9 +321,13 @@ handle_stdin (GIOChannel * channel, GIOCondition condition, gpointer data) { gchar *message = g_strcompress (value); if (!options.data.no_markup) - UNDEPR (gtk_status_icon_set_tooltip_markup, status_icon, message) /*;*/ + { + UNDEPR (gtk_status_icon_set_tooltip_markup, status_icon, message); + } else - UNDEPR (gtk_status_icon_set_tooltip_text, status_icon, message); + { + UNDEPR (gtk_status_icon_set_tooltip_text, status_icon, message); + } g_free (message); } else