Fix bug #5282 - show advice for best results
authorandrei1089 <andrei.mirestean@gmail.com>
Sun, 28 Feb 2010 18:48:48 +0000 (20:48 +0200)
committerandrei1089 <andrei.mirestean@gmail.com>
Sun, 28 Feb 2010 18:48:48 +0000 (20:48 +0200)
src/usr/lib/hildon-desktop/pedometer_widget_home.py

index 3bcf5cb..5c9412d 100644 (file)
@@ -1573,6 +1573,7 @@ class PedometerHomePlugin(hildondesktop.HomePluginItem):
         else:
             self.controller.start_pedometer()
             self.button.set_icon(ICONSPATH + "stop.png")
+            hildon.hildon_banner_show_information(self, "None", "Keep the N900 in a pocket close to your hip for best results")
 
     def do_expose_event(self, event):
         cr = self.window.cairo_create()