aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-reflow
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-31 01:28:08 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-31 01:28:08 +0800
commit7172355841dbd207938ae58879819c6935465803 (patch)
tree8f2651d4d15a19e60f3bd5bfdca7b8572bc2b84d /widgets/e-reflow
parent475917c60722ce4f95ab45f7b8294e06f51aae20 (diff)
downloadgsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.tar
gsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.tar.gz
gsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.tar.bz2
gsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.tar.lz
gsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.tar.xz
gsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.tar.zst
gsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.zip
Made the alphabet buttons not focusable.
2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/component/alphabet.glade: Made the alphabet buttons not focusable. * gui/minicard/e-minicard-view.c: Made the "123" button work. * gui/minicard/e-reflow-sorted.c: Made all buttons past the last letter available work. svn path=/trunk/; revision=3285
Diffstat (limited to 'widgets/e-reflow')
-rw-r--r--widgets/e-reflow/e-reflow-sorted.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/e-reflow/e-reflow-sorted.c b/widgets/e-reflow/e-reflow-sorted.c
index c899ccb9a7..2d2dcee787 100644
--- a/widgets/e-reflow/e-reflow-sorted.c
+++ b/widgets/e-reflow/e-reflow-sorted.c
@@ -246,11 +246,11 @@ void e_reflow_sorted_jump (EReflowSorted *sorted,
int columns = 0;
EReflow *reflow = E_REFLOW(sorted);
GList *list;
+ GtkAdjustment *adjustment;
for (list = reflow->columns; list; list = g_list_next(list)) {
if (compare_func(((GList *)list->data)->data, value) >= 0) {
GList *last = list->prev;
- GtkAdjustment *adjustment;
if (last) {
GList *walk;
for (walk = last->data; walk != list->data; walk = g_list_next(walk)) {
@@ -266,4 +266,7 @@ void e_reflow_sorted_jump (EReflowSorted *sorted,
}
columns ++;
}
+ columns --;
+ adjustment = gtk_layout_get_hadjustment(GTK_LAYOUT(GNOME_CANVAS_ITEM(sorted)->canvas));
+ gtk_adjustment_set_value(adjustment, (reflow->column_width + E_REFLOW_FULL_GUTTER) * columns);
}