imap_about.c 1.59 KB
Newer Older
Sven Neumann's avatar
Sven Neumann committed
1 2 3 4 5
/*
 * This is a plug-in for the GIMP.
 *
 * Generates clickable image maps.
 *
6
 * Copyright (C) 1998-2004 Maurits Rijk  m.rijk@chello.nl
Sven Neumann's avatar
Sven Neumann committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
 *
 * This program 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.
 *
 * This program 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 */

24 25
#include "config.h"

26 27
#include <gtk/gtk.h>

Sven Neumann's avatar
Sven Neumann committed
28 29
#include "imap_about.h"
#include "imap_default_dialog.h"
30

Sven Neumann's avatar
Sven Neumann committed
31
#include "libgimp/stdplugins-intl.h"
Sven Neumann's avatar
Sven Neumann committed
32 33 34 35 36 37

void
do_about_dialog(void)
{
   static DefaultDialog_t *dialog;
   if (!dialog) {
Sven Neumann's avatar
Sven Neumann committed
38
      dialog = make_default_dialog(_("About"));
Sven Neumann's avatar
Sven Neumann committed
39 40
      default_dialog_hide_cancel_button(dialog);
      default_dialog_hide_apply_button(dialog);
41
      default_dialog_hide_help_button(dialog);
42
      default_dialog_set_label(dialog, _("Imagemap plug-in 2.2"));
Sven Neumann's avatar
Sven Neumann committed
43
      default_dialog_set_label(
44 45
	 dialog, _("Copyright(c) 1999-2004 by Maurits Rijk"));
      default_dialog_set_label(dialog, _("m.rijk@chello.nl"));
46 47
      default_dialog_set_label(
	 dialog, _("  Released under the GNU General Public License  "));
Sven Neumann's avatar
Sven Neumann committed
48 49 50
   }
   default_dialog_show(dialog);
}