Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933429Ab1ESQN1 (ORCPT ); Thu, 19 May 2011 12:13:27 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:16825 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932772Ab1ESQNZ (ORCPT ); Thu, 19 May 2011 12:13:25 -0400 Date: Thu, 19 May 2011 09:13:09 -0700 From: Randy Dunlap To: Eduardo Silva Cc: Roman Zippel , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] gconfig: enable rules hint for main treeviews Message-Id: <20110519091309.ebeacbfb.randy.dunlap@oracle.com> In-Reply-To: <1305808621.11775.3.camel@monotop> References: <1305808621.11775.3.camel@monotop> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4DD541A1.0096:SCFMA922111,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1670 Lines: 50 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 Tested-by: Randy Dunlap 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 *** -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/