aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-08 12:23:18 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-08 12:23:18 +0000
commit2546dce5d056e496e004d6d615d6757435e95353 (patch)
tree15ade5723728d89c3edad77fe9b8797b1034e0e9
parent3f13cc72525740f91d932110d290456d9af3e22c (diff)
downloadgnunet-gtk-2546dce5d056e496e004d6d615d6757435e95353.tar.gz
gnunet-gtk-2546dce5d056e496e004d6d615d6757435e95353.zip
-first rough cut for identity-gtk
-rw-r--r--configure.ac2
-rw-r--r--contrib/Makefile.am1
-rw-r--r--contrib/Makefile.in810
-rw-r--r--contrib/gnunet_identity_gtk_about_window.glade.in360
-rw-r--r--contrib/gnunet_identity_gtk_main_window.glade4
-rw-r--r--src/identity/Makefile.am22
-rw-r--r--src/identity/gnunet-identity-gtk.c269
-rw-r--r--src/identity/gnunet-identity-gtk_about.c41
-rw-r--r--src/lib/about.c5
-rw-r--r--src/peerinfo/gnunet-peerinfo-gtk-about.c2
10 files changed, 1511 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 45568236..7ef573e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -511,6 +511,7 @@ src/include/Makefile
511src/lib/Makefile 511src/lib/Makefile
512src/fs/Makefile 512src/fs/Makefile
513src/fs/gnunet-fs-gtk.conf 513src/fs/gnunet-fs-gtk.conf
514src/identity/Makefile
514src/peerinfo/Makefile 515src/peerinfo/Makefile
515src/setup/Makefile 516src/setup/Makefile
516src/statistics/Makefile 517src/statistics/Makefile
@@ -520,6 +521,7 @@ po/Makefile
520gnunet-fs-gtk.desktop 521gnunet-fs-gtk.desktop
521gnunet-setup.desktop 522gnunet-setup.desktop
522contrib/gnunet_fs_gtk_about_window.glade 523contrib/gnunet_fs_gtk_about_window.glade
524contrib/gnunet_identity_gtk_about_window.glade
523contrib/gnunet_peerinfo_gtk_about_window.glade 525contrib/gnunet_peerinfo_gtk_about_window.glade
524contrib/gnunet_statistics_gtk_about_window.glade 526contrib/gnunet_statistics_gtk_about_window.glade
525contrib/gnunet_setup_about_window.glade 527contrib/gnunet_setup_about_window.glade
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index b5571d1d..a720526e 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -41,6 +41,7 @@ pkgdata_DATA = \
41 gnunet_fs_gtk_unindex.glade \ 41 gnunet_fs_gtk_unindex.glade \
42 gnunet_fs_gtk_progress_dialog.glade \ 42 gnunet_fs_gtk_progress_dialog.glade \
43 gnunet_gtk_status_bar_menu.glade \ 43 gnunet_gtk_status_bar_menu.glade \
44 gnunet_identity_gtk_about_window.glade \
44 gnunet_identity_gtk_advertise_dialog.glade \ 45 gnunet_identity_gtk_advertise_dialog.glade \
45 gnunet_identity_gtk_main_window.glade \ 46 gnunet_identity_gtk_main_window.glade \
46 gnunet_peerinfo_gtk_about_window.glade \ 47 gnunet_peerinfo_gtk_about_window.glade \
diff --git a/contrib/Makefile.in b/contrib/Makefile.in
new file mode 100644
index 00000000..f141ba82
--- /dev/null
+++ b/contrib/Makefile.in
@@ -0,0 +1,810 @@
1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# Process this file with automake to produce Makefile.in
19
20VPATH = @srcdir@
21am__make_dryrun = \
22 { \
23 am__dry=no; \
24 case $$MAKEFLAGS in \
25 *\\[\ \ ]*) \
26 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
27 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
28 *) \
29 for am__flg in $$MAKEFLAGS; do \
30 case $$am__flg in \
31 *=*|--*) ;; \
32 *n*) am__dry=yes; break;; \
33 esac; \
34 done;; \
35 esac; \
36 test $$am__dry = yes; \
37 }
38pkgdatadir = $(datadir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40pkglibdir = $(libdir)/@PACKAGE@
41pkglibexecdir = $(libexecdir)/@PACKAGE@
42am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
43install_sh_DATA = $(install_sh) -c -m 644
44install_sh_PROGRAM = $(install_sh) -c
45install_sh_SCRIPT = $(install_sh) -c
46INSTALL_HEADER = $(INSTALL_DATA)
47transform = $(program_transform_name)
48NORMAL_INSTALL = :
49PRE_INSTALL = :
50POST_INSTALL = :
51NORMAL_UNINSTALL = :
52PRE_UNINSTALL = :
53POST_UNINSTALL = :
54build_triplet = @build@
55host_triplet = @host@
56subdir = contrib
57DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
58 $(srcdir)/gnunet_fs_gtk_about_window.glade.in \
59 $(srcdir)/gnunet_identity_gtk_about_window.glade.in \
60 $(srcdir)/gnunet_peerinfo_gtk_about_window.glade.in \
61 $(srcdir)/gnunet_setup_about_window.glade.in \
62 $(srcdir)/gnunet_statistics_gtk_about_window.glade.in
63ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
64am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
65 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gtk-2.0.m4 \
66 $(top_srcdir)/m4/gtk-3.0.m4 $(top_srcdir)/m4/iconv.m4 \
67 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \
68 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
69 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
70 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
71 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
72 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
73 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
74am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
75 $(ACLOCAL_M4)
76mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
77CONFIG_HEADER = $(top_builddir)/gnunet_gtk_config.h
78CONFIG_CLEAN_FILES = gnunet_fs_gtk_about_window.glade \
79 gnunet_identity_gtk_about_window.glade \
80 gnunet_peerinfo_gtk_about_window.glade \
81 gnunet_statistics_gtk_about_window.glade \
82 gnunet_setup_about_window.glade
83CONFIG_CLEAN_VPATH_FILES =
84AM_V_GEN = $(am__v_GEN_@AM_V@)
85am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
86am__v_GEN_0 = @echo " GEN " $@;
87AM_V_at = $(am__v_at_@AM_V@)
88am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
89am__v_at_0 = @
90SOURCES =
91DIST_SOURCES =
92RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
93 html-recursive info-recursive install-data-recursive \
94 install-dvi-recursive install-exec-recursive \
95 install-html-recursive install-info-recursive \
96 install-pdf-recursive install-ps-recursive install-recursive \
97 installcheck-recursive installdirs-recursive pdf-recursive \
98 ps-recursive uninstall-recursive
99am__can_run_installinfo = \
100 case $$AM_UPDATE_INFO_DIR in \
101 n|no|NO) false;; \
102 *) (install-info --version) >/dev/null 2>&1;; \
103 esac
104am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
105am__vpath_adj = case $$p in \
106 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
107 *) f=$$p;; \
108 esac;
109am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
110am__install_max = 40
111am__nobase_strip_setup = \
112 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
113am__nobase_strip = \
114 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
115am__nobase_list = $(am__nobase_strip_setup); \
116 for p in $$list; do echo "$$p $$p"; done | \
117 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
118 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
119 if (++n[$$2] == $(am__install_max)) \
120 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
121 END { for (dir in files) print dir, files[dir] }'
122am__base_list = \
123 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
124 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
125am__uninstall_files_from_dir = { \
126 test -z "$$files" \
127 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
128 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
129 $(am__cd) "$$dir" && rm -f $$files; }; \
130 }
131am__installdirs = "$(DESTDIR)$(pkgdatadir)"
132DATA = $(pkgdata_DATA)
133RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
134 distclean-recursive maintainer-clean-recursive
135AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
136 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
137 distdir
138ETAGS = etags
139CTAGS = ctags
140DIST_SUBDIRS = $(SUBDIRS)
141DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
142am__relativize = \
143 dir0=`pwd`; \
144 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
145 sed_rest='s,^[^/]*/*,,'; \
146 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
147 sed_butlast='s,/*[^/]*$$,,'; \
148 while test -n "$$dir1"; do \
149 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
150 if test "$$first" != "."; then \
151 if test "$$first" = ".."; then \
152 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
153 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
154 else \
155 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
156 if test "$$first2" = "$$first"; then \
157 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
158 else \
159 dir2="../$$dir2"; \
160 fi; \
161 dir0="$$dir0"/"$$first"; \
162 fi; \
163 fi; \
164 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
165 done; \
166 reldir="$$dir2"
167ACLOCAL = @ACLOCAL@
168AMTAR = @AMTAR@
169AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
170AR = @AR@
171AS = @AS@
172AUTOCONF = @AUTOCONF@
173AUTOHEADER = @AUTOHEADER@
174AUTOMAKE = @AUTOMAKE@
175AWK = @AWK@
176CC = @CC@
177CCDEPMODE = @CCDEPMODE@
178CFLAGS = @CFLAGS@
179CPP = @CPP@
180CPPFLAGS = @CPPFLAGS@
181CYGPATH_W = @CYGPATH_W@
182DEFS = @DEFS@
183DEPDIR = @DEPDIR@
184DLLTOOL = @DLLTOOL@
185DSYMUTIL = @DSYMUTIL@
186DUMPBIN = @DUMPBIN@
187ECHO_C = @ECHO_C@
188ECHO_N = @ECHO_N@
189ECHO_T = @ECHO_T@
190EGREP = @EGREP@
191ENABLE_ON_UNIX = @ENABLE_ON_UNIX@
192ENABLE_ON_W32 = @ENABLE_ON_W32@
193EXEEXT = @EXEEXT@
194FGREP = @FGREP@
195GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
196GLADE_CFLAGS = @GLADE_CFLAGS@
197GLADE_LIBS = @GLADE_LIBS@
198GMSGFMT = @GMSGFMT@
199GMSGFMT_015 = @GMSGFMT_015@
200GNUNET_CFLAGS = @GNUNET_CFLAGS@
201GNUNET_FS_APP = @GNUNET_FS_APP@
202GNUNET_FS_GTK_NAME = @GNUNET_FS_GTK_NAME@
203GNUNET_FS_GTK_VERSION3 = @GNUNET_FS_GTK_VERSION3@
204GNUNET_FS_GTK_YEARFROM = @GNUNET_FS_GTK_YEARFROM@
205GNUNET_FS_GTK_YEARTO = @GNUNET_FS_GTK_YEARTO@
206GNUNET_GNS_GTK_NAME = @GNUNET_GNS_GTK_NAME@
207GNUNET_LIBS = @GNUNET_LIBS@
208GNUNET_PEERINFO_APP = @GNUNET_PEERINFO_APP@
209GNUNET_PEERINFO_GTK_NAME = @GNUNET_PEERINFO_GTK_NAME@
210GNUNET_PEERINFO_GTK_VERSION3 = @GNUNET_PEERINFO_GTK_VERSION3@
211GNUNET_PEERINFO_GTK_YEARFROM = @GNUNET_PEERINFO_GTK_YEARFROM@
212GNUNET_PEERINFO_GTK_YEARTO = @GNUNET_PEERINFO_GTK_YEARTO@
213GNUNET_SETUP_APP = @GNUNET_SETUP_APP@
214GNUNET_SETUP_GTK_NAME = @GNUNET_SETUP_GTK_NAME@
215GNUNET_SETUP_GTK_VERSION3 = @GNUNET_SETUP_GTK_VERSION3@
216GNUNET_SETUP_GTK_YEARFROM = @GNUNET_SETUP_GTK_YEARFROM@
217GNUNET_SETUP_GTK_YEARTO = @GNUNET_SETUP_GTK_YEARTO@
218GNUNET_STATISTICS_GTK_NAME = @GNUNET_STATISTICS_GTK_NAME@
219GNUNET_STATISTICS_GTK_VERSION3 = @GNUNET_STATISTICS_GTK_VERSION3@
220GNUNET_STATISTICS_GTK_YEARFROM = @GNUNET_STATISTICS_GTK_YEARFROM@
221GNUNET_STATISTICS_GTK_YEARTO = @GNUNET_STATISTICS_GTK_YEARTO@
222GN_LIB_LDFLAGS = @GN_LIB_LDFLAGS@
223GREP = @GREP@
224GTK_CFLAGS = @GTK_CFLAGS@
225GTK_LIBS = @GTK_LIBS@
226INSTALL = @INSTALL@
227INSTALL_DATA = @INSTALL_DATA@
228INSTALL_PROGRAM = @INSTALL_PROGRAM@
229INSTALL_SCRIPT = @INSTALL_SCRIPT@
230INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
231INTLLIBS = @INTLLIBS@
232INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
233LD = @LD@
234LDFLAGS = @LDFLAGS@
235LIBICONV = @LIBICONV@
236LIBINTL = @LIBINTL@
237LIBOBJS = @LIBOBJS@
238LIBS = @LIBS@
239LIBTOOL = @LIBTOOL@
240LIPO = @LIPO@
241LN_S = @LN_S@
242LTLIBICONV = @LTLIBICONV@
243LTLIBINTL = @LTLIBINTL@
244LTLIBOBJS = @LTLIBOBJS@
245MAKEINFO = @MAKEINFO@
246MANIFEST_TOOL = @MANIFEST_TOOL@
247MKDIR_P = @MKDIR_P@
248MSGFMT = @MSGFMT@
249MSGFMT_015 = @MSGFMT_015@
250MSGMERGE = @MSGMERGE@
251NM = @NM@
252NMEDIT = @NMEDIT@
253OBJDUMP = @OBJDUMP@
254OBJEXT = @OBJEXT@
255OTOOL = @OTOOL@
256OTOOL64 = @OTOOL64@
257PACKAGE = @PACKAGE@
258PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
259PACKAGE_DATA = @PACKAGE_DATA@
260PACKAGE_NAME = @PACKAGE_NAME@
261PACKAGE_STRING = @PACKAGE_STRING@
262PACKAGE_TARNAME = @PACKAGE_TARNAME@
263PACKAGE_URL = @PACKAGE_URL@
264PACKAGE_VERSION = @PACKAGE_VERSION@
265PATH_SEPARATOR = @PATH_SEPARATOR@
266PKG_CONFIG = @PKG_CONFIG@
267POSUB = @POSUB@
268QR_CFLAGS = @QR_CFLAGS@
269QR_LIBS = @QR_LIBS@
270RANLIB = @RANLIB@
271SED = @SED@
272SET_MAKE = @SET_MAKE@
273SHELL = @SHELL@
274STRIP = @STRIP@
275USE_NLS = @USE_NLS@
276VERSION = @VERSION@
277XGETTEXT = @XGETTEXT@
278XGETTEXT_015 = @XGETTEXT_015@
279XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
280abs_builddir = @abs_builddir@
281abs_srcdir = @abs_srcdir@
282abs_top_builddir = @abs_top_builddir@
283abs_top_srcdir = @abs_top_srcdir@
284ac_ct_AR = @ac_ct_AR@
285ac_ct_CC = @ac_ct_CC@
286ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
287am__include = @am__include@
288am__leading_dot = @am__leading_dot@
289am__quote = @am__quote@
290am__tar = @am__tar@
291am__untar = @am__untar@
292bindir = @bindir@
293build = @build@
294build_alias = @build_alias@
295build_cpu = @build_cpu@
296build_os = @build_os@
297build_vendor = @build_vendor@
298builddir = @builddir@
299datadir = @datadir@
300datarootdir = @datarootdir@
301docdir = @docdir@
302dvidir = @dvidir@
303exec_prefix = @exec_prefix@
304host = @host@
305host_alias = @host_alias@
306host_cpu = @host_cpu@
307host_os = @host_os@
308host_vendor = @host_vendor@
309htmldir = @htmldir@
310includedir = @includedir@
311infodir = @infodir@
312install_sh = @install_sh@
313libdir = @libdir@
314libexecdir = @libexecdir@
315localedir = @localedir@
316localstatedir = @localstatedir@
317mandir = @mandir@
318mkdir_p = @mkdir_p@
319oldincludedir = @oldincludedir@
320pdfdir = @pdfdir@
321prefix = @prefix@
322program_transform_name = @program_transform_name@
323psdir = @psdir@
324sbindir = @sbindir@
325sharedstatedir = @sharedstatedir@
326srcdir = @srcdir@
327sysconfdir = @sysconfdir@
328target_alias = @target_alias@
329top_build_prefix = @top_build_prefix@
330top_builddir = @top_builddir@
331top_srcdir = @top_srcdir@
332unique_CFLAGS = @unique_CFLAGS@
333unique_LIBS = @unique_LIBS@
334SUBDIRS = .
335pkgpixdir = $(pkgdatadir)
336IMAGES = \
337 gnunet-setup-oxygen-cancel.png \
338 gnunet-setup-oxygen-ok.png
339
340EXTRA_DIST = \
341 gnunet-fs-gtk.protocol \
342 gnunet-fs-gtk-gnome.sh \
343 $(pkgdata_DATA) \
344 $(IMAGES)
345
346pkgdata_DATA = \
347 $(IMAGES) \
348 qr_dummy.png \
349 downloading.gif \
350 downloading_not_receiving.gif \
351 downloaded.gif \
352 error.gif \
353 found_source.gif \
354 published.gif \
355 publishing.gif \
356 red.png \
357 green.png \
358 searching_sources.gif \
359 gnunet_fs_gtk_about_window.glade \
360 gnunet_fs_gtk_download_as_dialog.glade \
361 gnunet_fs_gtk_main_window.glade \
362 gnunet_fs_gtk_edit_publication.glade \
363 gnunet_fs_gtk_open_directory_dialog.glade \
364 gnunet_fs_gtk_open_url_dialog.glade \
365 gnunet_fs_gtk_publish_dialog.glade \
366 gnunet_fs_gtk_publish_directory_dialog.glade \
367 gnunet_fs_gtk_publish_file_dialog.glade \
368 gnunet_fs_gtk_publish_tab.glade \
369 gnunet_fs_gtk_search_tab.glade \
370 gnunet_fs_gtk_unindex.glade \
371 gnunet_fs_gtk_progress_dialog.glade \
372 gnunet_gtk_status_bar_menu.glade \
373 gnunet_identity_gtk_about_window.glade \
374 gnunet_identity_gtk_advertise_dialog.glade \
375 gnunet_identity_gtk_main_window.glade \
376 gnunet_peerinfo_gtk_about_window.glade \
377 gnunet_peerinfo_gtk_main_window.glade \
378 gnunet_statistics_gtk_about_window.glade \
379 gnunet_statistics_gtk_main_window.glade \
380 gnunet_setup_calendar_dialog.glade \
381 gnunet_setup_qr_save_as_dialog.glade \
382 gnunet_setup_gtk_main_window.glade \
383 gnunet_setup_gns_edit_a.glade \
384 gnunet_setup_gns_edit_ns.glade \
385 gnunet_setup_gns_edit_cname.glade \
386 gnunet_setup_gns_edit_soa.glade \
387 gnunet_setup_gns_edit_ptr.glade \
388 gnunet_setup_gns_edit_mx.glade \
389 gnunet_setup_gns_edit_txt.glade \
390 gnunet_setup_gns_edit_aaaa.glade \
391 gnunet_setup_gns_edit_pkey.glade \
392 gnunet_setup_gns_edit_leho.glade \
393 gnunet_setup_gns_edit_srv.glade \
394 gnunet_setup_gns_edit_vpn.glade
395
396all: all-recursive
397
398.SUFFIXES:
399$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
400 @for dep in $?; do \
401 case '$(am__configure_deps)' in \
402 *$$dep*) \
403 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
404 && { if test -f $@; then exit 0; else break; fi; }; \
405 exit 1;; \
406 esac; \
407 done; \
408 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu contrib/Makefile'; \
409 $(am__cd) $(top_srcdir) && \
410 $(AUTOMAKE) --gnu contrib/Makefile
411.PRECIOUS: Makefile
412Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
413 @case '$?' in \
414 *config.status*) \
415 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
416 *) \
417 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
418 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
419 esac;
420
421$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
422 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
423
424$(top_srcdir)/configure: $(am__configure_deps)
425 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
426$(ACLOCAL_M4): $(am__aclocal_m4_deps)
427 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
428$(am__aclocal_m4_deps):
429gnunet_fs_gtk_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_fs_gtk_about_window.glade.in
430 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
431gnunet_identity_gtk_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_identity_gtk_about_window.glade.in
432 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
433gnunet_peerinfo_gtk_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_peerinfo_gtk_about_window.glade.in
434 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
435gnunet_statistics_gtk_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_statistics_gtk_about_window.glade.in
436 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
437gnunet_setup_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_setup_about_window.glade.in
438 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
439
440mostlyclean-libtool:
441 -rm -f *.lo
442
443clean-libtool:
444 -rm -rf .libs _libs
445install-pkgdataDATA: $(pkgdata_DATA)
446 @$(NORMAL_INSTALL)
447 @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
448 if test -n "$$list"; then \
449 echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
450 $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
451 fi; \
452 for p in $$list; do \
453 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
454 echo "$$d$$p"; \
455 done | $(am__base_list) | \
456 while read files; do \
457 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
458 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
459 done
460
461uninstall-pkgdataDATA:
462 @$(NORMAL_UNINSTALL)
463 @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
464 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
465 dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
466
467# This directory's subdirectories are mostly independent; you can cd
468# into them and run `make' without going through this Makefile.
469# To change the values of `make' variables: instead of editing Makefiles,
470# (1) if the variable is set in `config.status', edit `config.status'
471# (which will cause the Makefiles to be regenerated when you run `make');
472# (2) otherwise, pass the desired values on the `make' command line.
473$(RECURSIVE_TARGETS):
474 @fail= failcom='exit 1'; \
475 for f in x $$MAKEFLAGS; do \
476 case $$f in \
477 *=* | --[!k]*);; \
478 *k*) failcom='fail=yes';; \
479 esac; \
480 done; \
481 dot_seen=no; \
482 target=`echo $@ | sed s/-recursive//`; \
483 list='$(SUBDIRS)'; for subdir in $$list; do \
484 echo "Making $$target in $$subdir"; \
485 if test "$$subdir" = "."; then \
486 dot_seen=yes; \
487 local_target="$$target-am"; \
488 else \
489 local_target="$$target"; \
490 fi; \
491 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
492 || eval $$failcom; \
493 done; \
494 if test "$$dot_seen" = "no"; then \
495 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
496 fi; test -z "$$fail"
497
498$(RECURSIVE_CLEAN_TARGETS):
499 @fail= failcom='exit 1'; \
500 for f in x $$MAKEFLAGS; do \
501 case $$f in \
502 *=* | --[!k]*);; \
503 *k*) failcom='fail=yes';; \
504 esac; \
505 done; \
506 dot_seen=no; \
507 case "$@" in \
508 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
509 *) list='$(SUBDIRS)' ;; \
510 esac; \
511 rev=''; for subdir in $$list; do \
512 if test "$$subdir" = "."; then :; else \
513 rev="$$subdir $$rev"; \
514 fi; \
515 done; \
516 rev="$$rev ."; \
517 target=`echo $@ | sed s/-recursive//`; \
518 for subdir in $$rev; do \
519 echo "Making $$target in $$subdir"; \
520 if test "$$subdir" = "."; then \
521 local_target="$$target-am"; \
522 else \
523 local_target="$$target"; \
524 fi; \
525 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
526 || eval $$failcom; \
527 done && test -z "$$fail"
528tags-recursive:
529 list='$(SUBDIRS)'; for subdir in $$list; do \
530 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
531 done
532ctags-recursive:
533 list='$(SUBDIRS)'; for subdir in $$list; do \
534 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
535 done
536
537ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
538 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
539 unique=`for i in $$list; do \
540 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
541 done | \
542 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
543 END { if (nonempty) { for (i in files) print i; }; }'`; \
544 mkid -fID $$unique
545tags: TAGS
546
547TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
548 $(TAGS_FILES) $(LISP)
549 set x; \
550 here=`pwd`; \
551 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
552 include_option=--etags-include; \
553 empty_fix=.; \
554 else \
555 include_option=--include; \
556 empty_fix=; \
557 fi; \
558 list='$(SUBDIRS)'; for subdir in $$list; do \
559 if test "$$subdir" = .; then :; else \
560 test ! -f $$subdir/TAGS || \
561 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
562 fi; \
563 done; \
564 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
565 unique=`for i in $$list; do \
566 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
567 done | \
568 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
569 END { if (nonempty) { for (i in files) print i; }; }'`; \
570 shift; \
571 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
572 test -n "$$unique" || unique=$$empty_fix; \
573 if test $$# -gt 0; then \
574 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
575 "$$@" $$unique; \
576 else \
577 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
578 $$unique; \
579 fi; \
580 fi
581ctags: CTAGS
582CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
583 $(TAGS_FILES) $(LISP)
584 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
585 unique=`for i in $$list; do \
586 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
587 done | \
588 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
589 END { if (nonempty) { for (i in files) print i; }; }'`; \
590 test -z "$(CTAGS_ARGS)$$unique" \
591 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
592 $$unique
593
594GTAGS:
595 here=`$(am__cd) $(top_builddir) && pwd` \
596 && $(am__cd) $(top_srcdir) \
597 && gtags -i $(GTAGS_ARGS) "$$here"
598
599distclean-tags:
600 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
601
602distdir: $(DISTFILES)
603 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
604 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
605 list='$(DISTFILES)'; \
606 dist_files=`for file in $$list; do echo $$file; done | \
607 sed -e "s|^$$srcdirstrip/||;t" \
608 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
609 case $$dist_files in \
610 */*) $(MKDIR_P) `echo "$$dist_files" | \
611 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
612 sort -u` ;; \
613 esac; \
614 for file in $$dist_files; do \
615 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
616 if test -d $$d/$$file; then \
617 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
618 if test -d "$(distdir)/$$file"; then \
619 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
620 fi; \
621 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
622 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
623 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
624 fi; \
625 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
626 else \
627 test -f "$(distdir)/$$file" \
628 || cp -p $$d/$$file "$(distdir)/$$file" \
629 || exit 1; \
630 fi; \
631 done
632 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
633 if test "$$subdir" = .; then :; else \
634 $(am__make_dryrun) \
635 || test -d "$(distdir)/$$subdir" \
636 || $(MKDIR_P) "$(distdir)/$$subdir" \
637 || exit 1; \
638 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
639 $(am__relativize); \
640 new_distdir=$$reldir; \
641 dir1=$$subdir; dir2="$(top_distdir)"; \
642 $(am__relativize); \
643 new_top_distdir=$$reldir; \
644 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
645 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
646 ($(am__cd) $$subdir && \
647 $(MAKE) $(AM_MAKEFLAGS) \
648 top_distdir="$$new_top_distdir" \
649 distdir="$$new_distdir" \
650 am__remove_distdir=: \
651 am__skip_length_check=: \
652 am__skip_mode_fix=: \
653 distdir) \
654 || exit 1; \
655 fi; \
656 done
657 $(MAKE) $(AM_MAKEFLAGS) \
658 top_distdir="$(top_distdir)" distdir="$(distdir)" \
659 dist-hook
660check-am: all-am
661check: check-recursive
662all-am: Makefile $(DATA)
663installdirs: installdirs-recursive
664installdirs-am:
665 for dir in "$(DESTDIR)$(pkgdatadir)"; do \
666 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
667 done
668install: install-recursive
669install-exec: install-exec-recursive
670install-data: install-data-recursive
671uninstall: uninstall-recursive
672
673install-am: all-am
674 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
675
676installcheck: installcheck-recursive
677install-strip:
678 if test -z '$(STRIP)'; then \
679 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
680 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
681 install; \
682 else \
683 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
684 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
685 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
686 fi
687mostlyclean-generic:
688
689clean-generic:
690
691distclean-generic:
692 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
693 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
694
695maintainer-clean-generic:
696 @echo "This command is intended for maintainers to use"
697 @echo "it deletes files that may require special tools to rebuild."
698clean: clean-recursive
699
700clean-am: clean-generic clean-libtool mostlyclean-am
701
702distclean: distclean-recursive
703 -rm -f Makefile
704distclean-am: clean-am distclean-generic distclean-tags
705
706dvi: dvi-recursive
707
708dvi-am:
709
710html: html-recursive
711
712html-am:
713
714info: info-recursive
715
716info-am:
717
718install-data-am: install-data-local install-pkgdataDATA
719
720install-dvi: install-dvi-recursive
721
722install-dvi-am:
723
724install-exec-am:
725
726install-html: install-html-recursive
727
728install-html-am:
729
730install-info: install-info-recursive
731
732install-info-am:
733
734install-man:
735
736install-pdf: install-pdf-recursive
737
738install-pdf-am:
739
740install-ps: install-ps-recursive
741
742install-ps-am:
743
744installcheck-am:
745
746maintainer-clean: maintainer-clean-recursive
747 -rm -f Makefile
748maintainer-clean-am: distclean-am maintainer-clean-generic
749
750mostlyclean: mostlyclean-recursive
751
752mostlyclean-am: mostlyclean-generic mostlyclean-libtool
753
754pdf: pdf-recursive
755
756pdf-am:
757
758ps: ps-recursive
759
760ps-am:
761
762uninstall-am: uninstall-pkgdataDATA
763
764.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
765 install-am install-strip tags-recursive
766
767.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
768 all all-am check check-am clean clean-generic clean-libtool \
769 ctags ctags-recursive dist-hook distclean distclean-generic \
770 distclean-libtool distclean-tags distdir dvi dvi-am html \
771 html-am info info-am install install-am install-data \
772 install-data-am install-data-local install-dvi install-dvi-am \
773 install-exec install-exec-am install-html install-html-am \
774 install-info install-info-am install-man install-pdf \
775 install-pdf-am install-pkgdataDATA install-ps install-ps-am \
776 install-strip installcheck installcheck-am installdirs \
777 installdirs-am maintainer-clean maintainer-clean-generic \
778 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
779 ps ps-am tags tags-recursive uninstall uninstall-am \
780 uninstall-pkgdataDATA
781
782
783install-data-local:
784 $(mkinstalldirs) $(DESTDIR)$(pkgpixdir)
785 $(mkinstalldirs) $(DESTDIR)$(pkgpixdir)/flags
786 @$(NORMAL_INSTALL)
787 for pixmap in $(IMAGES); do \
788 if test -f $$pixmap; then \
789 $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgpixdir); \
790 fi \
791 done
792 for flag in $(srcdir)/flags/*.png; do \
793 if test -f $$flag; then \
794 $(INSTALL_DATA) $$flag $(DESTDIR)$(pkgpixdir)/flags/ ; \
795 fi \
796 done
797
798dist-hook:
799 if test -d $(srcdir)/flags; then \
800 mkdir -p $(distdir)/flags; \
801 for flag in $(srcdir)/flags/*.png; do \
802 if test -f $$flag; then \
803 cp -p $$flag $(distdir)/flags; \
804 fi \
805 done \
806 fi
807
808# Tell versions [3.59,3.63) of GNU make to not export all variables.
809# Otherwise a system limit (for SysV at least) may be exceeded.
810.NOEXPORT:
diff --git a/contrib/gnunet_identity_gtk_about_window.glade.in b/contrib/gnunet_identity_gtk_about_window.glade.in
new file mode 100644
index 00000000..e7cd503a
--- /dev/null
+++ b/contrib/gnunet_identity_gtk_about_window.glade.in
@@ -0,0 +1,360 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="2.20"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkTextBuffer" id="credits_art_contents">
6 <property name="text">Jakub 'jimmac' Steiner &lt;jimmac@ximian.org&gt;
7Christian Muellner &lt;chris@flop.de&gt;
8Alex Jones &lt;alexrjones@ntlworld.com&gt;
9Nicklas Larsson &lt;whybill@gmail.com&gt;</property>
10 </object>
11 <object class="GtkTextBuffer" id="credits_authors_contents">
12 <property name="text">Juergen Appel &lt;jappel@linux01.gwdg.de&gt;
13Krista Grothoff &lt;krista@grothoff.org&gt;
14James Blackwell &lt;jblack@linuxguru.net&gt;
15Ludovic Courtes &lt;ludo@chbouib.org&gt;
16Nils Durner &lt;durner@gnunet.org&gt;
17Renaldo Ferreira &lt;rf@cs.purdue.edu&gt;
18Christian Grothoff &lt;christian@grothoff.org&gt;
19Eric Haumant
20Tzvetan Horozov &lt;horozov@motorola.com&gt;
21Gerd Knorr &lt;kraxel@bytesex.org&gt;
22Werner Koch &lt;libgcrypt@g10code.com&gt;
23Uli Luckas &lt;luckas@musoft.de&gt;
24Blake Matheny
25Glenn McGrath
26Hendrik Pagenhardt &lt;Hendrik.Pagenhardt@gmx.net&gt;
27Ioana Patrascu &lt;ioanapatrascu@yahoo.com&gt;
28Marko Raeihae
29Paul Ruth &lt;ruth@cs.purdue.edu&gt;
30Risto Saarelma
31Antti Salonen
32Tiberius Stef &lt;tstef@cs.purdue.edu&gt;
33Tuomas Toivonen
34Tomi Tukiainen
35Kevin Vandersloot &lt;kfv101@psu.edu&gt;
36Simo Viitanen
37Larry Waldo
38Igor Wronsky &lt;iwronsky@users.sourceforge.net&gt;
39&lt;january@hushmail.com&gt;</property>
40 </object>
41 <object class="GtkTextBuffer" id="credits_docs_contents">
42 <property name="text">Christian Grothoff &lt;christian@grothoff.org&gt;
43Anders Carlsson &lt;andersca@gnu.org&gt;
44Nils Durner &lt;durner@gnunet.org&gt;
45Nicklas Larsson &lt;whybill@gmail.com&gt;
46Milan Bouchet-Valat &lt;nalimilan@club.fr&gt;
47Igor Wronsky &lt;iwronsky@users.sourceforge.net&gt;</property>
48 </object>
49 <object class="GtkTextBuffer" id="credits_trans_contents">
50 <property name="text">Di Ma
51Jens Palsberg &lt;palsberg@cs.ucla.edu&gt;
52Christian Grothoff &lt;christian@grothoff.org&gt;
53Nils Durner &lt;durner@gnunet.org&gt;
54Mathieu &lt;mollo@bghflt.org&gt;
55Eric Haumant
56milan@skoid.org
57Hiroshi Yamauchi &lt;yamauchi@cs.purdue.edu&gt;
58Adam Welc &lt;welc@cs.purdue.edu&gt;
59Bogdan Carbunar &lt;carbunar@cs.purdue.edu&gt;
60Steven Michael Murphy &lt;murf@e-tools.com&gt;
61Phan Vinh Thinh &lt;teppi82@gmail.com&gt;
62Daniel Nylander &lt;po@danielnylander.se&gt;</property>
63 </object>
64 <object class="GtkTextBuffer" id="license_contents">
65 <property name="text" translatable="yes">License should be loaded here at runtime from the license file (no need to copy the whole GPL in here...).</property>
66 </object>
67 <object class="GtkWindow" id="about_window">
68 <property name="can_focus">False</property>
69 <property name="modal">True</property>
70 <property name="destroy_with_parent">True</property>
71 <signal name="realize" handler="GNUNET_GTK_about_window_realized" swapped="no"/>
72 <signal name="delete-event" handler="GNUNET_GTK_about_window_got_delete_event" swapped="no"/>
73 <child>
74 <object class="GtkVBox" id="about_main_vbox">
75 <property name="visible">True</property>
76 <property name="can_focus">False</property>
77 <property name="border_width">10</property>
78 <child>
79 <object class="GtkImage" id="about_logo_image">
80 <property name="visible">True</property>
81 <property name="can_focus">False</property>
82 <property name="pixbuf">gnunet_logo.png</property>
83 </object>
84 <packing>
85 <property name="expand">False</property>
86 <property name="fill">True</property>
87 <property name="position">0</property>
88 </packing>
89 </child>
90 <child>
91 <object class="GtkLabel" id="about_name_version_label">
92 <property name="visible">True</property>
93 <property name="can_focus">False</property>
94 <property name="label">@GNUNET_PEERINFO_GTK_NAME@ @GNUNET_PEERINFO_GTK_VERSION3@</property>
95 <attributes>
96 <attribute name="weight" value="bold"/>
97 <attribute name="size" value="200"/>
98 </attributes>
99 </object>
100 <packing>
101 <property name="expand">False</property>
102 <property name="fill">True</property>
103 <property name="position">1</property>
104 </packing>
105 </child>
106 <child>
107 <object class="GtkLabel" id="about_copyright_label">
108 <property name="visible">True</property>
109 <property name="can_focus">False</property>
110 <property name="label">(C) @GNUNET_PEERINFO_GTK_YEARFROM@-@GNUNET_PEERINFO_GTK_YEARTO@ The GNUnet Project</property>
111 </object>
112 <packing>
113 <property name="expand">False</property>
114 <property name="fill">True</property>
115 <property name="position">2</property>
116 </packing>
117 </child>
118 <child>
119 <object class="GtkLabel" id="about_link_label">
120 <property name="visible">True</property>
121 <property name="can_focus">False</property>
122 <property name="label">&lt;a href="https://gnunet.org/"&gt;GNUnet: GNU's Framework for Secure P2P Networking&lt;/a&gt;</property>
123 <property name="use_markup">True</property>
124 <property name="wrap">True</property>
125 </object>
126 <packing>
127 <property name="expand">False</property>
128 <property name="fill">True</property>
129 <property name="position">3</property>
130 </packing>
131 </child>
132 <child>
133 <object class="GtkNotebook" id="about_credits_notebook">
134 <property name="can_focus">True</property>
135 <child>
136 <object class="GtkScrolledWindow" id="about_credits_authors_scroller">
137 <property name="visible">True</property>
138 <property name="can_focus">True</property>
139 <property name="hscrollbar_policy">automatic</property>
140 <property name="vscrollbar_policy">automatic</property>
141 <child>
142 <object class="GtkTextView" id="about_credits_authors_textview">
143 <property name="visible">True</property>
144 <property name="can_focus">True</property>
145 <property name="editable">False</property>
146 <property name="wrap_mode">word</property>
147 <property name="cursor_visible">False</property>
148 <property name="buffer">credits_authors_contents</property>
149 <property name="accepts_tab">False</property>
150 </object>
151 </child>
152 </object>
153 </child>
154 <child type="tab">
155 <object class="GtkLabel" id="about_credits_authors_tab">
156 <property name="visible">True</property>
157 <property name="can_focus">False</property>
158 <property name="label" translatable="yes">Developed by</property>
159 </object>
160 <packing>
161 <property name="tab_fill">False</property>
162 </packing>
163 </child>
164 <child>
165 <object class="GtkScrolledWindow" id="about_credits_docs_scroller">
166 <property name="visible">True</property>
167 <property name="can_focus">True</property>
168 <property name="hscrollbar_policy">automatic</property>
169 <property name="vscrollbar_policy">automatic</property>
170 <child>
171 <object class="GtkTextView" id="about_credits_docs_textview">
172 <property name="visible">True</property>
173 <property name="can_focus">True</property>
174 <property name="editable">False</property>
175 <property name="wrap_mode">word</property>
176 <property name="cursor_visible">False</property>
177 <property name="buffer">credits_docs_contents</property>
178 <property name="accepts_tab">False</property>
179 </object>
180 </child>
181 </object>
182 <packing>
183 <property name="position">1</property>
184 </packing>
185 </child>
186 <child type="tab">
187 <object class="GtkLabel" id="about_credits_docs_tab">
188 <property name="visible">True</property>
189 <property name="can_focus">False</property>
190 <property name="label" translatable="yes">Documented by</property>
191 </object>
192 <packing>
193 <property name="position">1</property>
194 <property name="tab_fill">False</property>
195 </packing>
196 </child>
197 <child>
198 <object class="GtkScrolledWindow" id="about_credits_trans_scroller">
199 <property name="visible">True</property>
200 <property name="can_focus">True</property>
201 <property name="hscrollbar_policy">automatic</property>
202 <property name="vscrollbar_policy">automatic</property>
203 <child>
204 <object class="GtkTextView" id="about_credits_trans_textview">
205 <property name="visible">True</property>
206 <property name="can_focus">True</property>
207 <property name="editable">False</property>
208 <property name="wrap_mode">word</property>
209 <property name="cursor_visible">False</property>
210 <property name="buffer">credits_trans_contents</property>
211 <property name="accepts_tab">False</property>
212 </object>
213 </child>
214 </object>
215 <packing>
216 <property name="position">2</property>
217 </packing>
218 </child>
219 <child type="tab">
220 <object class="GtkLabel" id="about_credits_trans_tab">
221 <property name="visible">True</property>
222 <property name="can_focus">False</property>
223 <property name="label" translatable="yes">Translated by</property>
224 </object>
225 <packing>
226 <property name="position">2</property>
227 <property name="tab_fill">False</property>
228 </packing>
229 </child>
230 <child>
231 <object class="GtkScrolledWindow" id="about_credits_art_scroller">
232 <property name="visible">True</property>
233 <property name="can_focus">True</property>
234 <property name="hscrollbar_policy">automatic</property>
235 <property name="vscrollbar_policy">automatic</property>
236 <child>
237 <object class="GtkTextView" id="about_credits_art_textview">
238 <property name="visible">True</property>
239 <property name="can_focus">True</property>
240 <property name="editable">False</property>
241 <property name="wrap_mode">word</property>
242 <property name="cursor_visible">False</property>
243 <property name="buffer">credits_art_contents</property>
244 <property name="accepts_tab">False</property>
245 </object>
246 </child>
247 </object>
248 <packing>
249 <property name="position">3</property>
250 </packing>
251 </child>
252 <child type="tab">
253 <object class="GtkLabel" id="about_credits_art_tab">
254 <property name="visible">True</property>
255 <property name="can_focus">False</property>
256 <property name="label" translatable="yes">Artwork by</property>
257 </object>
258 <packing>
259 <property name="position">3</property>
260 <property name="tab_fill">False</property>
261 </packing>
262 </child>
263 </object>
264 <packing>
265 <property name="expand">True</property>
266 <property name="fill">True</property>
267 <property name="position">4</property>
268 </packing>
269 </child>
270 <child>
271 <object class="GtkScrolledWindow" id="about_license_scroller">
272 <property name="can_focus">True</property>
273 <property name="hscrollbar_policy">never</property>
274 <property name="shadow_type">out</property>
275 <child>
276 <object class="GtkTextView" id="about_license_textview">
277 <property name="visible">True</property>
278 <property name="can_focus">True</property>
279 <property name="editable">False</property>
280 <property name="wrap_mode">word</property>
281 <property name="cursor_visible">False</property>
282 <property name="buffer">license_contents</property>
283 <property name="accepts_tab">False</property>
284 </object>
285 </child>
286 </object>
287 <packing>
288 <property name="expand">True</property>
289 <property name="fill">True</property>
290 <property name="position">5</property>
291 </packing>
292 </child>
293 <child>
294 <object class="GtkHBox" id="about_buttons_hbox">
295 <property name="visible">True</property>
296 <property name="can_focus">False</property>
297 <property name="border_width">5</property>
298 <property name="homogeneous">True</property>
299 <child>
300 <object class="GtkButton" id="about_credits_button">
301 <property name="label" translatable="yes">Credits</property>
302 <property name="use_action_appearance">False</property>
303 <property name="visible">True</property>
304 <property name="can_focus">True</property>
305 <property name="receives_default">True</property>
306 <signal name="clicked" handler="GNUNET_GTK_about_credits_button_clicked" swapped="no"/>
307 </object>
308 <packing>
309 <property name="expand">True</property>
310 <property name="fill">False</property>
311 <property name="position">0</property>
312 </packing>
313 </child>
314 <child>
315 <object class="GtkButton" id="about_license_button">
316 <property name="label" translatable="yes">License</property>
317 <property name="use_action_appearance">False</property>
318 <property name="visible">True</property>
319 <property name="can_focus">True</property>
320 <property name="receives_default">True</property>
321 <signal name="clicked" handler="GNUNET_GTK_about_license_button_clicked" swapped="no"/>
322 </object>
323 <packing>
324 <property name="expand">True</property>
325 <property name="fill">False</property>
326 <property name="position">1</property>
327 </packing>
328 </child>
329 <child>
330 <object class="GtkButton" id="about_close_button">
331 <property name="label">gtk-close</property>
332 <property name="use_action_appearance">False</property>
333 <property name="visible">True</property>
334 <property name="can_focus">True</property>
335 <property name="receives_default">True</property>
336 <property name="use_stock">True</property>
337 <signal name="clicked" handler="GNUNET_GTK_about_close_button_clicked" swapped="no"/>
338 </object>
339 <packing>
340 <property name="expand">True</property>
341 <property name="fill">False</property>
342 <property name="pack_type">end</property>
343 <property name="position">2</property>
344 </packing>
345 </child>
346 <child>
347 <placeholder/>
348 </child>
349 </object>
350 <packing>
351 <property name="expand">False</property>
352 <property name="fill">False</property>
353 <property name="pack_type">end</property>
354 <property name="position">6</property>
355 </packing>
356 </child>
357 </object>
358 </child>
359 </object>
360</interface>
diff --git a/contrib/gnunet_identity_gtk_main_window.glade b/contrib/gnunet_identity_gtk_main_window.glade
index b4619c8f..2e19a3b7 100644
--- a/contrib/gnunet_identity_gtk_main_window.glade
+++ b/contrib/gnunet_identity_gtk_main_window.glade
@@ -40,11 +40,11 @@
40 <property name="can_focus">False</property> 40 <property name="can_focus">False</property>
41 <property name="use_underline">True</property> 41 <property name="use_underline">True</property>
42 <property name="use_stock">True</property> 42 <property name="use_stock">True</property>
43 <signal name="activate" handler="GNUNET_GTK_identity_quit_imagemenuitem_activate_cb" swapped="no"/> 43 <signal name="activate" handler="GNUNET_GTK_identity_quit_cb" swapped="no"/>
44 </object> 44 </object>
45 </child> 45 </child>
46 </object> 46 </object>
47 </child> 47 </child>_
48 </object> 48 </object>
49 </child> 49 </child>
50 <child> 50 <child>
diff --git a/src/identity/Makefile.am b/src/identity/Makefile.am
new file mode 100644
index 00000000..001a4e29
--- /dev/null
+++ b/src/identity/Makefile.am
@@ -0,0 +1,22 @@
1SUBDIRS = .
2
3INCLUDES = \
4 -I$(top_srcdir)/ \
5 -I$(top_srcdir)/src/include \
6 @GTK_CFLAGS@ \
7 @GNUNET_CFLAGS@ \
8 @GLADE_CFLAGS@
9
10bin_PROGRAMS = gnunet-identity-gtk
11
12gnunet_identity_gtk_SOURCES = \
13 gnunet-identity-gtk.c \
14 gnunet-identity-gtk_about.c
15gnunet_identity_gtk_LDADD = \
16 $(top_builddir)/src/lib/libgnunetgtk.la \
17 @GTK_LIBS@ \
18 @GLADE_LIBS@ @GNUNET_LIBS@ \
19 -lgnunetutil -lgnunetidentity -lgnunetfs \
20 $(INTLLIBS)
21gnunet_identity_gtk_LDFLAGS = \
22 -export-dynamic
diff --git a/src/identity/gnunet-identity-gtk.c b/src/identity/gnunet-identity-gtk.c
new file mode 100644
index 00000000..7c9f24bd
--- /dev/null
+++ b/src/identity/gnunet-identity-gtk.c
@@ -0,0 +1,269 @@
1/*
2 This file is part of GNUnet.
3 (C) 2010-2013 Christian Grothoff (and other contributing authors)
4
5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 3, or (at your
8 option) any later version.
9
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19*/
20
21/**
22 * @file src/identity/gnunet-identity-gtk.c
23 * @brief Main function of gnunet-identity-gtk
24 * @author Christian Grothoff
25 */
26#include "gnunet_gtk.h"
27#include <gnunet/gnunet_identity_service.h>
28
29
30/**
31 * Columns in the identity model.
32 */
33enum IDENTITY_ModelColumns
34 {
35 /**
36 * A gchararray
37 */
38 IDENTITY_MC_NAME = 0,
39
40 /**
41 * A gchararray
42 */
43 IDENTITY_MC_IDENTIFIER = 1,
44
45 /**
46 * A 'struct GNUNET_IDENTIFIER_Ego'
47 */
48 IDENTITY_MC_EGO = 2
49
50 };
51
52
53/**
54 * Handle to our main loop.
55 */
56static struct GNUNET_GTK_MainLoop *ml;
57
58/**
59 * Handle to IDENTITY service.
60 */
61static struct GNUNET_IDENTITY_Handle *identity;
62
63/**
64 * Should gnunet-identity-gtk start in tray mode?
65 */
66static int tray_only;
67
68/**
69 * Main window list store.
70 */
71static GtkListStore *ls;
72
73
74/**
75 * Get cfg.
76 */
77static const struct GNUNET_CONFIGURATION_Handle *
78get_configuration ()
79{
80 return GNUNET_GTK_main_loop_get_configuration (ml);
81}
82
83
84/**
85 * Get an object from the main window.
86 *
87 * @param name name of the object
88 * @return NULL on error
89 */
90static GObject *
91get_object (const char *name)
92{
93 return GNUNET_GTK_main_loop_get_object (ml, name);
94}
95
96
97/**
98 * Task run on shutdown.
99 *
100 * @param cls unused
101 * @param tc scheduler context, unused
102 */
103static void
104shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
105{
106 if (NULL != identity)
107 {
108 GNUNET_IDENTITY_disconnect (identity);
109 identity = NULL;
110 }
111 GNUNET_GTK_tray_icon_destroy ();
112 GNUNET_GTK_main_loop_quit (ml);
113 ml = NULL;
114}
115
116
117/**
118 * Callback invoked if the application is supposed to exit.
119 *
120 * @param object
121 * @param user_data unused
122 */
123void
124GNUNET_GTK_identity_quit_cb (GObject * object, gpointer user_data)
125{
126 GNUNET_SCHEDULER_shutdown ();
127}
128
129
130/**
131 * Add all updateable entries of the current namespace to the
132 * tree store.
133 *
134 * @param cls our 'struct MainPublishingDialogContext'
135 * @param ego identity of the namespace to add
136 * @param ego_ctx where to store context data
137 * @param name name of the namespace to add
138 */
139static void
140add_ego (void *cls,
141 struct GNUNET_IDENTITY_Ego *ego,
142 void **ego_ctx,
143 const char *name)
144{
145 GtkTreePath *path;
146 GtkTreeRowReference *rr;
147 GtkTreeIter iter;
148 char *id;
149 struct GNUNET_CRYPTO_EccPublicKey pub;
150
151 if (NULL == ego)
152 return; /* nothing to be done */
153 rr = *ego_ctx;
154 if (NULL == rr)
155 {
156 /* insert operation */
157 GNUNET_assert (NULL != name);
158 GNUNET_IDENTITY_ego_get_public_key (ego, &pub);
159 id = GNUNET_CRYPTO_ecc_public_key_to_string (&pub);
160 gtk_list_store_insert_with_values (ls,
161 &iter, G_MAXINT,
162 IDENTITY_MC_NAME, name,
163 IDENTITY_MC_IDENTIFIER, id,
164 IDENTITY_MC_EGO, ego,
165 -1);
166 GNUNET_free (id);
167 path = gtk_tree_model_get_path (GTK_TREE_MODEL (ls),
168 &iter);
169 rr = gtk_tree_row_reference_new (GTK_TREE_MODEL (ls),
170 path);
171 gtk_tree_path_free (path);
172 *ego_ctx = rr;
173 }
174 else if (NULL == name)
175 {
176 /* delete operation */
177 path = gtk_tree_row_reference_get_path (rr);
178 gtk_tree_row_reference_free (rr);
179 GNUNET_assert (gtk_tree_model_get_iter (GTK_TREE_MODEL (ls),
180 &iter, path));
181 gtk_tree_path_free (path);
182 gtk_list_store_remove (ls, &iter);
183 *ego_ctx = NULL;
184 }
185 else
186 {
187 /* rename operation */
188 path = gtk_tree_row_reference_get_path (rr);
189 GNUNET_assert (gtk_tree_model_get_iter (GTK_TREE_MODEL (ls),
190 &iter, path));
191 gtk_list_store_set (ls,
192 &iter, G_MAXINT,
193 IDENTITY_MC_NAME, name,
194 -1);
195 gtk_tree_path_free (path);
196 }
197}
198
199
200/**
201 * Actual main function run right after GNUnet's scheduler
202 * is initialized. Initializes up GTK and Glade.
203 *
204 * @param cls NULL
205 * @param tc schedule context
206 */
207static void
208run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
209{
210 GtkWidget *main_window;
211
212 ml = cls;
213 if (GNUNET_OK != GNUNET_GTK_main_loop_build_window (ml, NULL))
214 return;
215 GNUNET_GTK_set_icon_search_path ();
216 GNUNET_GTK_setup_nls ();
217 /* setup main window */
218 main_window = GTK_WIDGET (get_object ("GNUNET_GTK_identity_window"));
219 ls = GTK_LIST_STORE (get_object ("GNUNET_GTK_identity_liststore"));
220 GNUNET_assert (NULL != ls);
221 gtk_window_maximize (GTK_WINDOW (main_window));
222 GNUNET_GTK_tray_icon_create (ml,
223 GTK_WINDOW (main_window),
224 "gnunet-gtk" /* FIXME: different icon? */ ,
225 "gnunet-identity-gtk");
226
227 /* make GUI visible */
228 if (!tray_only)
229 {
230 gtk_widget_show (main_window);
231 gtk_window_present (GTK_WINDOW (main_window));
232 }
233 identity = GNUNET_IDENTITY_connect (get_configuration (),
234 &add_ego,
235 NULL);
236 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
237 &shutdown_task, NULL);
238}
239
240
241/**
242 * Main function of gnunet-identity-gtk.
243 *
244 * @param argc number of arguments
245 * @param argv arguments
246 * @return 0 on success
247 */
248int
249main (int argc, char *const *argv)
250{
251 static struct GNUNET_GETOPT_CommandLineOption options[] = {
252 {'t', "tray", NULL,
253 gettext_noop ("start in tray mode"), 0,
254 &GNUNET_GETOPT_set_one, &tray_only},
255 GNUNET_GETOPT_OPTION_END
256 };
257
258 if (GNUNET_OK !=
259 GNUNET_GTK_main_loop_start ("gnunet-identity-gtk",
260 "GTK GUI for managing egos", argc,
261 argv, options,
262 "gnunet_identity_gtk_main_window.glade",
263 &run))
264 return 1;
265 return 0;
266}
267
268
269/* end of gnunet-identity-gtk.c */
diff --git a/src/identity/gnunet-identity-gtk_about.c b/src/identity/gnunet-identity-gtk_about.c
new file mode 100644
index 00000000..cedfdef1
--- /dev/null
+++ b/src/identity/gnunet-identity-gtk_about.c
@@ -0,0 +1,41 @@
1/*
2 This file is part of GNUnet
3 (C) 2005-2013 Christian Grothoff (and other contributing authors)
4
5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 3, or (at your
8 option) any later version.
9
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19*/
20/**
21 * @file src/identity/gnunet-identity-gtk_about.c
22 * @author Christian Grothoff
23 * @author Igor Wronsky
24 *
25 * This file contains the about dialog.
26 */
27#include "gnunet_gtk.h"
28
29
30/**
31 * This displays an about window
32 */
33void
34GNUNET_GTK_identity_about_imagemenuitem_activate_cb (GtkWidget * dummy,
35 gpointer data)
36{
37 GNUNET_GTK_display_about ("gnunet_identity_gtk_about_window.glade");
38}
39
40
41/* end of gnunet-peerinfo-gtk_about.c */
diff --git a/src/lib/about.c b/src/lib/about.c
index 5c8b4288..ae570781 100644
--- a/src/lib/about.c
+++ b/src/lib/about.c
@@ -126,10 +126,11 @@ void
126GNUNET_GTK_display_about (const char *dialogfile) 126GNUNET_GTK_display_about (const char *dialogfile)
127{ 127{
128 struct AboutDialogContext *ctx; 128 struct AboutDialogContext *ctx;
129 ctx = GNUNET_malloc (sizeof (struct AboutDialogContext)); 129
130 ctx = GNUNET_new (struct AboutDialogContext);
130 ctx->builder = GNUNET_GTK_get_new_builder (dialogfile, ctx); 131 ctx->builder = GNUNET_GTK_get_new_builder (dialogfile, ctx);
131 132
132 if (ctx->builder == NULL) 133 if (NULL == ctx->builder)
133 { 134 {
134 GNUNET_free (ctx); 135 GNUNET_free (ctx);
135 return; 136 return;
diff --git a/src/peerinfo/gnunet-peerinfo-gtk-about.c b/src/peerinfo/gnunet-peerinfo-gtk-about.c
index 5eb9b406..894d8c13 100644
--- a/src/peerinfo/gnunet-peerinfo-gtk-about.c
+++ b/src/peerinfo/gnunet-peerinfo-gtk-about.c
@@ -19,7 +19,7 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file src/fs/gnunet-peerinfo-gtk-about.c 22 * @file src/peerinfo/gnunet-peerinfo-gtk-about.c
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 * @author Igor Wronsky 24 * @author Igor Wronsky
25 * 25 *