diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-05-12 04:07:14 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-05-12 04:07:14 +0800 |
commit | 8b6b6f01bf60cb59124f513f4b3c7c78db46233e (patch) | |
tree | 46136d95f4c025877dc0cd5d987d29a3a7842e61 /widgets/table | |
parent | e3efaa319aabdfe6b3329fae1b9cee8a0ea877f3 (diff) | |
download | gsoc2013-evolution-8b6b6f01bf60cb59124f513f4b3c7c78db46233e.tar gsoc2013-evolution-8b6b6f01bf60cb59124f513f4b3c7c78db46233e.tar.gz gsoc2013-evolution-8b6b6f01bf60cb59124f513f4b3c7c78db46233e.tar.bz2 gsoc2013-evolution-8b6b6f01bf60cb59124f513f4b3c7c78db46233e.tar.lz gsoc2013-evolution-8b6b6f01bf60cb59124f513f4b3c7c78db46233e.tar.xz 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/table')
-rw-r--r-- | widgets/table/e-table-item.c | 4 | ||||
-rw-r--r-- | widgets/table/e-table-state.c | 2 |
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 && |