diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2004-04-29 11:29:44 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-04-29 11:29:44 +0800 |
commit | 0c1353d2d1dfcf181b52b3962e6167e77b7b53d5 (patch) | |
tree | 6e5c640b4a35af1e78f7efa3ceb1fd065b2293e4 /devel-docs | |
parent | 90250eed1546dfa236b9951f74094ac443df47e0 (diff) | |
download | gsoc2013-evolution-0c1353d2d1dfcf181b52b3962e6167e77b7b53d5.tar gsoc2013-evolution-0c1353d2d1dfcf181b52b3962e6167e77b7b53d5.tar.gz gsoc2013-evolution-0c1353d2d1dfcf181b52b3962e6167e77b7b53d5.tar.bz2 gsoc2013-evolution-0c1353d2d1dfcf181b52b3962e6167e77b7b53d5.tar.lz gsoc2013-evolution-0c1353d2d1dfcf181b52b3962e6167e77b7b53d5.tar.xz gsoc2013-evolution-0c1353d2d1dfcf181b52b3962e6167e77b7b53d5.tar.zst gsoc2013-evolution-0c1353d2d1dfcf181b52b3962e6167e77b7b53d5.zip |
updated, now you can set both the button stock id and label, for
a stock button with an alternative label.
svn path=/trunk/; revision=25676
Diffstat (limited to 'devel-docs')
-rw-r--r-- | devel-docs/misc/errors.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/devel-docs/misc/errors.txt b/devel-docs/misc/errors.txt index fc81dd4eff..37a64c1314 100644 --- a/devel-docs/misc/errors.txt +++ b/devel-docs/misc/errors.txt @@ -133,7 +133,7 @@ The XML file is in the following format. <_title>Window Title</_title>? <_primary>Primary error text.</_primary>? <_secondary>Secondary error text.</_secondary>? - <button ( stock="stock-button-id" | _label="button label" ) response="response_id"? /> * + <button stock="stock-button-id"? _label="button label"? response="response_id"? /> * </error> </error-list> @@ -145,12 +145,16 @@ stock-button-id is a standard GtkStock button name. _label is a translatable string for the button name otherwise, including an underlined mnemonic. -_title, _primary, and _secondary are all optional, if missing, -standard text (for title) or blank text will be used. +One of stock and _label must be supplied for all buttons defined. +Both may be defined, in which case you get a stock-looking button with +a different label text. <button /> is optional, if missing, a single stock Ok button will be used. +_title, _primary, and _secondary are all optional, if missing, +standard text (for title) or blank text will be used. + For the title, primary and secondary texts, substitution of the passed e_error parameters can be performed using "{n}" syntax, where n is a decimal index of the string parameter argument. This allows the same |