Skip to content

Commit 5dddd83

Browse files
authored
Merge pull request #58 from ikz87/master
Add icon to json output
2 parents 454c412 + 5d79c95 commit 5dddd83

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tiramisu.vala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ public class Tiramisu : Application {
22
public static string format = "#source\n#icon\n#id\n#summary\n" +
33
"#body\n#actions\n#hints\n#timeout";
44
public static string json_format = "{\"source\": \"#source\", " +
5-
"\"id\": #id, \"summary\": \"#summary\", \"body\": \"#body\", " +
6-
"\"actions\": \"#actions\", \"hints\": #hints, \"timeout\": #timeout}";
5+
"\"id\": #id, \"summary\": \"#summary\", \"body\": \"#body\", " +
6+
"\"icon\": \"#icon\", \"actions\": \"#actions\", \"hints\": #hints, " +
7+
"\"timeout\": #timeout}";
78

89
public static bool sanitize = false;
910
public static bool json = false;

0 commit comments

Comments
 (0)