From 95a2b74dc9a4b9de18b8e7e9c28c644bba876778 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 18 Mar 2011 13:35:40 +0100 Subject: Replace FILENAME_MESSAGE with FILENAME_REPORTED_TO. This fixes the problem with abrt-cli not showing unreported bugs and abrt-gui not showing "green lamp" for reported bugs. In general, it introduces a way to record reporting results, such as Bugzilla URL, in dump dir. In the future, this enables such functions as "check BZ status". Signed-off-by: Denys Vlasenko --- src/gui-gtk/abrt-gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui-gtk') diff --git a/src/gui-gtk/abrt-gtk.c b/src/gui-gtk/abrt-gtk.c index 45984683..4a921aa4 100644 --- a/src/gui-gtk/abrt-gtk.c +++ b/src/gui-gtk/abrt-gtk.c @@ -54,7 +54,7 @@ void add_directory_to_dirlist(const char *dirname) size_t time_len = strftime(time_buf, sizeof(time_buf)-1, "%c", ptm); time_buf[time_len] = '\0'; - char *msg = dd_load_text_ext(dd, FILENAME_MESSAGE, 0 + char *msg = dd_load_text_ext(dd, FILENAME_REPORTED_TO, 0 | DD_LOAD_TEXT_RETURN_NULL_ON_FAILURE | DD_FAIL_QUIETLY_ENOENT | DD_FAIL_QUIETLY_EACCES -- cgit