formatting

SVN revision: 73001
This commit is contained in:
Mike Blumenkrantz 2012-06-28 12:19:36 +00:00
parent 37461278bc
commit 655df74446
1 changed files with 562 additions and 542 deletions

View File

@ -61,7 +61,6 @@ static E_Config_DD *_e_config_randr_serialized_crtc_edd = NULL;
static E_Config_DD *_e_config_xkb_layout_edd = NULL;
static E_Config_DD *_e_config_xkb_option_edd = NULL;
EAPI int E_EVENT_CONFIG_ICON_THEME = 0;
EAPI int E_EVENT_CONFIG_MODE_CHANGED = 0;
EAPI int E_EVENT_CONFIG_LOADED = 0;
@ -1431,7 +1430,8 @@ e_config_profile_dir_get(const char *prof)
return NULL;
}
static int _cb_sort_files(char *f1, char *f2)
static int
_cb_sort_files(char *f1, char *f2)
{
return strcmp(f1, f2);
}
@ -2126,60 +2126,79 @@ _e_config_eet_close_handle(Eet_File *ef, char *file)
case EET_ERROR_NONE:
/* all good - no error */
break;
case EET_ERROR_BAD_OBJECT:
erstr = _("The EET file handle is bad.");
break;
case EET_ERROR_EMPTY:
erstr = _("The file data is empty.");
break;
case EET_ERROR_NOT_WRITABLE:
erstr = _("The file is not writable. Perhaps the disk is read-only<br>or you lost permissions to your files.");
break;
case EET_ERROR_OUT_OF_MEMORY:
erstr = _("Memory ran out while preparing the write.<br>Please free up memory.");
break;
case EET_ERROR_WRITE_ERROR:
erstr = _("This is a generic error.");
break;
case EET_ERROR_WRITE_ERROR_FILE_TOO_BIG:
erstr = _("The settings file is too large.<br>It should be very small (a few hundred KB at most).");
break;
case EET_ERROR_WRITE_ERROR_IO_ERROR:
erstr = _("You have I/O errors on the disk.<br>Maybe it needs replacing?");
break;
case EET_ERROR_WRITE_ERROR_OUT_OF_SPACE:
erstr = _("You ran out of space while writing the file");
break;
case EET_ERROR_WRITE_ERROR_FILE_CLOSED:
erstr = _("The file was closed on it while writing.");
break;
case EET_ERROR_MMAP_FAILED:
erstr = _("Memory-mapping (mmap) of the file failed.");
break;
case EET_ERROR_X509_ENCODING_FAILED:
erstr = _("X509 Encoding failed.");
break;
case EET_ERROR_SIGNATURE_FAILED:
erstr = _("Signature failed.");
break;
case EET_ERROR_INVALID_SIGNATURE:
erstr = _("The signature was invalid.");
break;
case EET_ERROR_NOT_SIGNED:
erstr = _("Not signed.");
break;
case EET_ERROR_NOT_IMPLEMENTED:
erstr = _("Feature not implemented.");
break;
case EET_ERROR_PRNG_NOT_SEEDED:
erstr = _("PRNG was not seeded.");
break;
case EET_ERROR_ENCRYPT_FAILED:
erstr = _("Encryption failed.");
break;
case EET_ERROR_DECRYPT_FAILED:
erstr = _("Decryption failed.");
break;
default: /* if we get here eet added errors we don't know */
erstr = _("The error is unknown to Enlightenment.");
break;
@ -2272,3 +2291,4 @@ _e_config_acpi_bindings_add(void)
binding->params = eina_stringshare_add("now");
e_config->acpi_bindings = eina_list_append(e_config->acpi_bindings, binding);
}