linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / scripts / kconfig / gconf.c
index 7b0d3a9..665bd53 100644 (file)
@@ -114,6 +114,12 @@ const char *dbg_print_flags(int val)
 
        bzero(buf, 256);
 
+       if (val & SYMBOL_YES)
+               strcat(buf, "yes/");
+       if (val & SYMBOL_MOD)
+               strcat(buf, "mod/");
+       if (val & SYMBOL_NO)
+               strcat(buf, "no/");
        if (val & SYMBOL_CONST)
                strcat(buf, "const/");
        if (val & SYMBOL_CHECK)
@@ -132,6 +138,8 @@ const char *dbg_print_flags(int val)
                strcat(buf, "write/");
        if (val & SYMBOL_CHANGED)
                strcat(buf, "changed/");
+       if (val & SYMBOL_NEW)
+               strcat(buf, "new/");
        if (val & SYMBOL_AUTO)
                strcat(buf, "auto/");
 
@@ -1184,7 +1192,9 @@ static gchar **fill_row(struct menu *menu)
 
        row[COL_OPTION] =
            g_strdup_printf("%s %s", menu_get_prompt(menu),
-                           sym && sym_has_value(sym) ? "(NEW)" : "");
+                           sym ? (sym->
+                                  flags & SYMBOL_NEW ? "(NEW)" : "") :
+                           "");
 
        if (show_all && !menu_is_visible(menu))
                row[COL_COLOR] = g_strdup("DarkGray");