Commit b177031b authored by pierre's avatar pierre Committed by Pierre Wieser

Update parameters description in na-object-profile-factory.c

parent 36cb5f9d
2010-08-05 Pierre Wieser <pwieser@trychlos.org>
* src/core/na-object-profile-factory.c:
Review the description of the NAFO_DATA_PARAMETERS data.
* src/core/na-tokens.h: Update the comment.
* po/POTFILES.in: Add src/core/na-tokens.c file.
* src/core/na-tokens.c:
......
......@@ -68,7 +68,7 @@ static NADataDef data_def_profile [] = {
/* Path and Parameters are two separate data both in GConf, in GConf-derived
* export files and in NACT. Only in desktop files, they are merged as only
* one 'Exec' data.
* one 'Exec' data which is splitted at read time.
*/
{ NAFO_DATA_PATH,
TRUE,
......@@ -120,23 +120,25 @@ static NADataDef data_def_profile [] = {
" %U: username of the URI\n" \
" %%: a percent sign." \
"- starting from version '3':\n" \
" %b: (first) basename of the selected file(s)/folder(s)\n" \
" %b: (first) basename\n" \
" %B: space-separated list of the basenames of the selected file(s)/folder(s)\n" \
" %c: count the selected file(s)/folder(s)\n" \
" %d: (first) base directory of the selected file(s)/folder(s)\n" \
" %d: (first) base directory\n" \
" %D: space-separated list of base directories of the selected file(s)/folder(s)\n" \
" %f: (first) filename of the selected file(s)/folder(s)\n" \
" %f: (first) filename\n" \
" %F: space-separated list of the filenames of the selected file(s)/folder(s)\n" \
" %h: hostname of the (first) URI\n" \
" %m: (first) mimetype\n" \
" %M: space-separated list of the mimetypes of the selected file(s)/folder(s)\n" \
" %n: username of the (first) URI\n" \
" %p: port number of the (first) URI\n" \
" %s: scheme of the (first) URI\n" \
" %u: (first) URI\n" \
" %U: space-separated list of selected URIs\n" \
" %U: space-separated list of the URIs of the selected file(s)/folder(s)\n" \
" %w: (first) basename without the extension\n" \
" %W: space-separated list of basenames without the extension\n" \
" %x: (first) extension\n" \
" %X: space-separated list of the extensions\n" \
" %X: space-separated list of the extensions of the selected file(s)/folder(s)\n" \
" %%: a percent sign." ),
NAFD_TYPE_STRING,
"",
......
......@@ -48,9 +48,10 @@
* plugin, attaching the result to each item in the context menu.
*
* Adding a parameter requires updating of :
* - src/core/na-tokens.c::is_singular_exec()
* - src/core/na-tokens.c::parse_singular()
* - src/nact/nautilus-actions-config-tool.ui:LegendDialog
* - src/core/na-tokens.c::is_singular_exec() function
* - src/core/na-tokens.c::parse_singular() function
* - src/nact/nautilus-actions-config-tool.ui:LegendDialog labels
* - src/core/na-object-profile-factory.c:NAFO_DATA_PARAMETERS comment
*
* Valid parameters are :
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment