diff options
author | Alexander Larsson <alexl@redhat.com> | 2003-11-28 09:52:20 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2003-11-28 09:52:20 +0000 |
commit | 4681992cae964cde86a3bd545cba0a6ec8908ebf (patch) | |
tree | aa5e8073d8689f8b3b787fd0735e41864887b7dc /gnome-keyring-ask.c | |
parent | 4f767d83b18fb1b3d13b462eadd050ca75c0f955 (diff) | |
download | gnome-keyring-4681992cae964cde86a3bd545cba0a6ec8908ebf.tar.gz |
Add LGPL file
2003-11-28 Alexander Larsson <alexl@redhat.com>
* COPYING.LIB:
Add LGPL file
* gnome-keyring-ask.c:
Fix up gettext defines
* gnome-keyring-ask.c:
* gnome-keyring-daemon-file.c:
* gnome-keyring-daemon-io.c:
* gnome-keyring-daemon.c:
* gnome-keyring-daemon.h:
* gnome-keyring-private.h:
* gnome-keyring-proto.c:
* gnome-keyring-proto.h:
* gnome-keyring-utils.c:
* gnome-keyring.c:
* gnome-keyring.h:
* list-keyrings.c:
Add GPL/LGPL headers.
Library is LGPL, daemon and gui is GPL.
Diffstat (limited to 'gnome-keyring-ask.c')
-rw-r--r-- | gnome-keyring-ask.c | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/gnome-keyring-ask.c b/gnome-keyring-ask.c index 215d8aeb..276b3298 100644 --- a/gnome-keyring-ask.c +++ b/gnome-keyring-ask.c @@ -1,3 +1,25 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* gnome-keyring-ask.c - Handles graphical authentication for the keyring daemon. + + Copyright (C) 2003 Red Hat, Inc + + Gnome keyring is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + Gnome keyring is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + Author: Alexander Larsson <alexl@redhat.com> +*/ + #include "config.h" #include <stdio.h> @@ -7,9 +29,17 @@ #include "gnome-keyring-private.h" - - -#define _(x) x +#ifdef ENABLE_NLS +# define _(String) gettext (String) +# ifdef gettext_noop +# define N_(String) gettext_noop (String) +# else +# define N_(String) (String) +# endif +#else +# define _(String) +# define N_(String) (String) +#endif int main (int argc, char *argv[]) |