config-gconf.c \
speak.c \
audio-note.c \
+ help.c \
mapper.c
osm2db_CFLAGS = $(EXPAT_CFLAGS) $(SQLITE_CFLAGS) $(GLIBGTK_CFLAGS)
#include "cb.h"
#include "gps-panels.h"
+#include "help.h"
+
gboolean
menu_cb_route_download(GtkAction * action)
{
gboolean
menu_cb_help(GtkAction * action)
{
-#ifdef WITH_OSSO_HELP
-ossohelp_show(_osso, HELP_ID_INTRO, 0);
-#endif
-#ifdef WITH_HILDON_HELP
-hildon_help_show(_osso, HELP_ID_INTRO, 0);
-#endif
+help_topic_display(HELP_ID_INTRO, 0);
return TRUE;
}
#include "mapper-types.h"
#include "ui-common.h"
+#include "help.h"
+
#define MAP_REPO_LIST_URL "http://www.gnuite.com/nokia770/maemo-mapper/repos.txt"
typedef struct _RepoManInfo RepoManInfo;
GTK_DIALOG_MODAL, GTK_STOCK_OK,
GTK_RESPONSE_ACCEPT, NULL);
-#ifdef WITH_OSSO_HELP
- /* Enable the help button. */
- ossohelp_dialog_help_enable(GTK_DIALOG(rmi.dialog), HELP_ID_REPOMAN,
- _osso);
-#endif
+ help_dialog_help_enable(GTK_DIALOG(rmi.dialog), HELP_ID_REPOMAN);
/* Reset button. */
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(rmi.dialog)->action_area),
GTK_DIALOG_MODAL, GTK_STOCK_OK,
GTK_RESPONSE_ACCEPT, NULL);
- /* Enable the help button. */
-#ifdef WITH_OSSO_HELP
- ossohelp_dialog_help_enable(GTK_DIALOG(mapman_info.dialog), HELP_ID_MAPMAN, _osso);
-#endif
+ help_dialog_help_enable(GTK_DIALOG(mapman_info.dialog), HELP_ID_MAPMAN);
/* Clear button. */
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->action_area),
#include "poi-gui.h"
#include "osm.h"
+#include "help.h"
+
#define POI_QUICK_BUTTONS (9)
typedef struct _PoiCategoryEditInfo PoiCategoryEditInfo;
GTK_DIALOG_MODAL, GTK_STOCK_OK,
GTK_RESPONSE_ACCEPT, NULL);
-#ifdef WITH_OSSO_HELP
- /* Enable the help button. */
- ossohelp_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_POICAT, _osso);
-#endif
+ help_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_POICAT);
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->action_area), btn_edit = gtk_button_new_with_label(_("Edit")));
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->action_area), btn_add = gtk_button_new_with_label(_("Add")));
GTK_RESPONSE_REJECT,
NULL);
-#ifdef WITH_OSSO_NOTYET
- /* Enable the help button. */
- ossohelp_dialog_help_enable(GTK_DIALOG(qp.dialog), HELP_ID_POIQUICK, _osso);
+#if 0
+help_dialog_help_enable(GTK_DIALOG(qp.dialog), HELP_ID_POIQUICK);
#endif
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(qp.dialog)->vbox), table = gtk_table_new(3, 3, FALSE), TRUE, TRUE, 0);
#include "map-download.h"
#include "iap.h"
+#include "help.h"
+
void route_find_nearest_point(void);
void cancel_autoroute(gboolean temporary);
void route_show_distance_to_last(void);
GTK_STOCK_CANCEL,
GTK_RESPONSE_REJECT, NULL);
-#ifdef WITH_OSSO_HELP
-ossohelp_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_DOWNROUTE, _osso);
-#endif
-#ifdef WITH_HILDON_HELP
-hildon_help_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_DOWNROUTE, _osso);
-#endif
+help_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_DOWNROUTE);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox),
table = gtk_table_new(2, 5, FALSE), TRUE, TRUE, 0);
#include "hildon-wrappers.h"
+#include "help.h"
+
#define UPDATE_GC(gc) \
gdk_gc_set_line_attributes(gc, _draw_width, GDK_LINE_SOLID, GDK_CAP_ROUND, GDK_JOIN_ROUND);
void
GTK_DIALOG_MODAL, GTK_STOCK_OK,
GTK_RESPONSE_ACCEPT, NULL);
-#ifdef WITH_OSSO_HELP
- ossohelp_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_SETTINGS, _osso);
-#endif
-#ifdef WITH_HILDON_HELP
- hildon_help_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_SETTINGS, _osso);
-#endif
+ help_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_SETTINGS);
+
#ifdef WITH_DEVICE_770
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->action_area),
btn_buttons = gtk_button_new_with_label(_("Hardware Keys...")));
#ifdef WITH_HILDON
-#define HELP_ID_PREFIX "help_mapper_"
-#define HELP_ID_INTRO HELP_ID_PREFIX"intro"
-#define HELP_ID_GETSTARTED HELP_ID_PREFIX"getstarted"
-#define HELP_ID_ABOUT HELP_ID_PREFIX"about"
-#define HELP_ID_SETTINGS HELP_ID_PREFIX"settings"
-#define HELP_ID_REPOMAN HELP_ID_PREFIX"repoman"
-#define HELP_ID_MAPMAN HELP_ID_PREFIX"mapman"
-#define HELP_ID_DOWNROUTE HELP_ID_PREFIX"downroute"
-#define HELP_ID_POICAT HELP_ID_PREFIX"poicat"
-
#ifdef WITH_OSSO
#include <libosso.h>
/** The main OSSO context of the application. */