public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Eduardo Silva <edsiper@gmail.com>
Cc: Roman Zippel <zippel@linux-m68k.org>,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] gconfig: enable rules hint for main treeviews
Date: Thu, 19 May 2011 09:13:09 -0700	[thread overview]
Message-ID: <20110519091309.ebeacbfb.randy.dunlap@oracle.com> (raw)
In-Reply-To: <1305808621.11775.3.camel@monotop>

On Thu, 19 May 2011 08:37:01 -0400 Eduardo Silva wrote:

> Due to the large amount of rows in the treeviews, is difficult to
> match columns with rows, setting the rules hint to 'true' allows the
> treeview to alternate background colors in the rows making the data
> more readable.
> 
> Signed-off-by: Eduardo Silva <edsiper@gmail.com>

Tested-by: Randy Dunlap <randy.dunlap@oracle.com>

Nice.  Thanks.


> ---
>  scripts/kconfig/gconf.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
> index 4558961..0c8db7d 100644
> --- a/scripts/kconfig/gconf.c
> +++ b/scripts/kconfig/gconf.c
> @@ -253,7 +253,7 @@ void init_left_tree(void)
>  
>  	gtk_tree_view_set_model(view, model1);
>  	gtk_tree_view_set_headers_visible(view, TRUE);
> -	gtk_tree_view_set_rules_hint(view, FALSE);
> +	gtk_tree_view_set_rules_hint(view, TRUE);
>  
>  	column = gtk_tree_view_column_new();
>  	gtk_tree_view_append_column(view, column);
> @@ -298,7 +298,7 @@ void init_right_tree(void)
>  
>  	gtk_tree_view_set_model(view, model2);
>  	gtk_tree_view_set_headers_visible(view, TRUE);
> -	gtk_tree_view_set_rules_hint(view, FALSE);
> +	gtk_tree_view_set_rules_hint(view, TRUE);
>  
>  	column = gtk_tree_view_column_new();
>  	gtk_tree_view_append_column(view, column);
> -- 

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

  reply	other threads:[~2011-05-19 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-19 12:37 [PATCH 1/2] gconfig: enable rules hint for main treeviews Eduardo Silva
2011-05-19 16:13 ` Randy Dunlap [this message]
2011-05-24 13:55   ` Michal Marek

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=20110519091309.ebeacbfb.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=edsiper@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox