Skip to contentSkip to conversation

gitk: Swap positions of 'next' and 'prev' buttons in the 'Find' section.

PATCH New Johannes Sixt 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitk: Swap positions of 'next' and 'prev' buttons in the 'Find' section.

The button order 'prev' left of 'next' feels more natural than the other way round, in particular, compared to the order of the forward and backward arrows that are in the line above.

---
 gitk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
gitk +1 -1
index 01a8541..727f4a0 100755
@@ -767,7 +767,7 @@ proc makewindow {} {
     button .tf.lbar.fnext -text "next" -command {dofind 1 1} -font uifont
     button .tf.lbar.fprev -text "prev" -command {dofind -1 1} -font uifont
     label .tf.lbar.flab2 -text " commit " -font uifont
-    pack .tf.lbar.flabel .tf.lbar.fnext .tf.lbar.fprev .tf.lbar.flab2 \
+    pack .tf.lbar.flabel .tf.lbar.fprev .tf.lbar.fnext .tf.lbar.flab2 \
 	-side left -fill y
     set gdttype "containing:"
     set gm [tk_optionMenu .tf.lbar.gdttype gdttype \
Signature · 1 line
1.5.3.5.1298.g228d6-dirty