aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-05-12 04:07:14 +0800
committerChris Lahey <clahey@src.gnome.org>2001-05-12 04:07:14 +0800
commit8b6b6f01bf60cb59124f513f4b3c7c78db46233e (patch)
tree46136d95f4c025877dc0cd5d987d29a3a7842e61 /widgets
parente3efaa319aabdfe6b3329fae1b9cee8a0ea877f3 (diff)
downloadgsoc2013-evolution-8b6b6f01bf60cb59124f513f4b3c7c78db46233e.tar.gz
gsoc2013-evolution-8b6b6f01bf60cb59124f513f4b3c7c78db46233e.tar.zst
gsoc2013-evolution-8b6b6f01bf60cb59124f513f4b3c7c78db46233e.zip
Make a key press stop the tooltip timeout.
2001-05-11 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Make a key press stop the tooltip timeout. * e-table-state.c (e_table_state_load_from_node): Make the default expansion be one so that if the user doesn't specify any expansions they get a uniform expansion. svn path=/trunk/; revision=9769
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-item.c4
-rw-r--r--widgets/table/e-table-state.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 86bc45e323..035609d5a7 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1901,6 +1901,10 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
"cursor_col", &cursor_col,
NULL);
+ if (eti->tooltip->timer) {
+ gtk_timeout_remove (eti->tooltip->timer);
+ eti->tooltip->timer = 0;
+ }
e_canvas_hide_tooltip (E_CANVAS(GNOME_CANVAS_ITEM(eti)->canvas));
if (cursor_col == -1)
diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c
index 63947f1516..0e0fa9f6ef 100644
--- a/widgets/table/e-table-state.c
+++ b/widgets/table/e-table-state.c
@@ -130,7 +130,7 @@ e_table_state_load_from_node (ETableState *state,
children, "source");
column_info->expansion =
e_xml_get_double_prop_by_name_with_default(
- children, "expansion", -2);
+ children, "expansion", 1);
list = g_list_append (list, column_info);
} else if (state->sort_info == NULL &&