mirror of
https://github.com/labwc/labwc.git
synced 2025-11-08 13:30:00 -05:00
...to enable configuration of the action prompt command.
Also set some better defaults for labnag.
The new default command is:
labnag \
--message '%m' \
--button-dismiss '%n' \
--button-dismiss '%y' \
--background '%b' \
--text '%t' \
--border '%t' \
--border-bottom '%t' \
--button-background '%b' \
--button-text '%t' \
--border-bottom-size 1 \
--button-border-size 3 \
--timeout 0
...where the conversion specifiers are defined as follows:
%m: the `<prompt>` message option
%n: _("No")
%y: _("Yes")
%b: osd.bg.color
%t: osd.label.text.color
This config options also enables the use of a different dialog client, for
example like this:
<core>
<promptCommand>zenity --question --text="%m"</promptCommand>
</core>
|
||
|---|---|---|
| .. | ||
| box.c | ||
| buf.c | ||
| dir.c | ||
| edge.c | ||
| fd-util.c | ||
| file-helpers.c | ||
| font.c | ||
| gen-color-table.pl | ||
| grab-file.c | ||
| graphic-helpers.c | ||
| lab-scene-rect.c | ||
| match.c | ||
| mem.c | ||
| meson.build | ||
| node-type.c | ||
| nodename.c | ||
| parse-bool.c | ||
| parse-double.c | ||
| rgb.txt | ||
| scene-helpers.c | ||
| set.c | ||
| spawn.c | ||
| string-helpers.c | ||
| xcolor-table.h | ||
| xml.c | ||