git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Pratyush Yadav <pratiy0100@gmail.com>
To: Marc Branchaud <marcnarc@xiplink.com>
Cc: Serg Tereshchenko <serg.partizan@gmail.com>,
	git@vger.kernel.org, Pratyush Yadav <me@yadavpratyush.com>
Subject: Re: git-gui: Why are the main panels no longer white?
Date: Fri, 30 Oct 2020 16:55:03 +0530	[thread overview]
Message-ID: <CA+X=3TLqbSAj9Tzq2MCjf=Ufx0RzNuriqho_3zT7ffbazQ5btw@mail.gmail.com> (raw)
In-Reply-To: <619dac64-106c-d6df-b121-ce6589b4af3a@xiplink.com>

[Using Gmail because my stupid email provider thinks this is spam.]

On 29/10/20 09:47AM, Marc Branchaud wrote:
> On 2020-10-29 7:44 a.m., Serg Tereshchenko wrote:
> > Hi Marc!
> >
> > What tcl-tk theme are you using? Autodetection supposed to fetch
> > color from TreeView background, and probably your theme using
> > that odd gray for TreeViews.
>
> Thanks for your reply!  It's been a long, long time since I've had to muck
> around with a .X* file...
>
> > To set your desired color for background, you can add
> >
> > *Text.Background: white
> >
> > to ~/.Xresources; and `xrdb -merge ~/.Xresources` to apply it.
> >
> > Or, try another theme. This one gives me white background.
> >
> > *TkTheme: clam
>
> Unfortunately none of those gives me white panels, although I do see other
> visual aspects change under different themes (also, `xrdb -query` shows that
> the *Text.Background setting has applied).
>
> However, saying
>     *background: white
> does the trick!
>
> To narrow the scope of that, I'm going with
>     git-gui*Text.Background: white

Your other option would be to disable theming completely by setting the
config `gui.usettk` to 0 (via git config). If you still see gray panels
with this option set to 0 I would consider that a bug.

> > To list available themes, run `wish`
> >
> > ::ttk::themes
>
> I have:
>     classic default clam alt
> "ttk::style theme use" says I'm using the "default" theme.
>
> Is there some way I can edit/view the theme definitions?

On my system the themes are located in /usr/lib/tk8.6/ttk/. So for
example, the theme clam can be found at
/usr/lib/tk8.6/ttk/clamTheme.tcl.

-- 
Regards,
Pratyush Yadav

      parent reply	other threads:[~2020-10-30 11:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28 21:15 git-gui: Why are the main panels no longer white? Marc Branchaud
2020-10-29 11:44 ` Serg Tereshchenko
2020-10-29 11:53   ` Serg Tereshchenko
2020-10-29 13:47   ` Marc Branchaud
2020-10-29 15:09     ` Reply Serg Tereshchenko
2020-10-29 20:41     ` git-gui: Why are the main panels no longer white? Serg Tereshchenko
2020-10-29 21:58       ` Marc Branchaud
2020-10-29 23:21         ` partizan
2020-10-29 23:28         ` Serg Tereshchenko
2020-10-30 13:58           ` Marc Branchaud
2020-10-30 15:24             ` serg.partizan
2020-10-30 11:25     ` Pratyush Yadav [this message]

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to='CA+X=3TLqbSAj9Tzq2MCjf=Ufx0RzNuriqho_3zT7ffbazQ5btw@mail.gmail.com' \
    --to=pratiy0100@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=marcnarc@xiplink.com \
    --cc=me@yadavpratyush.com \
    --cc=serg.partizan@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).