aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-table.c4
-rw-r--r--widgets/table/e-table.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index c824ddd142..cdfcf78621 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-23 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-table.c: Make scrollbar arrow buttons work.
+
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* e-table-example-1.c, e-table-example-2.c, e-table-simple.c,
diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c
index 5e83d9fce9..11826cd109 100644
--- a/widgets/e-table/e-table.c
+++ b/widgets/e-table/e-table.c
@@ -409,6 +409,10 @@ et_real_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm,
scrolledwindow = gtk_scrolled_window_new (
gtk_layout_get_hadjustment (GTK_LAYOUT (e_table->table_canvas)),
gtk_layout_get_vadjustment (GTK_LAYOUT (e_table->table_canvas)));
+
+ 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_scrolled_window_set_policy (
GTK_SCROLLED_WINDOW (scrolledwindow),
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 5e83d9fce9..11826cd109 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -409,6 +409,10 @@ et_real_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm,
scrolledwindow = gtk_scrolled_window_new (
gtk_layout_get_hadjustment (GTK_LAYOUT (e_table->table_canvas)),
gtk_layout_get_vadjustment (GTK_LAYOUT (e_table->table_canvas)));
+
+ 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_scrolled_window_set_policy (
GTK_SCROLLED_WINDOW (scrolledwindow),