~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/imagemap/imap_about.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *
4
4
 * Generates clickable image maps.
5
5
 *
6
 
 * Copyright (C) 1998-2004 Maurits Rijk  m.rijk@chello.nl
 
6
 * Copyright (C) 1998-2005 Maurits Rijk  m.rijk@chello.nl
7
7
 *
8
8
 * This program is free software; you can redistribute it and/or modify
9
9
 * it under the terms of the GNU General Public License as published by
26
26
#include <gtk/gtk.h>
27
27
 
28
28
#include "imap_about.h"
29
 
#include "imap_default_dialog.h"
 
29
#include "imap_main.h"
30
30
 
31
31
#include "libgimp/stdplugins-intl.h"
32
32
 
33
33
void
34
34
do_about_dialog(void)
35
35
{
36
 
   static DefaultDialog_t *dialog;
 
36
   static GtkWidget *dialog;
37
37
   if (!dialog)
38
38
     {
39
 
       dialog = make_default_dialog (_("About"));
40
 
       default_dialog_hide_cancel_button (dialog);
41
 
       default_dialog_hide_apply_button (dialog);
42
 
       default_dialog_hide_help_button (dialog);
43
 
       default_dialog_set_label (dialog, _("Imagemap plug-in 2.2"));
44
 
       default_dialog_set_label (dialog, _("Copyright(c) 1999-2004 by Maurits Rijk"));
45
 
       default_dialog_set_label (dialog, "m.rijk@chello.nl");
46
 
       default_dialog_set_label (dialog, _("Released under the GNU General Public License"));
 
39
       const gchar* authors[] = {"Maurits Rijk (m.rijk@chello.nl)", NULL};
 
40
 
 
41
       dialog = g_object_new (GTK_TYPE_ABOUT_DIALOG,
 
42
                              "transient-for", get_dialog(),
 
43
                              "name",    _("Image Map Plug-In"),
 
44
                              "version", "2.3",
 
45
                              "authors", authors,
 
46
                              "copyright",
 
47
                              _("Copyright © 1999-2005 by Maurits Rijk"),
 
48
                              "license",
 
49
                              _("Released under the GNU General Public License"),
 
50
                              NULL);
 
51
 
 
52
       g_signal_connect (dialog, "response",
 
53
                         G_CALLBACK (gtk_widget_destroy),
 
54
                         dialog);
 
55
 
 
56
       g_signal_connect (dialog, "destroy",
 
57
                         G_CALLBACK (gtk_widget_destroyed),
 
58
                         &dialog);
 
59
 
47
60
     }
48
 
   default_dialog_show (dialog);
 
61
 
 
62
   gtk_window_present (GTK_WINDOW (dialog));
49
63
}