]> err.no Git - mapper/commitdiff
Enable help in quick poi dialog
authorKaj-Michael Lang <milang@onion.tal.org>
Mon, 29 Oct 2007 09:46:20 +0000 (11:46 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Mon, 29 Oct 2007 09:46:20 +0000 (11:46 +0200)
src/help.h
src/poi-gui.c

index edd0c201866cda7dbb3078aec68eff44f14e91d5..8aeba7414db43e40fa966e293a546b8219211a8e 100644 (file)
@@ -24,6 +24,7 @@
 #define HELP_ID_MAPMAN HELP_ID_PREFIX"mapman"
 #define HELP_ID_DOWNROUTE HELP_ID_PREFIX"downroute"
 #define HELP_ID_POICAT HELP_ID_PREFIX"poicat"
+#define HELP_ID_POIQUICK HELP_ID_PREFIX"poiquick"
 
 void help_topic_display(const gchar *topic_id, guint flags);
 void help_dialog_help_enable(GtkWidget *dialog, const gchar *topic);
index c266229e1b0db439fac821dc19f8ccf4795e1a25..32dd858a566e2536b57cfb0c10dcc4d267b7ba04 100644 (file)
@@ -780,9 +780,7 @@ qp.dialog = gtk_dialog_new_with_buttons(_("Quick POI"),
                        GTK_RESPONSE_REJECT,
                        NULL);
 
-#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);