From 1bd7686be50036b1fe9f827b01b936e4f8a437cc Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Mon, 18 Feb 2013 05:36:37 +0000 Subject: [PATCH] reintroduce fgcolor/bgcolor hints --- dunst_dbus.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dunst_dbus.c b/dunst_dbus.c index 9e3190e..169456e 100644 --- a/dunst_dbus.c +++ b/dunst_dbus.c @@ -164,6 +164,10 @@ static void onNotify(GDBusConnection *connection, case 6: dict_value = g_variant_lookup_value(content, "urgency", G_VARIANT_TYPE_BYTE); urgency = g_variant_get_byte(dict_value); + dict_value = g_variant_lookup_value(content, "fgcolor", G_VARIANT_TYPE_STRING); + fgcolor = g_variant_dup_string(dict_value, NULL); + dict_value = g_variant_lookup_value(content, "bgcolor", G_VARIANT_TYPE_STRING); + bgcolor = g_variant_dup_string(dict_value, NULL); break; case 7: timeout = g_variant_get_int32(content);