diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-09-26 19:22:22 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-09-26 19:22:22 +0800 |
commit | 39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6 (patch) | |
tree | 8affda6c1dc5246862ad29bd3fdaa1d4f8611aef /widgets/table | |
parent | 0168b67f2a6450d287d50905d6d1c94073f5cc76 (diff) | |
download | gsoc2013-evolution-39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6.tar.gz gsoc2013-evolution-39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6.tar.zst gsoc2013-evolution-39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6.zip |
Set the step_increment on the horizontal scrollbars here to 20.
2001-09-26 Christopher James Lahey <clahey@ximian.com>
* e-table.c, e-tree.c: Set the step_increment on the horizontal
scrollbars here to 20.
svn path=/trunk/; revision=13146
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-table.c | 6 | ||||
-rw-r--r-- | widgets/table/e-tree.c | 6 |
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); |