git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vietor Liu <vietor.liu@gmail.com>
To: spearce@spearce.org
Cc: git@vger.kernel.org, Vietor Liu <vietor.liu@gmail.com>
Subject: [PATCH] git-gui: add small screen compatibility
Date: Mon, 28 Sep 2009 10:38:52 +0800	[thread overview]
Message-ID: <1254105532-5342-1-git-send-email-vietor.liu@gmail.com> (raw)

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

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

                 reply	other threads:[~2009-09-28  2:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=1254105532-5342-1-git-send-email-vietor.liu@gmail.com \
    --to=vietor.liu@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=spearce@spearce.org \
    /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.
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 NNTP newsgroup(s).