From 39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 26 Sep 2001 11:22:22 +0000 Subject: Set the step_increment on the horizontal scrollbars here to 20. 2001-09-26 Christopher James Lahey * e-table.c, e-tree.c: Set the step_increment on the horizontal scrollbars here to 20. svn path=/trunk/; revision=13146 --- widgets/table/e-table.c | 6 ++++++ widgets/table/e-tree.c | 6 ++++++ 2 files changed, 12 insertions(+) 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); -- cgit v1.2.3