Blame SOURCES/0141-cli-get-list-of-possible-workflows-for-problem_data_.patch

a60cd7
From f2055f8c6469b590172d94e9ea530243af89f028 Mon Sep 17 00:00:00 2001
a60cd7
From: Jakub Filak <jfilak@redhat.com>
a60cd7
Date: Thu, 2 Jul 2015 15:26:29 +0200
a60cd7
Subject: [PATCH] cli: get list of possible workflows for problem_data_t
a60cd7
a60cd7
File system access is not possible, so we have to rely on the data
a60cd7
transfered via D-Bus.
a60cd7
a60cd7
Related: #1224984
a60cd7
a60cd7
Signed-off-by: Jakub Filak <jfilak@redhat.com>
a60cd7
---
a60cd7
 src/cli/list.c | 2 +-
a60cd7
 1 file changed, 1 insertion(+), 1 deletion(-)
a60cd7
a60cd7
diff --git a/src/cli/list.c b/src/cli/list.c
a60cd7
index b3b9066..483e9de 100644
a60cd7
--- a/src/cli/list.c
a60cd7
+++ b/src/cli/list.c
a60cd7
@@ -97,7 +97,7 @@ static void print_crash(problem_data_t *problem_data, int detailed, int text_siz
a60cd7
              * libreport and try to improve libreport public API.
a60cd7
              */
a60cd7
             const char *const dump_dir_name = problem_data_get_content_or_NULL(problem_data, CD_DUMPDIR);
a60cd7
-            GList *const wf_names = list_possible_events_glist(dump_dir_name, "workflow");
a60cd7
+            GList *const wf_names = list_possible_events_problem_data_glist(problem_data, dump_dir_name, "workflow");
a60cd7
             GHashTable *const possible_workflows = load_workflow_config_data_from_list(wf_names, WORKFLOWS_DIR);
a60cd7
             g_list_free_full(wf_names, free);
a60cd7
 
a60cd7
-- 
a60cd7
2.4.3
a60cd7