summaryrefslogtreecommitdiffstats
path: root/src/display
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-03-06 20:13:43 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-03-06 20:13:43 +0000
commit879a8a4a643503b475b2c197ad022208d21d43e9 (patch)
tree468b59b047fbb4a688e814efee1a3ab261cbff2b /src/display
parentFix for bug #167364 - "Win2k: file dialog uses wrong home directory" (diff)
downloadinkscape-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.cpp1
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);
}