From ff16981dd67af3fb2289eadd8fdfc80edcebebef Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 27 Feb 2002 00:41:10 +0000 Subject: [PATCH] Switch control-home/end and home/end with the idea that scrolled windows Tue Feb 26 19:38:14 2002 Owen Taylor * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): Switch control-home/end and home/end with the idea that scrolled windows more typically contain vertical sets of controls and to correspond to the bindings in GtkTreeView. --- ChangeLog | 8 ++++++++ ChangeLog.pre-2-0 | 8 ++++++++ ChangeLog.pre-2-10 | 8 ++++++++ ChangeLog.pre-2-2 | 8 ++++++++ ChangeLog.pre-2-4 | 8 ++++++++ ChangeLog.pre-2-6 | 8 ++++++++ ChangeLog.pre-2-8 | 8 ++++++++ gtk/gtkscrolledwindow.c | 8 ++++---- 8 files changed, 60 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 27bce648be..928af9dd1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Tue Feb 26 19:38:14 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): + Switch control-home/end and home/end with + the idea that scrolled windows more typically contain + vertical sets of controls and to correspond to the bindings + in GtkTreeView. + Tue Feb 26 19:32:42 2002 Owen Taylor * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 27bce648be..928af9dd1b 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,11 @@ +Tue Feb 26 19:38:14 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): + Switch control-home/end and home/end with + the idea that scrolled windows more typically contain + vertical sets of controls and to correspond to the bindings + in GtkTreeView. + Tue Feb 26 19:32:42 2002 Owen Taylor * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 27bce648be..928af9dd1b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,11 @@ +Tue Feb 26 19:38:14 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): + Switch control-home/end and home/end with + the idea that scrolled windows more typically contain + vertical sets of controls and to correspond to the bindings + in GtkTreeView. + Tue Feb 26 19:32:42 2002 Owen Taylor * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 27bce648be..928af9dd1b 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,11 @@ +Tue Feb 26 19:38:14 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): + Switch control-home/end and home/end with + the idea that scrolled windows more typically contain + vertical sets of controls and to correspond to the bindings + in GtkTreeView. + Tue Feb 26 19:32:42 2002 Owen Taylor * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 27bce648be..928af9dd1b 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,11 @@ +Tue Feb 26 19:38:14 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): + Switch control-home/end and home/end with + the idea that scrolled windows more typically contain + vertical sets of controls and to correspond to the bindings + in GtkTreeView. + Tue Feb 26 19:32:42 2002 Owen Taylor * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 27bce648be..928af9dd1b 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,11 @@ +Tue Feb 26 19:38:14 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): + Switch control-home/end and home/end with + the idea that scrolled windows more typically contain + vertical sets of controls and to correspond to the bindings + in GtkTreeView. + Tue Feb 26 19:32:42 2002 Owen Taylor * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 27bce648be..928af9dd1b 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,11 @@ +Tue Feb 26 19:38:14 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): + Switch control-home/end and home/end with + the idea that scrolled windows more typically contain + vertical sets of controls and to correspond to the bindings + in GtkTreeView. + Tue Feb 26 19:32:42 2002 Owen Taylor * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index e3d20895d4..57dd6fecd7 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -308,10 +308,10 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class) add_scroll_binding (binding_set, GDK_Page_Up, 0, GTK_SCROLL_PAGE_BACKWARD, FALSE); add_scroll_binding (binding_set, GDK_Page_Down, 0, GTK_SCROLL_PAGE_FORWARD, FALSE); - add_scroll_binding (binding_set, GDK_Home, 0, GTK_SCROLL_START, TRUE); - add_scroll_binding (binding_set, GDK_End, 0, GTK_SCROLL_END, TRUE); - add_scroll_binding (binding_set, GDK_Home, GDK_CONTROL_MASK, GTK_SCROLL_START, FALSE); - add_scroll_binding (binding_set, GDK_End, GDK_CONTROL_MASK, GTK_SCROLL_END, FALSE); + add_scroll_binding (binding_set, GDK_Home, GDK_CONTROL_MASK, GTK_SCROLL_START, TRUE); + add_scroll_binding (binding_set, GDK_End, GDK_CONTROL_MASK, GTK_SCROLL_END, TRUE); + add_scroll_binding (binding_set, GDK_Home, 0, GTK_SCROLL_START, FALSE); + add_scroll_binding (binding_set, GDK_End, 0, GTK_SCROLL_END, FALSE); add_tab_bindings (binding_set, GDK_CONTROL_MASK, GTK_DIR_TAB_FORWARD); add_tab_bindings (binding_set, GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_DIR_TAB_BACKWARD);