@matheusbsbs / matheus-bagliano / commits / 8009dcdc8d
Fork 0

git-gui: Added Options... menu item to end of diff context menu.

Since the font name can only be chosen from within the options dialog giving the user fast access to this dialog from within a context menu that already talks about increasing and decreasing the font size may help users to locate the font name setting as well. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Shawn O. Pearce committed Nov 12, 2006 at 06:53 UTC 8009dcdc8d9bee0b5aab1f6e860a834ffbb0b08f
1 file changed +4 -1
git-gui
+4 -1
@@ -2068,7 +2068,7 @@ $ui_index tag conf in_diff -font font_uibold
2068 $ui_other tag conf in_diff -font font_uibold
2069
2070 # -- Diff and Commit Area
2071 -frame .vpane.lower -height 400 -width 400
2071 +frame .vpane.lower -height 300 -width 400
2072 frame .vpane.lower.commarea
2073 frame .vpane.lower.diff -relief sunken -borderwidth 1
2074 pack .vpane.lower.commarea -side top -fill x
@@ -2254,6 +2254,9 @@ $ui_diff.ctxm add command -label "Decrease Font Size" \
2254 $ui_diff.ctxm add command -label "Increase Font Size" \
2255 -font font_ui \
2256 -command {incr_font_size font_diff 1}
2257 +$ui_diff.ctxm add command -label {Options...} \
2258 + -font font_ui \
2259 + -command do_options
2260 bind_button3 $ui_diff "tk_popup $ui_diff.ctxm %X %Y"
2261
2262 # -- Status Bar