Re: [PATCH] git-gui: use themed tk widgets with Tk 8.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pat Thoyts schrieb:
> This patch enables the use of themed Tk widgets with Tk 8.5 and above.

With this patch, the sizes of the file lists are not restored correctly
anymore. The upper list (unstage files) always appears in the "native"
size. A fix for this would be appreciated.

However!

It has always been the case that the (restored) height and width of the
list of unstaged files could not be larger than the "original" window size
(i.e., the size before the stored geometry is applied).

Appearently, the pane widgets restrict its sash sizes to their total size,
and the total window geometry was applied only after sash sizes were set.

As a work-around for this problem I have modified git-gui to start up with
a much larger list of unstaged files (400x600 or so) so that the initial
"original" size is also much larger, and then the restored size can be
anything smaller than [this size plus the size of the widgets around it].
This work-around does not work anymore. The list of unstaged files always
opens with the same (tiny) size. .git/config contains this after exiting
git-gui:

[gui]
        geometry = 1183x906+88+32 184 204
        wmstate = normal

The sash sizes are stored correctly in .git/config, but are not restored.
Perhaps you have an idea to fix this?

(I'm on Windows, btw.)

-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]