aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-31 11:44:16 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-31 11:44:16 -0500
commit5809e107390f59ad11565e8b8644c191f8430dd3 (patch)
treec3b4d632e2fd8aaa1ba585fedc31e80f024083bc /src
parent9d32289feda6d72e53bcf7e77e2cbef09f88165e (diff)
downloadayatana-indicator-datetime-5809e107390f59ad11565e8b8644c191f8430dd3.tar.gz
ayatana-indicator-datetime-5809e107390f59ad11565e8b8644c191f8430dd3.tar.bz2
ayatana-indicator-datetime-5809e107390f59ad11565e8b8644c191f8430dd3.zip
in haptic.cpp, start vibrating immediately
Diffstat (limited to 'src')
-rw-r--r--src/haptic.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/haptic.cpp b/src/haptic.cpp
index 663e919..c7517d1 100644
--- a/src/haptic.cpp
+++ b/src/haptic.cpp
@@ -47,6 +47,7 @@ public:
{
ua_sensors_haptic_enable(m_sensor);
m_tag = g_timeout_add_seconds (2, on_timeout, this);
+ on_timeout (this);
}
}