gboolean
menu_cb_help(GtkAction * action)
{
-#ifdef WITH_OSSO
+#ifdef WITH_OSSO_HELP
ossohelp_show(_osso, HELP_ID_INTRO, 0);
#endif
return TRUE;
#ifdef WITH_OSSO
#include <libosso.h>
+
+#ifdef WITH_OSSO_HELP
#include <osso-helplib.h>
-#include <osso-ic-dbus.h>
+#endif
+
+#ifdef WITH_OSSO_IC
#include <osso-ic.h>
+#include <osso-ic-dbus.h>
+#endif
+
#include <bt-dbus.h>
#include "maemo-osso.h"
#include "iap.h"
#ifdef WITH_HILDON_NEW
#include <hildon/hildon-program.h>
-#include <hildon/hildon-program.h>
#include <hildon/hildon-controlbar.h>
#include <hildon/hildon-note.h>
#include <hildon/hildon-color-button.h>
#include <hildon/hildon-number-editor.h>
#include <hildon/hildon-banner.h>
+
#ifdef WITH_HILDONFM
#include <hildon/hildon-file-chooser-dialog.h>
#endif
+#ifdef WITH_HILDON_HELP
+#include <hildon/hildon-help.h>
+#endif
+
#ifdef WITH_DEVICE_770
#include <device_symbols.h>
#endif
#else
-#include <hildon-widgets/hildon-program.h>
#include <hildon-widgets/hildon-program.h>
#include <hildon-widgets/hildon-controlbar.h>
#include <hildon-widgets/hildon-note.h>
#endif
-#ifdef WITH_CONIC
+/*************************************************************/
+/*
+ * libconic
+ *
+ */
+#ifdef WITH_CONIC
static ConIcConnection *connection=NULL;
static void
gboolean
iap_is_connected(void)
{
+#ifdef MAEMO_SDK_DEBUG
+g_printerr("SDK: Assuming connection is ok.\n");
+return TRUE;
+#endif
return iap_connected;
}
#include <gtk/gtk.h>
#ifdef WITH_OSSO
-
#include <libosso.h>
-#include <osso-helplib.h>
-#include <osso-ic-dbus.h>
+
+#ifdef WITH_OSSO_IC
#include <osso-ic.h>
+#include <osso-ic-dbus.h>
+#endif
#include "map.h"
#include "map-download.h"
g_printerr("osso_rpc_set_default_cb_f failed.\n");
return 1;
}
+#endif
+#ifdef WITH_OSSO_IC
filter_string = g_strdup_printf("interface=%s", ICD_DBUS_INTERFACE);
/* add match */
dbus_bus_add_match(dbus_conn, filter_string, NULL);
g_free(filter_string);
-#endif
/* add the callback */
-#ifdef WITH_OSSO_IC
dbus_connection_add_filter(dbus_conn, get_connection_status_signal_cb, NULL, NULL);
osso_iap_cb(iap_callback);
#endif
GTK_DIALOG_MODAL, GTK_STOCK_OK,
GTK_RESPONSE_ACCEPT, NULL);
-#ifdef WITH_OSSO
+#ifdef WITH_OSSO_HELP
/* Enable the help button. */
ossohelp_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_SETTINGS, _osso);
#endif