git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-gui: Make usettk off by default on Mac OS X

From
Stefan Haller <stefan@haller-berlin.de>
Date
Oct 13, 2020, 19:02 UTC
Message-ID
<20201013190243.62313-1-stefan@haller-berlin.de>

This option is supposed to make a Tcl/Tk app look more like a native app for the respective platform. This doesn't seem to work on Mac, it looks worse than the non-ttk appearance (for instance, the colored pane headers are grey).

Users who really prefer the ttk look can still turn it on with the gui.usettk config.

Signed-off-by: Stefan Haller <stefan@haller-berlin.de>
---
 git-gui.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-gui.sh b/git-gui.sh
index 867b8ce..f7e13ca 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -897,7 +897,7 @@ set default_config(gui.fontui) [font configure font_ui]
 set default_config(gui.fontdiff) [font configure font_diff]
 # TODO: this option should be added to the git-config documentation
 set default_config(gui.maxfilesdisplayed) 5000
-set default_config(gui.usettk) 1
+set default_config(gui.usettk) [expr ![is_MacOSX]]
 set default_config(gui.warndetachedcommit) 1
 set default_config(gui.tabsize) 8
 set font_descs {
-- 
2.29.0.rc1
Next: Stefan Haller
Message 1 of 4 in “git-gui: Make usettk off by default on Mac OS X”
  1. git-gui: Make usettk off by default on Mac OS XStefan Haller, Oct 13, 2020
  2. Stefan HallerOct 13, 2020
  3. Pratyush YadavOct 14, 2020
  4. Stefan HallerOct 14, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.