threads / patch / 21076

patchgit-gui: add small screen compatibility

Subject: [PATCH] git-gui: add small screen compatibility

## tl;dr

One message between Sep 28, 2009 and Sep 28, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Vietor Liu· Sep 28, 2009, 02:38 UTC · lore

The Netbook screen likes 800*480 1024*600. The git-gui's display should be hide some buttons(ie 'Commit','Push') and 'Status bar'.

Signed-off-by: Vietor Liu <vietor.liu@gmail.com>
---
 git-gui/git-gui.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to git-gui/git-gui.sh +1 −1
diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
index 14b92ba..6af9db2 100755
--- a/git-gui/git-gui.sh
+++ b/git-gui/git-gui.sh
@@ -3054,7 +3054,7 @@ frame .vpane.lower.diff.body
 set ui_diff .vpane.lower.diff.body.t
 text $ui_diff -background white -foreground black \
 	-borderwidth 0 \
-	-width 80 -height 15 -wrap none \
+	-width 80 -height 0 -wrap none \
 	-font font_diff \
 	-xscrollcommand {.vpane.lower.diff.body.sbx set} \
 	-yscrollcommand {.vpane.lower.diff.body.sby set} \
-- 
1.6.5.rc2.dirty

← back to recent threads