From a39941a7ad84997a34ae1395ebba44a103d25685 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 28 Feb 2008 16:05:36 +0200 Subject: [PATCH] Add Audio tab with a very simple interface (more of debug/testing interface for now) --- src/ui-common.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/ui-common.c b/src/ui-common.c index 140f73a..821c9ab 100644 --- a/src/ui-common.c +++ b/src/ui-common.c @@ -38,6 +38,10 @@ #include "map-repo.h" #include "poi-gui.h" +#ifdef WITH_GST +#include "audio-note.h" +#endif + /* Callbacks */ #include "cb.h" @@ -61,6 +65,7 @@ struct ui_notebook_struct { gint route; gint track; gint qpoi; + gint audio; }; struct ui_notebook_struct ui_notebook; @@ -720,6 +725,15 @@ tqp.close=FALSE; vbox=poi_quick_button_box(&tqp); ui_notebook.qpoi=gtk_notebook_append_page(notebook, vbox, label); +#ifdef WITH_GST +{ +audio_note_ui *an_ui; +label=gtk_label_new("Audio"); +an_ui=audio_note_new(); +ui_notebook.audio=gtk_notebook_append_page(notebook, an_ui->vbox, label); +} +#endif + menu_maps_add_repos(); menu_init_cmenu(); -- 2.39.5