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

« back to all changes in this revision

Viewing changes to app/display/display-enums.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:
70
70
  return type;
71
71
}
72
72
 
 
73
GType
 
74
gimp_space_bar_action_get_type (void)
 
75
{
 
76
  static const GEnumValue values[] =
 
77
  {
 
78
    { GIMP_SPACE_BAR_ACTION_NONE, "GIMP_SPACE_BAR_ACTION_NONE", "none" },
 
79
    { GIMP_SPACE_BAR_ACTION_PAN, "GIMP_SPACE_BAR_ACTION_PAN", "pan" },
 
80
    { GIMP_SPACE_BAR_ACTION_MOVE, "GIMP_SPACE_BAR_ACTION_MOVE", "move" },
 
81
    { 0, NULL, NULL }
 
82
  };
 
83
 
 
84
  static const GimpEnumDesc descs[] =
 
85
  {
 
86
    { GIMP_SPACE_BAR_ACTION_NONE, N_("No action"), NULL },
 
87
    { GIMP_SPACE_BAR_ACTION_PAN, N_("Pan view"), NULL },
 
88
    { GIMP_SPACE_BAR_ACTION_MOVE, N_("Switch to Move tool"), NULL },
 
89
    { 0, NULL, NULL }
 
90
  };
 
91
 
 
92
  static GType type = 0;
 
93
 
 
94
  if (! type)
 
95
    {
 
96
      type = g_enum_register_static ("GimpSpaceBarAction", values);
 
97
      gimp_enum_set_value_descriptions (type, descs);
 
98
    }
 
99
 
 
100
  return type;
 
101
}
 
102
 
73
103
 
74
104
/* Generated data ends here */
75
105