aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-23 16:00:55 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-23 16:00:55 +0800
commit4faccb2891e2f472fc3991c8ae70ca06d8d719d1 (patch)
treead9592885b6857debf482c8d85e08605f85bf4f4
parent44178eaccd22435239bd9487711c8627fb65e612 (diff)
downloadgsoc2013-evolution-4faccb2891e2f472fc3991c8ae70ca06d8d719d1.tar.gz
gsoc2013-evolution-4faccb2891e2f472fc3991c8ae70ca06d8d719d1.tar.zst
gsoc2013-evolution-4faccb2891e2f472fc3991c8ae70ca06d8d719d1.zip
Make scrollbar arrow buttons work.
2000-05-23 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Make scrollbar arrow buttons work. svn path=/trunk/; revision=3176
-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),