diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-06-10 13:57:33 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-06-10 13:57:33 +0200 |
commit | 1a396978d78cb66f3c228d2ef7909cb8f3ecd9e6 (patch) | |
tree | 13628af4a37630275ef9fd7da61cba9bf163d38e /libreport/src/gui-wizard-gtk/wizard.c | |
parent | 49a50952fb29fbaf544f8e947218fe16a479a0be (diff) | |
download | abrt-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.c | 4 |
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 |