~ubuntu-branches/ubuntu/intrepid/gimp/intrepid

« back to all changes in this revision

Viewing changes to app/actions/drawable-actions.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20081006133041-axco233xt49jobn7
Tags: 2.6.0-1ubuntu1
* Sync on debian and new version (lp: #276839)
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch:
  - updated some strings for ubuntu
* debian/rules:
  - updated translation templates

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
static const GimpActionEntry drawable_actions[] =
43
43
{
44
 
  { "drawable-desaturate", GIMP_STOCK_CONVERT_GRAYSCALE,
45
 
    N_("_Desaturate..."), NULL,
46
 
    N_("Turn colors into shades of gray"),
47
 
    G_CALLBACK (drawable_desaturate_cmd_callback),
48
 
    GIMP_HELP_LAYER_DESATURATE },
49
 
 
50
44
  { "drawable-equalize", NULL,
51
45
    N_("_Equalize"), NULL,
52
46
    N_("Automatic contrast enhancement"),
190
184
#define SET_ACTIVE(action,condition) \
191
185
        gimp_action_group_set_action_active (group, action, (condition) != 0)
192
186
 
193
 
  SET_SENSITIVE ("drawable-desaturate",     drawable &&   is_rgb);
194
187
  SET_SENSITIVE ("drawable-equalize",       drawable && ! is_indexed);
195
188
  SET_SENSITIVE ("drawable-invert",         drawable && ! is_indexed);
196
189
  SET_SENSITIVE ("drawable-levels-stretch", drawable &&   is_rgb);