[easytag/wip/musicbrainz-support-appwin-merge: 25/49] Added more ifdef to fix "missing action MBSearch" warning



commit 078e46d30733562e65b2f02ace44699a2add3626
Author: Abhinav <abhijangda hotmail com>
Date:   Fri Aug 22 17:56:34 2014 +0530

    Added more ifdef to fix "missing action MBSearch" warning

 src/ui_manager.h |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/ui_manager.h b/src/ui_manager.h
index a976ffe..3805bb5 100644
--- a/src/ui_manager.h
+++ b/src/ui_manager.h
@@ -153,9 +153,10 @@ static const gchar *ui_xml =
 "    </menu>"
 
 "    <menu action='MiscMenu'>"
+#ifdef ENABLE_libmusicbrainz
 "      <menuitem action='MBSearch' />"
 "      <separator />"
-
+#endif /* ENABLE_libmusicbrainz */
 "      <menuitem action='LoadFilenames' />"
 "      <menuitem action='WritePlaylist' />"
 "    </menu>"
@@ -211,7 +212,9 @@ static const gchar *ui_xml =
 "    <separator />"
 
 "    <toolitem action='SearchFile' />"
+#ifdef ENABLE_libmusicbrainz
 "    <toolitem action='MBSearch' />"
+#endif /* ENABLE_libmusicbrainz */
 "    <toolitem action='WritePlaylist' />"
 "    <separator />"
 
@@ -233,7 +236,11 @@ static const gchar *ui_xml =
 "    <menu action='ScannerSubpopup'>"
 "      <menuitem action='ShowScanner' />"
 "    </menu>"
+
+#ifdef ENABLE_libmusicbrainz
 "    <menuitem action='MBSearchFile' />"
+#endif /* ENABLE_libmusicbrainz */
+
 "    <menuitem action='SearchFile' />"
 "    <menuitem action='DeleteFile' />"
 "    <menuitem action='ReloadDir' />"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]