刘磊(V.L.)

刘磊(V.L.)的博客

他的个人主页  他的博客

针对于Git的第一个patch已经进入主

刘磊(V.L.)  2009年10月29日 星期四 08:33 | 1734次浏览 | 8条评论

主要是让git-gui能够在小的屏幕上,正常显示其“提交”与“推送”按钮。

主要是让git-gui能够在小的屏幕上,正常显示其“提交”与“推送”按钮。在Fedora12中,由于默认采用了比较小的gnome窗体,使原来的实现就能够显示那些按钮,咳。补丁的提交经过4次修正,主要是对英语描述的修正;-)。

commit acb9108c19e40b0477b8c828d1c5054665abbaf4
Author: Vietor Liu <vietor@vxwo.org>
Date:   Fri Oct 16 17:41:26 2009 +0800

    git-gui: adjust the minimum height of diff pane for shorter screen height
   
    When the main window is maximized, if the screen height is shorter (e.g.
    Netbook screen 1024x600), both the partial commit pane and the status bar
    are hidden. The diff pane is resizable, so that it can use less vertical
    height, allowing the overall window to be shorter and still display both
    the entire commit pane and status bar.
   
    Signed-off-by: Vietor Liu <vietor@vxwo.org>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

diff --git a/git-gui.sh b/git-gui.sh
index 09b2720..037a1f2 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -3083,7 +3083,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 5 -wrap none \
        -font font_diff \
        -xscrollcommand {.vpane.lower.diff.body.sbx set} \
        -yscrollcommand {.vpane.lower.diff.body.sby set} \

评论

我的评论:

发表评论

请 登录 后发表评论。还没有在Zeuux哲思注册吗?现在 注册 !
冯喜刚

回复 冯喜刚  2009年11月02日 星期一 10:20

cool!

0条回复

徐继哲

回复 徐继哲  2009年11月01日 星期日 22:41

不错,加油!

0条回复

Mr.Gui

回复 Mr.Gui  2009年11月01日 星期日 22:38

牛人,过来拜一下!

1条回复

刘群

回复 刘群  2009年10月29日 星期四 19:55

针对Git的补丁是不是直接由Linus审核啊?

1条回复

李迎辉

回复 李迎辉  2009年10月29日 星期四 08:55

不错。

1条回复

  • 刘磊(V.L.)

    回复 刘磊(V.L.)  2009年10月29日 星期四 08:58

    昨天又提交了一个修正编译警告的补丁,被别人更好的补丁给比下来了,呵呵。

    0条回复

暂时没有评论

Zeuux © 2024

京ICP备05028076号