diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-05-23 16:00:55 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-05-23 16:00:55 +0800 |
commit | 4faccb2891e2f472fc3991c8ae70ca06d8d719d1 (patch) | |
tree | ad9592885b6857debf482c8d85e08605f85bf4f4 /widgets | |
parent | 44178eaccd22435239bd9487711c8627fb65e612 (diff) | |
download | gsoc2013-evolution-4faccb2891e2f472fc3991c8ae70ca06d8d719d1.tar gsoc2013-evolution-4faccb2891e2f472fc3991c8ae70ca06d8d719d1.tar.gz gsoc2013-evolution-4faccb2891e2f472fc3991c8ae70ca06d8d719d1.tar.bz2 gsoc2013-evolution-4faccb2891e2f472fc3991c8ae70ca06d8d719d1.tar.lz gsoc2013-evolution-4faccb2891e2f472fc3991c8ae70ca06d8d719d1.tar.xz 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
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/e-table/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/e-table/e-table.c | 4 | ||||
-rw-r--r-- | widgets/table/e-table.c | 4 |
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), |