As Mitch pointed out, these are not static strings. Reverted my previous

changes to the modules directory.
This commit is contained in:
Sven Neumann
2006-01-30 16:58:42 +00:00
parent 7b24dd8e36
commit 2d80597fe9
8 changed files with 9 additions and 19 deletions

View File

@ -285,7 +285,7 @@ cdisplay_colorblind_class_init (CdisplayColorblindClass *klass)
"deficiency", NULL,
CDISPLAY_TYPE_COLORBLIND_DEFICIENCY,
DEFAULT_DEFICIENCY,
GIMP_PARAM_STATIC_STRINGS);
0);
display_class->name = _("Color Deficient Vision");
display_class->help_id = "gimp-colordisplay-colorblind";

View File

@ -155,7 +155,7 @@ cdisplay_gamma_class_init (CdisplayGammaClass *klass)
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_GAMMA,
"gamma", NULL,
0.01, 10.0, DEFAULT_GAMMA,
GIMP_PARAM_STATIC_STRINGS);
0);
display_class->name = _("Gamma");
display_class->help_id = "gimp-colordisplay-gamma";

View File

@ -155,7 +155,7 @@ cdisplay_contrast_class_init (CdisplayContrastClass *klass)
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_CONTRAST,
"contrast", NULL,
0.01, 10.0, DEFAULT_CONTRAST,
GIMP_PARAM_STATIC_STRINGS);
0);
display_class->name = _("Contrast");
display_class->help_id = "gimp-colordisplay-contrast";

View File

@ -168,7 +168,7 @@ cdisplay_lcms_class_init (CdisplayLcmsClass *klass)
GIMP_CONFIG_INSTALL_PROP_OBJECT (object_class, PROP_CONFIG,
"config", NULL,
GIMP_TYPE_COLOR_CONFIG,
GIMP_PARAM_STATIC_STRINGS);
0);
display_class->name = _("Color Management");
display_class->help_id = "gimp-colordisplay-lcms";

View File

@ -208,15 +208,15 @@ cdisplay_proof_class_init (CdisplayProofClass *klass)
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_INTENT,
"intent", NULL,
CDISPLAY_TYPE_PROOF_INTENT, INTENT_PERCEPTUAL,
GIMP_PARAM_STATIC_STRINGS);
0);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_BPC,
"black-point-compensation", NULL,
FALSE,
GIMP_PARAM_STATIC_STRINGS);
0);
GIMP_CONFIG_INSTALL_PROP_PATH (object_class, PROP_PROFILE,
"profile", NULL,
GIMP_CONFIG_PATH_FILE, NULL,
GIMP_PARAM_STATIC_STRINGS);
0);
display_class->name = _("Color Proof");
display_class->help_id = "gimp-colordisplay-proof";

View File

@ -222,7 +222,6 @@ linux_input_class_init (ControllerLinuxInputClass *klass)
_("Device:"),
_("The name of the device to read Linux Input events from."),
NULL,
GIMP_PARAM_STATIC_STRINGS |
GIMP_CONFIG_PARAM_FLAGS));
controller_class->name = _("Linux Input");

View File

@ -244,7 +244,6 @@ midi_class_init (ControllerMidiClass *klass)
_("Device:"),
blurb,
NULL,
GIMP_PARAM_STATIC_STRINGS |
GIMP_CONFIG_PARAM_FLAGS));
g_free (blurb);
@ -254,7 +253,6 @@ midi_class_init (ControllerMidiClass *klass)
_("Channel:"),
_("The MIDI channel to read events from. Set to -1 for reading from all MIDI channels."),
-1, 15, -1,
GIMP_PARAM_STATIC_STRINGS |
GIMP_CONFIG_PARAM_FLAGS));
controller_class->name = _("MIDI");