From e47f76e96dde0ab53a51a6cd66372eafa2b1385d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 13 Mar 2006 18:31:42 +0000 Subject: r14332: Built in different paths when running locally (from ./bin/) in developer mode (./configure.developer). This will change the hardcoded value of a few paths (BINDIR, SWATDIR, EJSDIR, SETUPDIR, DATADIR, MODULESDIR). The regular locations will be used when running 'make install'. This enables developers to work on (shared built) modules, swat, ejs and setup files without having to run 'make install' each time. (This used to be commit f12c1ee19349e17dc5d109ccc71b5374796a6e23) --- source4/gtk/common/gtk-smb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/gtk') diff --git a/source4/gtk/common/gtk-smb.c b/source4/gtk/common/gtk-smb.c index 57a437ef96..3f818dae76 100644 --- a/source4/gtk/common/gtk-smb.c +++ b/source4/gtk/common/gtk-smb.c @@ -22,6 +22,7 @@ #include "includes.h" #include "gtk/common/gtk-smb.h" #include "gtk/common/select.h" +#include "version.h" void gtk_show_werror(GtkWidget *win, const char *message, WERROR err) { @@ -282,7 +283,7 @@ GtkWidget *create_gtk_samba_about_dialog (const char *appname) label1 = gtk_label_new (appname); gtk_box_pack_start (GTK_BOX (dialog_vbox1), label1, FALSE, FALSE, 0); - label2 = gtk_label_new (samba_version_string()); + label2 = gtk_label_new (SAMBA_VERSION_STRING); gtk_box_pack_start (GTK_BOX (dialog_vbox1), label2, FALSE, FALSE, 0); label3 = gtk_label_new_with_mnemonic ("Part of Samba "); -- cgit