Mercurial > hg > xmms-sid
changeset 258:e255f23abf33
Automatic subtune changing options added to config.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 21 Dec 2004 22:07:01 +0000 |
parents | 3318a3028de6 |
children | b9bdf4c5baf0 |
files | src/xs_config.c src/xs_config.h src/xs_genui.c |
diffstat | 3 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xs_config.c Tue Dec 21 22:06:02 2004 +0000 +++ b/src/xs_config.c Tue Dec 21 22:07:01 2004 +0000 @@ -83,6 +83,10 @@ {CTYPE_BOOL, &xs_cfg.titleOverride, "titleOverride"}, {CTYPE_STR, &xs_cfg.titleFormat, "titleFormat"}, + + {CTYPE_BOOL, &xs_cfg.subAutoEnable, "subAutoEnable"}, + {CTYPE_BOOL, &xs_cfg.subAutoMinOnly, "subAutoMinOnly"}, + {CTYPE_INT, &xs_cfg.subAutoMinTime, "subAutoMinTime"}, }; static const gint xs_cfgtable_max = (sizeof(xs_cfgtable) / sizeof(t_xs_cfg_item)); @@ -142,6 +146,9 @@ { WTYPE_BUTTON, CTYPE_BOOL, "cfg_ftitle_override", &xs_cfg.titleOverride, 0 }, { WTYPE_TEXT, CTYPE_STR, "cfg_ftitle_format", &xs_cfg.titleFormat, 0 }, +{ WTYPE_BUTTON, CTYPE_BOOL, "cfg_subauto_enable", &xs_cfg.subAutoEnable, 0 }, +{ WTYPE_BUTTON, CTYPE_BOOL, "cfg_subauto_min_only", &xs_cfg.subAutoMinOnly, 0 }, +{ WTYPE_SPIN, CTYPE_INT, "cfg_subauto_mintime", &xs_cfg.subAutoMinTime, 0 }, }; static const gint xs_widtable_max = (sizeof(xs_widtable) / sizeof(t_xs_wid_item));
--- a/src/xs_config.h Tue Dec 21 22:06:02 2004 +0000 +++ b/src/xs_config.h Tue Dec 21 22:07:01 2004 +0000 @@ -110,6 +110,9 @@ gboolean titleOverride; /* TRUE if XMMS titles are overriden */ gchar *titleFormat; + gboolean subAutoEnable, + subAutoMinOnly; + gint subAutoMinTime; } xs_cfg; XS_MUTEX_H(xs_cfg);