[Xfce4-commits] [apps/xfce4-volumed-pulse] 04/62: ... really fixing that error in xvd_notify

noreply at xfce.org noreply at xfce.org
Thu Sep 8 10:32:26 CEST 2016


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

ochosi pushed a commit to branch master
in repository apps/xfce4-volumed-pulse.

commit 5dcee1ca38c3f512779baefcf8138d1397ea9787
Author: Steve Dodier <sidnioulz at gmail.com>
Date:   Thu Sep 3 12:44:51 2009 +0200

    ... really fixing that error in xvd_notify
---
 src/xvd_notify.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/xvd_notify.c b/src/xvd_notify.c
index f47f1ea..63846c4 100644
--- a/src/xvd_notify.c
+++ b/src/xvd_notify.c
@@ -31,24 +31,24 @@ xvd_notify_notification(XvdInstance *Inst,
 {
 	if (Inst->notifyosd) {
 		NotifyNotification* notification	= NULL;
-		gchar* body							= NULL;
+		gchar* title						= NULL;
 		
 		if ((icon != NULL) && (g_strcmp0(icon, "notification-audio-volume-muted") == 0)) {
 			// TRANSLATORS: this is the body of the ATK interface of the volume notifications. Just before this, there is the 'Volume' word (as a notification title). If it would look too weird in your locale, translate this string as 'The volume is muted' instead.
-			body = g_strdup ("is muted");
+			title = g_strdup ("Volume is muted");
 		}
 		else {
 			// TRANSLATORS: %d is the volume displayed as a percent, and %c is replaced by '%'. If it doesn't fit in your locale feel free to file a bug.
-			body = g_strdup_printf ("is at %d%c", value, '%');
+			title = g_strdup_printf ("Volume is at %d%c", value, '%');
 		}
 		
 		notification = notify_notification_new (
-					"Volume",
-					body,
+					title,
+					NULL,
 					icon,
 					NULL);
 		
-		g_free (body);
+		g_free (title);
 		
 		notify_notification_set_hint_int32 (notification,
 							"value",

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


More information about the Xfce4-commits mailing list