break;
case MAPPER_INIT_VOICE:
#if defined (WITH_GST) && defined (WITH_ESPEAK)
- speak_init("en",_voice_speed,_voice_pitch);
+ if (speak_init("en",_voice_speed,_voice_pitch)==FALSE) {
+ g_printerr("Espeak init failed\n");
+ popup_error(_window, "Speech init failed. Disabled.");
+ }
#endif
mis=MAPPER_INIT_MISC;
break;
#ifdef WITH_HILDON_DBUS_BT
if (NULL == (_rfcomm_req_proxy = dbus_g_proxy_new_for_name(dbus_conn, BTCOND_SERVICE, BTCOND_REQ_PATH, BTCOND_REQ_INTERFACE))) {
g_printerr("Failed to open connection to %s.\n", BTCOND_REQ_INTERFACE);
+ popup_error(_window, "Bluetooth connection handling failed.");
}
#endif
mis=MAPPER_INIT_UI;
break;
case MAPPER_INIT_GOTO:
if (map_goto_position(&_home)==FALSE)
- g_printf("Home is not set\n");
+ g_printerr("Home is not set.\n");
mis=MAPPER_INIT_DONE;
break;
case MAPPER_INIT_DONE:
#endif
init_progress=gtk_progress_bar_new();
-init_dialog=progress_dialog("Mapper starting...",init_progress);
+init_dialog=progress_dialog("Mapper is loading...",init_progress);
g_idle_add((GSourceFunc)mapper_init, NULL);
gtk_main();
mapper_destroy();