From c92301fc4cd5620fe8193e2e6648ea86c580784d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 8 Jan 2011 16:39:03 +0000 Subject: Add version to about dialog (implement ticket #625). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2797 a436a847-0d15-0410-975c-d299462d15a1 --- src/patchage.glade | 15 +++++++++------ wscript | 9 +++++++-- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/patchage.glade b/src/patchage.glade index 7b12dd4..8723616 100644 --- a/src/patchage.glade +++ b/src/patchage.glade @@ -461,6 +461,8 @@ The bar represents the percentage of available time used for audio processing (i True normal + Patchage + @PATCHAGE_VERSION@ © 2005-2010 David Robillard © 2008 Nedko Arnaudov A LASH, JACK, and ALSA front-end. @@ -484,6 +486,7 @@ Nedko Arnaudov <nedko@arnaudov.name> translator-credits Icon: Lapo Calamandrei + patchage @@ -544,7 +547,7 @@ Nedko Arnaudov <nedko@arnaudov.name> end - gtk-clear + gtk-clear True True True @@ -559,7 +562,7 @@ Nedko Arnaudov <nedko@arnaudov.name> - gtk-close + gtk-close True True True @@ -626,7 +629,7 @@ Nedko Arnaudov <nedko@arnaudov.name> end - gtk-cancel + gtk-cancel 1 True True @@ -642,7 +645,7 @@ Nedko Arnaudov <nedko@arnaudov.name> - gtk-ok + gtk-ok 2 True True @@ -797,7 +800,7 @@ Nedko Arnaudov <nedko@arnaudov.name> end - gtk-cancel + gtk-cancel 1 True True @@ -813,7 +816,7 @@ Nedko Arnaudov <nedko@arnaudov.name> - gtk-ok + gtk-ok 2 True True diff --git a/wscript b/wscript index 7eb555a..799e52e 100644 --- a/wscript +++ b/wscript @@ -132,8 +132,13 @@ def build(bld): prog.source += ' src/AlsaDriver.cpp ' prog.uselib += ' ALSA ' - # Glade UI definitions (XML) - bld.install_files('${DATADIR}/' + bld.env['APP_INSTALL_NAME'], 'src/patchage.glade') + # Glade XML UI definition + bld(features = 'subst', + source = 'src/patchage.glade', + target = 'patchage.glade', + install_path = '${DATADIR}/' + bld.env['APP_INSTALL_NAME'], + chmod = 0755, + PATCHAGE_VERSION = PATCHAGE_VERSION) # 'Desktop' file (menu entry, icon, etc) bld(features = 'subst', -- cgit v1.2.1