aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-table.c4
-rw-r--r--widgets/table/e-tree.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index dca3a74049..8b6a1b8d0d 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -486,7 +486,7 @@ group_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et
switch (key->keyval) {
case GDK_Page_Down:
vadj = gtk_layout_get_vadjustment (GTK_LAYOUT (et->table_canvas));
- y = CLAMP(vadj->value + (2 * vadj->page_size - 20), 0, vadj->upper);
+ y = CLAMP(vadj->value + (2 * vadj->page_size - 50), 0, vadj->upper);
y -= vadj->value;
e_table_get_cell_at (et, 30, y, &row_local, &col_local);
row_local = e_table_view_to_model_row (et, row_local);
@@ -496,7 +496,7 @@ group_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et
break;
case GDK_Page_Up:
vadj = gtk_layout_get_vadjustment (GTK_LAYOUT (et->table_canvas));
- y = CLAMP(vadj->value - (vadj->page_size - 20), 0, vadj->upper);
+ y = CLAMP(vadj->value - (vadj->page_size - 50), 0, vadj->upper);
y -= vadj->value;
e_table_get_cell_at (et, 30, y, &row_local, &col_local);
row_local = e_table_view_to_model_row (et, row_local);
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 5064e582c6..29555ed785 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -535,7 +535,7 @@ item_key_press (ETableItem *eti, int row, int col, GdkEvent *event, ETree *et)
switch (key->keyval) {
case GDK_Page_Down:
vadj = gtk_layout_get_vadjustment (GTK_LAYOUT (et->priv->table_canvas));
- y = CLAMP(vadj->value + (2 * vadj->page_size - 20), 0, vadj->upper);
+ y = CLAMP(vadj->value + (2 * vadj->page_size - 50), 0, vadj->upper);
y -= vadj->value;
e_tree_get_cell_at (et, 30, y, &row_local, &col_local);
row_local = e_tree_view_to_model_row (et, row_local);
@@ -545,7 +545,7 @@ item_key_press (ETableItem *eti, int row, int col, GdkEvent *event, ETree *et)
break;
case GDK_Page_Up:
vadj = gtk_layout_get_vadjustment (GTK_LAYOUT (et->priv->table_canvas));
- y = CLAMP(vadj->value - (vadj->page_size - 20), 0, vadj->upper);
+ y = CLAMP(vadj->value - (vadj->page_size - 50), 0, vadj->upper);
y -= vadj->value;
e_tree_get_cell_at (et, 30, y, &row_local, &col_local);
row_local = e_tree_view_to_model_row (et, row_local);