All of lore.kernel.org
 help / color / mirror / Atom feed
From: "matteo_cortese@fastwebnet.it" <matteo_cortese@fastwebnet.it>
To: linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] make gconfig: fix the "(NEW)" string
Date: Fri, 4 Dec 2009 19:38:24 +0100 (CET)	[thread overview]
Message-ID: <23753252.369201259951904278.JavaMail.defaultUser@defaultHost> (raw)

The string "(NEW)" is added to those options that are not present in the
 current config file, thus looking as new features. Alas, the logic seem
s to be inverted.
 

Signed-off-by: Matteo Cortese <matteo_cortese@fastwebnet.it>
------

diff -u linux-source-2.6.26-old/scripts/kconfig/gconf.c linux-source-2.6
.26/scripts/kconfig/gconf.c
--- linux-source-2.6.26-old/scripts/kconfig/gconf.c	2008-07-13 21:51:29.
000000000 +0000
+++ linux-source-2.6.26/scripts/kconfig/gconf.c	2009-01-03 00:52:57.0000
00000 +0000
@@ -1174,7 +1174,7 @@
 
 	row[COL_OPTION] =
 	    g_strdup_printf("%s %s", _(menu_get_prompt(menu)),
-			    sym && sym_has_value(sym) ? "(NEW)" : "");
+			    sym && !sym_has_value(sym) ? "(NEW)" : "");
 
 	if (show_all && !menu_is_visible(menu))
 		row[COL_COLOR] = g_strdup("DarkGray");


             reply	other threads:[~2009-12-04 18:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-04 18:38 matteo_cortese [this message]
2009-12-04 19:02 ` [PATCH] make gconfig: fix the "(NEW)" string Randy Dunlap
2009-12-09  1:40   ` Matteo Cortese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23753252.369201259951904278.JavaMail.defaultUser@defaultHost \
    --to=matteo_cortese@fastwebnet.it \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.