Commit 49587ba0 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Make button 1 clicks on the trough do pages, button 3 steps. (Patch from

Thu Dec  6 16:50:17 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.c: Make button 1 clicks on the trough
	do pages, button 3 steps. (Patch from Hans Breuer
	#63735)
parent e8aef169
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
do pages, button 3 steps. (Patch from Hans Breuer
#63735)
2001-12-06 Matthias Clasen <matthiasc@poet.de> 2001-12-06 Matthias Clasen <matthiasc@poet.de>
* gtk/gtklabel.c: Fix docs. (#66383) * gtk/gtklabel.c: Fix docs. (#66383)
......
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
do pages, button 3 steps. (Patch from Hans Breuer
#63735)
2001-12-06 Matthias Clasen <matthiasc@poet.de> 2001-12-06 Matthias Clasen <matthiasc@poet.de>
* gtk/gtklabel.c: Fix docs. (#66383) * gtk/gtklabel.c: Fix docs. (#66383)
......
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
do pages, button 3 steps. (Patch from Hans Breuer
#63735)
2001-12-06 Matthias Clasen <matthiasc@poet.de> 2001-12-06 Matthias Clasen <matthiasc@poet.de>
* gtk/gtklabel.c: Fix docs. (#66383) * gtk/gtklabel.c: Fix docs. (#66383)
......
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
do pages, button 3 steps. (Patch from Hans Breuer
#63735)
2001-12-06 Matthias Clasen <matthiasc@poet.de> 2001-12-06 Matthias Clasen <matthiasc@poet.de>
* gtk/gtklabel.c: Fix docs. (#66383) * gtk/gtklabel.c: Fix docs. (#66383)
......
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
do pages, button 3 steps. (Patch from Hans Breuer
#63735)
2001-12-06 Matthias Clasen <matthiasc@poet.de> 2001-12-06 Matthias Clasen <matthiasc@poet.de>
* gtk/gtklabel.c: Fix docs. (#66383) * gtk/gtklabel.c: Fix docs. (#66383)
......
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
do pages, button 3 steps. (Patch from Hans Breuer
#63735)
2001-12-06 Matthias Clasen <matthiasc@poet.de> 2001-12-06 Matthias Clasen <matthiasc@poet.de>
* gtk/gtklabel.c: Fix docs. (#66383) * gtk/gtklabel.c: Fix docs. (#66383)
......
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
do pages, button 3 steps. (Patch from Hans Breuer
#63735)
2001-12-06 Matthias Clasen <matthiasc@poet.de> 2001-12-06 Matthias Clasen <matthiasc@poet.de>
* gtk/gtklabel.c: Fix docs. (#66383) * gtk/gtklabel.c: Fix docs. (#66383)
......
...@@ -1054,12 +1054,12 @@ range_get_scroll_for_grab (GtkRange *range) ...@@ -1054,12 +1054,12 @@ range_get_scroll_for_grab (GtkRange *range)
if (range->trough_click_forward) if (range->trough_click_forward)
{ {
return range->layout->grab_button == 3 return range->layout->grab_button == 3
? GTK_SCROLL_PAGE_FORWARD : GTK_SCROLL_STEP_FORWARD; ? GTK_SCROLL_STEP_FORWARD : GTK_SCROLL_PAGE_FORWARD;
} }
else else
{ {
return range->layout->grab_button == 3 return range->layout->grab_button == 3
? GTK_SCROLL_PAGE_BACKWARD : GTK_SCROLL_STEP_BACKWARD; ? GTK_SCROLL_STEP_BACKWARD : GTK_SCROLL_PAGE_BACKWARD;
} }
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment