From patchwork Thu May 19 12:37:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Silva X-Patchwork-Id: 797482 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4JCb7b9016579 for ; Thu, 19 May 2011 12:37:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932433Ab1ESMhG (ORCPT ); Thu, 19 May 2011 08:37:06 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:54721 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932401Ab1ESMhF (ORCPT ); Thu, 19 May 2011 08:37:05 -0400 Received: by pwi15 with SMTP id 15so1207282pwi.19 for ; Thu, 19 May 2011 05:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=HmCsT+o05rTkQJCfStUTCEbVaJ/YZ5cs/3x1pT1PPJ0=; b=IS0SztGB0R0Oin4kmgJcM8jFEtZYxzToPB612zhtc9vA47MmNWUPP3q7xD4MNVBRTP xta5oJ1G/0tJQA0ehjVpbHlOEJky1Wkn4MTWQxATDcB2P2i/ufa4RPCURY0Of5ajNscA kza0vwLnQ3qtgoNqB/XzwVD3Bhq9z9vZZ/GSg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=vQ0W9iJwstdq1ChuJUgtdylFKY2a027QtAKkbhARZakBXRtWARi+8gPsIqGmQgTn2q 4NhhbBGhBQNM5rJG/0DL9DTjm9aOax3NBNpLAXWxIhzE1QNJ1CODkBORNKT87mfy+MMb lnJxeEQcZQc4aS8ltrNBCnqjiYBdIbX4rQu5Y= Received: by 10.68.31.197 with SMTP id c5mr4840070pbi.247.1305808624527; Thu, 19 May 2011 05:37:04 -0700 (PDT) Received: from [10.20.0.102] (pc-200-3-214-201.cm.vtr.net [201.214.3.200]) by mx.google.com with ESMTPS id t9sm1731258pbo.3.2011.05.19.05.37.02 (version=SSLv3 cipher=OTHER); Thu, 19 May 2011 05:37:03 -0700 (PDT) Subject: [PATCH 1/2] gconfig: enable rules hint for main treeviews From: Eduardo Silva To: Roman Zippel Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 19 May 2011 08:37:01 -0400 Message-ID: <1305808621.11775.3.camel@monotop> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 19 May 2011 12:37:07 +0000 (UTC) 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 --- 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);