Mercurial > audlegacy-plugins
diff src/lirc/lirc_cfg.c @ 2305:738914331374
Add ability to enter track number using remote. (Bugzilla #115)
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Sat, 12 Jan 2008 13:09:10 -0600 |
parents | 90d9e13d2e18 |
children | 194c2f8c2a92 fea021087241 |
line wrap: on
line diff
--- a/src/lirc/lirc_cfg.c Sat Jan 12 18:43:12 2008 +0100 +++ b/src/lirc/lirc_cfg.c Sat Jan 12 13:09:10 2008 -0600 @@ -11,6 +11,7 @@ gint b_enable_reconnect; gint reconnect_timeout; +gchar *aosd_font = NULL; void load_cfg(void) { @@ -18,6 +19,8 @@ db = aud_cfg_db_open(); aud_cfg_db_get_int(db, "lirc", "enable_reconnect", &b_enable_reconnect); aud_cfg_db_get_int(db, "lirc", "reconnect_timeout", &reconnect_timeout); + if (!aud_cfg_db_get_string(db, "aosd", "text_fonts_name_0", &aosd_font)) + aosd_font = g_strdup("Sans 26"); if (!reconnect_timeout) reconnect_timeout = 5; aud_cfg_db_close(db); }