comparison audacious/main.c @ 943:0606d7908abb trunk

[svn] - New default titlestring
author nhjm449
date Sun, 16 Apr 2006 14:37:40 -0700
parents c800beaac0f9
children 8cfe13fcd0c7
comparison
equal deleted inserted replaced
942:84693c7f096d 943:0606d7908abb
216 216
217 const gchar *bmp_titlestring_presets[] = { 217 const gchar *bmp_titlestring_presets[] = {
218 "%t", 218 "%t",
219 "%p - %t", 219 "%p - %t",
220 "%p - %a - %t", 220 "%p - %a - %t",
221 "%p - %{a:%a - %}%t",
222 "%{p:%p - %}%{a:%a - %}%{n:%n. %}%t",
223 "%{p:%p %}%{a:[ %a ] %}%{p:- %}%{n:%n. %}%{t:%t%}",
221 "%a - %t" 224 "%a - %t"
222 }; 225 };
223 226
224 const guint n_titlestring_presets = G_N_ELEMENTS(bmp_titlestring_presets); 227 const guint n_titlestring_presets = G_N_ELEMENTS(bmp_titlestring_presets);
225 228
499 502
500 if (!cfg.mainwin_font) 503 if (!cfg.mainwin_font)
501 cfg.mainwin_font = g_strdup(MAINWIN_DEFAULT_FONT); 504 cfg.mainwin_font = g_strdup(MAINWIN_DEFAULT_FONT);
502 505
503 if (!cfg.gentitle_format) 506 if (!cfg.gentitle_format)
504 cfg.gentitle_format = g_strdup("%p - %a - %t"); 507 cfg.gentitle_format = g_strdup("%{p:%p %}%{a:[ %a ] %}%{p:- %}%{n:%n. %}%{t:%t%}");
505 508
506 if (!cfg.outputplugin) { 509 if (!cfg.outputplugin) {
507 #ifdef HAVE_OSS 510 #ifdef HAVE_OSS
508 cfg.outputplugin = g_build_filename(PLUGIN_DIR, plugin_dir_list[0], 511 cfg.outputplugin = g_build_filename(PLUGIN_DIR, plugin_dir_list[0],
509 PLUGIN_FILENAME("OSS"), NULL); 512 PLUGIN_FILENAME("OSS"), NULL);