aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 3aba1105ec..9cf7b26877 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -1052,6 +1052,8 @@ et_real_construct (ETable *e_table, ETableModel *etm, ETableExtras *ete,
gtk_layout_get_vadjustment (GTK_LAYOUT (e_table->table_canvas))->step_increment = 20;
gtk_adjustment_changed(gtk_layout_get_vadjustment (GTK_LAYOUT (e_table->table_canvas)));
+ gtk_layout_get_hadjustment (GTK_LAYOUT (e_table->table_canvas))->step_increment = 20;
+ gtk_adjustment_changed(gtk_layout_get_hadjustment (GTK_LAYOUT (e_table->table_canvas)));
if (!specification->no_headers) {
/*
@@ -1459,6 +1461,10 @@ set_scroll_adjustments (ETable *table,
vadjustment->step_increment = 20;
gtk_adjustment_changed(vadjustment);
}
+ if (hadjustment != NULL) {
+ hadjustment->step_increment = 20;
+ gtk_adjustment_changed(hadjustment);
+ }
gtk_layout_set_hadjustment (GTK_LAYOUT(table->table_canvas),
hadjustment);