mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Eric Huber via GitGitGadget" <>
Cc: Paul Mackerras <>,
	Junio C Hamano <>,
	Eric Huber <>
Subject: [PATCH 1/1] gitk: Preserve window dimensions on exit when not using ttk themes
Date: Tue, 15 Oct 2019 00:13:16 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

From: Eric Huber <>

Bug was: gitk would overwrite the botwidth setting in .gitk with
a nonsense value when not using tk themes. I'm not sure if this
is the right fix or not but it seems to work. Moving the affected
line within the conditional results in the expected behavior.

Signed-off-by: Eric Huber <>
 gitk-git/gitk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gitk-git/gitk b/gitk-git/gitk
index abe4805ade..4846f2a983 100755
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -2526,9 +2526,9 @@ proc makewindow {} {
             bind %W <Map> {}
             %W sashpos 0 $::geometry(botwidth)
+	bind .pwbottom <Configure> {resizecdetpanes %W %w}
-    bind .pwbottom <Configure> {resizecdetpanes %W %w}
     pack .ctop -fill both -expand 1
     bindall <1> {selcanvline %W %x %y}
     #bindall <B1-Motion> {selcanvline %W %x %y}

  reply	other threads:[~2019-10-15  0:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15  0:13 [PATCH 0/1] gitk: Preserve window dimensions on exit when not using ttk themes Eric Huber via GitGitGadget
2019-10-15  0:13 ` Eric Huber via GitGitGadget [this message]
2019-12-15  5:33   ` [PATCH 1/1] " Paul Mackerras

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:

  List information:

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

  git send-email \ \ \ \ \ \ \

* 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

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).