--- trunk/src/gpxview.h 2009/06/20 11:44:14 2 +++ trunk/src/gpxview.h 2009/06/22 13:05:30 3 @@ -25,8 +25,12 @@ #define USE_BREAD_CRUMB_TRAIL #else // these are on maemo fremantle +#include #define USE_STACKABLE_WINDOW #define NO_COPY_N_PASTE +#define MENU_GPXLIST 0 +#define MENU_CACHELIST 1 +#define MENU_CACHE 2 #endif #endif @@ -172,9 +176,11 @@ GtkWidget *bct; gpx_t *search_results; +#ifdef USE_BREAD_CRUMB_TRAIL /* reference to enable/disable these while walking the crumb trail */ GtkWidget *menu_import, *menu_export; GtkWidget *menu_search; +#endif /* keep track of current "path" in the bread crumb trail */ gpx_t *cur_gpx; @@ -232,5 +238,8 @@ extern void errorf(const char *fmt, ...); extern gboolean on_window_key_press(GtkWidget *widget, GdkEventKey *event, gpointer data); +#ifdef USE_STACKABLE_WINDOW +HildonAppMenu *menu_create(appdata_t *appdata, int mode); +#endif #endif // GPXVIEW_H