diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-07-11 18:17:52 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-07-11 18:17:52 +0800 |
commit | 0a71e607b1840e9e984337a02d09f88c750f7359 (patch) | |
tree | 1aff490882df2cb94b11d9f0cb96f63d6f88f54b /widgets | |
parent | fbb2f1feb0dce8cd6b14aa3450830a09e905fd1b (diff) | |
download | gsoc2013-evolution-0a71e607b1840e9e984337a02d09f88c750f7359.tar gsoc2013-evolution-0a71e607b1840e9e984337a02d09f88c750f7359.tar.gz gsoc2013-evolution-0a71e607b1840e9e984337a02d09f88c750f7359.tar.bz2 gsoc2013-evolution-0a71e607b1840e9e984337a02d09f88c750f7359.tar.lz gsoc2013-evolution-0a71e607b1840e9e984337a02d09f88c750f7359.tar.xz gsoc2013-evolution-0a71e607b1840e9e984337a02d09f88c750f7359.tar.zst gsoc2013-evolution-0a71e607b1840e9e984337a02d09f88c750f7359.zip |
Made the amount to scroll by smaller here.
2001-07-11 Christopher James Lahey <clahey@ximian.com>
* e-table.c (group_key_press), e-tree.c (item_key_press): Made the
amount to scroll by smaller here.
svn path=/trunk/; revision=10992
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-table.c | 4 | ||||
-rw-r--r-- | widgets/table/e-tree.c | 4 |
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); |