diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-21 17:56:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-21 17:56:34 +0000 |
commit | 8ba99f4fec5ded9ab39fc65f68a41d077dbd6196 (patch) | |
tree | 9319074ee4995f5df34d79635b972a888310fe15 | |
parent | 843c6b6ab954afae05b920ecc01d7eaa04bea03e (diff) | |
download | gnunet-gtk-8ba99f4fec5ded9ab39fc65f68a41d077dbd6196.tar.gz gnunet-gtk-8ba99f4fec5ded9ab39fc65f68a41d077dbd6196.zip |
-fix code to locate config files
-rw-r--r-- | contrib/gnunet_identity_gtk_about_window.glade | 2 | ||||
-rw-r--r-- | src/fs/Makefile.am | 2 | ||||
-rw-r--r-- | src/lib/eventloop.c | 2 | ||||
-rw-r--r-- | src/namestore/Makefile.am | 2 | ||||
-rw-r--r-- | src/namestore/gnunet-namestore-gtk.conf | 3 |
5 files changed, 6 insertions, 5 deletions
diff --git a/contrib/gnunet_identity_gtk_about_window.glade b/contrib/gnunet_identity_gtk_about_window.glade index a75a926a..097e8709 100644 --- a/contrib/gnunet_identity_gtk_about_window.glade +++ b/contrib/gnunet_identity_gtk_about_window.glade | |||
@@ -91,7 +91,7 @@ Daniel Nylander <po@danielnylander.se></property> | |||
91 | <object class="GtkLabel" id="about_name_version_label"> | 91 | <object class="GtkLabel" id="about_name_version_label"> |
92 | <property name="visible">True</property> | 92 | <property name="visible">True</property> |
93 | <property name="can_focus">False</property> | 93 | <property name="can_focus">False</property> |
94 | <property name="label">GNUnet-Peerinfo-GTK 0.9.5</property> | 94 | <property name="label">GNUnet-Peerinfo-GTK 0.9.3</property> |
95 | <attributes> | 95 | <attributes> |
96 | <attribute name="weight" value="bold"/> | 96 | <attribute name="weight" value="bold"/> |
97 | <attribute name="size" value="200"/> | 97 | <attribute name="size" value="200"/> |
diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am index 9e305883..906b2936 100644 --- a/src/fs/Makefile.am +++ b/src/fs/Makefile.am | |||
@@ -44,7 +44,7 @@ gnunet_fs_gtk_LDADD = \ | |||
44 | gnunet_fs_gtk_LDFLAGS = \ | 44 | gnunet_fs_gtk_LDFLAGS = \ |
45 | -export-dynamic | 45 | -export-dynamic |
46 | 46 | ||
47 | pkgcfgdir= $(prefix)/share/gnunet/config.d/ | 47 | pkgcfgdir= $(prefix)/share/gnunet-gtk/config.d/ |
48 | 48 | ||
49 | pkgcfg_DATA = \ | 49 | pkgcfg_DATA = \ |
50 | gnunet-fs-gtk.conf | 50 | gnunet-fs-gtk.conf |
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c index aabcfa63..d3aef7e7 100644 --- a/src/lib/eventloop.c +++ b/src/lib/eventloop.c | |||
@@ -924,7 +924,7 @@ run_main_loop (void *cls, char *const *args, const char *cfgfile, | |||
924 | } | 924 | } |
925 | if (0 != strcmp (ipath, ipath2)) | 925 | if (0 != strcmp (ipath, ipath2)) |
926 | { | 926 | { |
927 | GNUNET_asprintf (&baseconfig, "%s%s", ipath, "config.d"); | 927 | GNUNET_asprintf (&baseconfig, "%s%s", ipath2, "config.d"); |
928 | if (GNUNET_YES == | 928 | if (GNUNET_YES == |
929 | GNUNET_DISK_directory_test (baseconfig, GNUNET_YES)) | 929 | GNUNET_DISK_directory_test (baseconfig, GNUNET_YES)) |
930 | (void) GNUNET_CONFIGURATION_load_from (gcfg, baseconfig); | 930 | (void) GNUNET_CONFIGURATION_load_from (gcfg, baseconfig); |
diff --git a/src/namestore/Makefile.am b/src/namestore/Makefile.am index 46faba72..a396fed7 100644 --- a/src/namestore/Makefile.am +++ b/src/namestore/Makefile.am | |||
@@ -3,7 +3,7 @@ SUBDIRS = . | |||
3 | # we use libgnunetutil to load plugins, and it | 3 | # we use libgnunetutil to load plugins, and it |
4 | # only looks in /gnunet, not /gnunet-gtk! | 4 | # only looks in /gnunet, not /gnunet-gtk! |
5 | plugindir = $(libdir)/gnunet | 5 | plugindir = $(libdir)/gnunet |
6 | pkgcfgdir= $(prefix)/share/gnunet/config.d/ | 6 | pkgcfgdir= $(prefix)/share/gnunet-gtk/config.d/ |
7 | 7 | ||
8 | AM_CPPFLAGS = \ | 8 | AM_CPPFLAGS = \ |
9 | -I$(top_srcdir)/ \ | 9 | -I$(top_srcdir)/ \ |
diff --git a/src/namestore/gnunet-namestore-gtk.conf b/src/namestore/gnunet-namestore-gtk.conf index 00d3f8e9..c27e9950 100644 --- a/src/namestore/gnunet-namestore-gtk.conf +++ b/src/namestore/gnunet-namestore-gtk.conf | |||
@@ -1,2 +1,3 @@ | |||
1 | [namestore-gtk] | 1 | [namestore-gtk] |
2 | NICK_EXPIRATION = 1 week \ No newline at end of file | 2 | NICK_EXPIRATION = 1 week |
3 | |||