summaryrefslogtreecommitdiffstats
path: root/libreport/src/gui-wizard-gtk/wizard.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-06-10 13:57:33 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-06-10 13:57:33 +0200
commit1a396978d78cb66f3c228d2ef7909cb8f3ecd9e6 (patch)
tree13628af4a37630275ef9fd7da61cba9bf163d38e /libreport/src/gui-wizard-gtk/wizard.c
parent49a50952fb29fbaf544f8e947218fe16a479a0be (diff)
downloadabrt-1a396978d78cb66f3c228d2ef7909cb8f3ecd9e6.tar.gz
abrt-1a396978d78cb66f3c228d2ef7909cb8f3ecd9e6.tar.xz
abrt-1a396978d78cb66f3c228d2ef7909cb8f3ecd9e6.zip
add element seletors to .xml files; fix a few places where we expect package data
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'libreport/src/gui-wizard-gtk/wizard.c')
-rw-r--r--libreport/src/gui-wizard-gtk/wizard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libreport/src/gui-wizard-gtk/wizard.c b/libreport/src/gui-wizard-gtk/wizard.c
index 430c8a93..d7164d6d 100644
--- a/libreport/src/gui-wizard-gtk/wizard.c
+++ b/libreport/src/gui-wizard-gtk/wizard.c
@@ -1170,9 +1170,9 @@ static void check_bt_rating_and_allow_send(void)
* but so far only oopses don't have rating, so for now we
* skip the "kernel" manually
*/
- const char *component = get_problem_item_content_or_NULL(g_cd, FILENAME_COMPONENT);
+ const char *analyzer = get_problem_item_content_or_NULL(g_cd, FILENAME_ANALYZER);
//FIXME: say "no" to special casing!
- if (strcmp(component, "kernel") != 0)
+ if (analyzer && strcmp(analyzer, "Kerneloops") != 0)
{
const char *rating = get_problem_item_content_or_NULL(g_cd, FILENAME_RATING);
//COMPAT, remove after 2.1 release