~ubuntu-branches/ubuntu/vivid/xfce4-settings/vivid-proposed

« back to all changes in this revision

Viewing changes to xfce4-settings-editor/xfce-settings-prop-dialog.c

  • Committer: Package Import Robot
  • Author(s): Sean Davis
  • Date: 2014-08-21 06:57:17 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20140821065717-6x2a20k01ipu460e
Tags: 4.11.3-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
402
402
    {
403
403
        if (!(*p >= 'A' && *p <= 'Z') && !(*p >= 'a' && *p <= 'z')
404
404
            && !(*p >= '0' && *p <= '9')
405
 
            && *p != '_' && *p != '-' && *p != '/'
406
 
            && !(*p == '<' || *p == '>'))
 
405
            && *p != '_' && *p != '-' && *p != '/' && *p != '{' && *p != '}'
 
406
            && !(*p == '<' || *p == '>') && *p != '|' && *p != ','
 
407
            && *p != '[' && *p != ']' && *p != '.' && *p != ':')
407
408
        {
408
409
            if (error != NULL)
409
410
            {
410
411
                g_set_error (error, XFCONF_ERROR,
411
412
                             XFCONF_ERROR_INVALID_PROPERTY,
412
413
                             _("Property names can only include the ASCII "
413
 
                               "characters A-Z, a-z, 0-9, '_', '-', '<' "
414
 
                               "and '>', as well as '/' as a separator"));
 
414
                               "characters A-Z, a-z, 0-9, '_', '-', ':', '.', "
 
415
                               "',', '[', ']', '{', '}', '<' and '>', as well "
 
416
                               "as '/' as a separator"));
415
417
            }
416
418
            return FALSE;
417
419
        }