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),
/span>1-1/+0 * - Stage supportmiwi2014-01-271-2/+1 * - Stage supportmiwi2014-01-271-1/+0 * - Stage supportmiwi2014-01-271-1/+0 * - Stage supportmiwi2014-01-271-1/+0 * - Stage supportmiwi2014-01-271-3/+2 * - Stage supportmiwi2014-01-271-1/+0 * - Stage supportmiwi2014-01-271-1/+0 * - Switch to USESmiwi2014-01-271-3/+1 * - Stage supportmiwi2014-01-271-1/+0 * - Stage supportmiwi2014-01-271-3/+1 * - Stage supportmiwi2014-01-271-1/+0 * - Stage supportmiwi2014-01-271-3/+2 * - Stage supportmiwi2014-01-271-4/+2 * - Stage supportmiwi2014-01-271-3/+2 * Update to 1.2.2rakuco2014-01-262-3/+3 * Update to 1.4.3.rakuco2014-01-262-3/+3 * Fix properties on pkg-plistbapt2014-01-222-2/+0 * - Add NOTIFYD option to install xfce4-notifyd themeolivierd2014-01-102-0/+18 * Numix is a modern flat theme with a combination of light and dark elements.olivierd2014-01-107-0/+174 * - Update to 3.0.16olivierd2014-01-103-11/+75 * - Support STAGEDIRolivierd2014-01-101-3/+3 * - USES gmake instead of USE_GMAKEnemysis2014-01-091-9/+3 * Stage supportantoine2014-01-071-7/+6 * Stage supportantoine2014-01-071-3/+2 * Stage supportantoine2014-01-071-3/+2 * - Stage support and simplify installantoine2014-01-072-13/+1 * Stage supportantoine2014-01-071-4/+3 * Stage supportantoine2014-01-071-10/+9 * - Stage supportantoine2014-01-071-6/+2 * Stage supportantoine2014-01-071-10/+9 * Stage supportantoine2014-01-071-4/+3 * Stage supportantoine2014-01-071-4/+3 * Stage supportantoine2014-01-071-3/+2 * Convert GMAKE to MAKE_CMD for x11-themes/cursor-crystal-theme.dbn2013-12-281-1/+1 * Add LICENSE (GPLv2) to x11-themes/kde4-style-oxygen-transparent and bump PORT...dbn2013-12-191-1/+3 * - Change maintainer email of my ports to @FreeBSD.orgnemysis2013-12-181-1/+1 * Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]zeising2013-12-162-2/+1 * - Update to 1.2.1.rakuco2013-12-164-67/+8 * - Update to 1.4.1.rakuco2013-12-164-68/+9 * Remove expired ports:rene2013-12-055-121/+0 * Update to 1.6.2.kwm2013-12-032-3/+3 * Say hello to Mate 1.6.kwm2013-11-2319-0/+39482 * Convert to USES=qmakemakc2013-11-223-12/+6 * Add stage support to x11-themes/kde4-style-oxygen-transparent.dbn2013-11-191-1/+0 * Remove expired ports:rene2013-11-1813-141/+0 * - Support STAGEDIRsunpoet2013-11-163-5/+4 * - Support STAGEDIRsunpoet2013-11-161-1/+0 * Enable staging supportrakuco2013-11-111-1/+0 * Add LICENSE to x11-themes/cursor-crystal-theme.dbn2013-11-081-3/+5 * Remove the MAKE_ENV+=DESTDIR=${STAGEDIR} from the x11-themes/cursor-crystal-t...dbn2013-11-071-1/+0 * Add stage support to x11-themes/cursor-crystal-theme.dbn2013-11-051-5/+5 * Set an EXPIRATION_DATE of 1 month from now, because there's no update for 6olivierd2013-11-041-0/+3 * Update to version 0.5.3pawel2013-10-293-4/+4 * Support staging.ehaupt2013-10-281-6/+5 * Update to libmpc version 1.0.1 which brings the following fixes:gerald2013-10-268-3/+8 * Support staging.ehaupt2013-10-241-3/+2 * - Support stagingmakc2013-10-235-10/+2 * - Remove NO_STAGEmakc2013-10-234-222/+1 * Reset MAINTAINER on xmms-* ports maintained by c.petrik.sosa@gmail.com.tijl2013-10-231-1/+1 * - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-223-4/+0 * - Add patch, to avoid "pixelization" of icons in Tabwin widgetolivierd2013-10-212-1/+13 * deprecate ports broken for more than 6 monthbapt2013-10-183-0/+9 * - Support stagingamdmi32013-10-171-3/+2 * - Support stagingamdmi32013-10-171-3/+2 * - Support stagingamdmi32013-10-171-3/+2 * - Update to 1.2.2olivierd2013-10-174-14/+15 * Remove more gnome1 componentsbapt2013-10-1520-352/+0 * - Support STAGEDIRolivierd2013-10-151-2/+1 * Add support for STAGEDIRpawel2013-10-071-7/+7 * Add stage support for linux-f10-* ports maintained by emulation@rene2013-10-061-4/+3 * Add support for STAGEDIRpawel2013-10-062-7/+3 * The FreeBSD graphics/x11 team proudly presentszeising2013-09-301-4/+3 * - Support staginggblach2013-09-291-4/+3 * - Remove NO_STAGE as these have been tested to be safebdrewery2013-09-251-1/+0 * Fix NO_STAGE attributionbapt2013-09-231-1/+1 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-21