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)
This commit is contained in:
Owen Taylor 2001-12-06 23:32:48 +00:00 committed by Owen Taylor
parent e8aef16911
commit 49587ba050
8 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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>
* gtk/gtklabel.c: Fix docs. (#66383)

View File

@ -1,3 +1,9 @@
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>
* gtk/gtklabel.c: Fix docs. (#66383)

View File

@ -1,3 +1,9 @@
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>
* gtk/gtklabel.c: Fix docs. (#66383)

View File

@ -1,3 +1,9 @@
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>
* gtk/gtklabel.c: Fix docs. (#66383)

View File

@ -1,3 +1,9 @@
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>
* gtk/gtklabel.c: Fix docs. (#66383)

View File

@ -1,3 +1,9 @@
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>
* gtk/gtklabel.c: Fix docs. (#66383)

View File

@ -1,3 +1,9 @@
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>
* gtk/gtklabel.c: Fix docs. (#66383)

View File

@ -1054,12 +1054,12 @@ range_get_scroll_for_grab (GtkRange *range)
if (range->trough_click_forward)
{
return range->layout->grab_button == 3
? GTK_SCROLL_PAGE_FORWARD : GTK_SCROLL_STEP_FORWARD;
? GTK_SCROLL_STEP_FORWARD : GTK_SCROLL_PAGE_FORWARD;
}
else
{
return range->layout->grab_button == 3
? GTK_SCROLL_PAGE_BACKWARD : GTK_SCROLL_STEP_BACKWARD;
? GTK_SCROLL_STEP_BACKWARD : GTK_SCROLL_PAGE_BACKWARD;
}
}
break;