dbus: Add a hint for changing the highlight color
This commit is contained in:
		
							parent
							
								
									b77f76f02e
								
							
						
					
					
						commit
						702abc7a03
					
				| @ -386,6 +386,11 @@ static struct notification *dbus_message_to_notification(const gchar *sender, GV | |||||||
|                 g_variant_unref(dict_value); |                 g_variant_unref(dict_value); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |         if ((dict_value = g_variant_lookup_value(hints, "hlcolor", G_VARIANT_TYPE_STRING))) { | ||||||
|  |                 n->colors.highlight = g_variant_dup_string(dict_value, NULL); | ||||||
|  |                 g_variant_unref(dict_value); | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|         if ((dict_value = g_variant_lookup_value(hints, "category", G_VARIANT_TYPE_STRING))) { |         if ((dict_value = g_variant_lookup_value(hints, "category", G_VARIANT_TYPE_STRING))) { | ||||||
|                 n->category = g_variant_dup_string(dict_value, NULL); |                 n->category = g_variant_dup_string(dict_value, NULL); | ||||||
|                 g_variant_unref(dict_value); |                 g_variant_unref(dict_value); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 fwsmit
						fwsmit