aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-table.c6
-rw-r--r--widgets/table/e-tree.c6
2 files changed, 12 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);
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 5efebec1fd..a89eb82f0c 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -1040,6 +1040,8 @@ et_real_construct (ETree *e_tree, ETreeModel *etm, ETableExtras *ete,
gtk_layout_get_vadjustment (GTK_LAYOUT (e_tree->priv->table_canvas))->step_increment = 20;
gtk_adjustment_changed(gtk_layout_get_vadjustment (GTK_LAYOUT (e_tree->priv->table_canvas)));
+ gtk_layout_get_hadjustment (GTK_LAYOUT (e_tree->priv->table_canvas))->step_increment = 20;
+ gtk_adjustment_changed(gtk_layout_get_hadjustment (GTK_LAYOUT (e_tree->priv->table_canvas)));
if (!specification->no_headers) {
/*
@@ -1346,6 +1348,10 @@ set_scroll_adjustments (ETree *tree,
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(tree->priv->table_canvas),
hadjustment);