GNOME Bugzilla – Bug 613999
Use g_strcompress in notify-send to parse \n from command line
Last modified: 2010-04-03 00:22:32 UTC
Created attachment 157151 [details] [review] Replace escape characters with g_strcompress in body It would be cool to allow using \n like characters from the command line with the tool notify-send. Currently it simply displays \n characters, and one has to recover to a sub-command with echo like following: notify-send summary "`echo -e 'Hello\nWorld\n'`" The attached patch makes a call to g_strcompress to replace all escaped characters.
Seems useful. Pushed a similar patch to master. You need to free the result of g_strcompress. Thanks.