aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-09-26 19:22:22 +0800
committerChris Lahey <clahey@src.gnome.org>2001-09-26 19:22:22 +0800
commit39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6 (patch)
tree8affda6c1dc5246862ad29bd3fdaa1d4f8611aef
parent0168b67f2a6450d287d50905d6d1c94073f5cc76 (diff)
downloadgsoc2013-evolution-39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6.tar
gsoc2013-evolution-39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6.tar.gz
gsoc2013-evolution-39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6.tar.bz2
gsoc2013-evolution-39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6.tar.lz
gsoc2013-evolution-39e2d6d8a19ffade3941982e9c25d4d61b7ec9b6.tar.xz
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
-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);