diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-03-06 20:13:43 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-03-06 20:13:43 +0000 |
| commit | 879a8a4a643503b475b2c197ad022208d21d43e9 (patch) | |
| tree | 468b59b047fbb4a688e814efee1a3ab261cbff2b /src/display | |
| parent | Fix for bug #167364 - "Win2k: file dialog uses wrong home directory" (diff) | |
| download | inkscape-879a8a4a643503b475b2c197ad022208d21d43e9.tar.gz inkscape-879a8a4a643503b475b2c197ad022208d21d43e9.zip | |
add preferences for path flashing on mouseover
(bzr r4977)
Diffstat (limited to 'src/display')
| -rw-r--r-- | src/display/canvas-temporary-item.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display/canvas-temporary-item.cpp b/src/display/canvas-temporary-item.cpp index da6caf2c1..7d7f8087c 100644 --- a/src/display/canvas-temporary-item.cpp +++ b/src/display/canvas-temporary-item.cpp @@ -27,6 +27,7 @@ TemporaryItem::TemporaryItem(SPCanvasItem *item, guint lifetime) : canvasitem(item),
timeout_id(0)
{
+ // zero lifetime means stay forever, so do not add timeout event.
if (lifetime > 0) {
timeout_id = g_timeout_add(lifetime, &TemporaryItem::_timeout, this);
}
|
