Gracefully handle templates that lack contents in their description or created_with...
[ardour.git] / gtk2_ardour / wscript
index 78e217e2f7811c726060d9a853f365d1aa1ddbfc..598674079ae865704c7fa86793b99df66c6c6b6a 100644 (file)
@@ -218,6 +218,7 @@ gtk2_ardour_sources = [
         'route_ui.cc',
         'ruler_dialog.cc',
         'save_as_dialog.cc',
+        'save_template_dialog.cc',
         'search_path_option.cc',
         'script_selector.cc',
         'selection.cc',
@@ -733,7 +734,7 @@ def build(bld):
                 'HUGER' : '36',
                 'MASSIVE' : '60',
         }
-        if conf.env['build_target'] in ['panther', 'tiger', 'leopard'] or (Options.options.ppc and conf.env['build_target'] == 'snowleopard'):
+        if bld.env['build_target'] in ['panther', 'tiger', 'leopard'] or (Options.options.ppc and bld.env['build_target'] == 'snowleopard'):
             # CTFontManagerRegisterFontsForURL for ArdourMono is 10.6 or newer
             # "Lucida Grande" is not mono-spaced, but works for most cases, except big-clock-window
             font_names = {