1 $NetBSD: patch-aa,v 1.1 2009/09/03 01:29:34 joerg Exp $
3 --- src/gbemol-app.c.orig 2009-04-25 04:38:51.000000000 +0200
5 @@ -449,7 +449,7 @@ gbemol_app_init (GbemolApp* app)
6 gbemol_app_build_gui (app);
8 /* Check if there is a config file */
9 - if (!(host = gbemol_cfg_get_string ("MPD", "host")))
10 + if (!(host = gbemol_cfg_get_string ("mpd", "host")))
12 app->mpd = gbemol_mpd_new_with_defaults ();
14 @@ -471,13 +471,13 @@ gbemol_app_init (GbemolApp* app)
17 /* We need a password? */
18 - if (gbemol_cfg_get_int ("MPD", "use_auth"))
19 - pass = gbemol_cfg_get_string ("MPD", "pass");
20 + if (gbemol_cfg_get_int ("mpd", "use_auth"))
21 + pass = gbemol_cfg_get_string ("mpd", "pass");
25 - app->mpd = gbemol_mpd_new (host, pass, gbemol_cfg_get_int ("MPD", "port"),
26 - gbemol_cfg_get_double ("MPD", "timeout"));
27 + app->mpd = gbemol_mpd_new (host, pass, gbemol_cfg_get_int ("mpd", "port"),
28 + gbemol_cfg_get_double ("mpd", "timeout"));
32 @@ -564,10 +564,7 @@ void gbemol_app_connect_mpd (GbemolApp*
36 - if (gbemol_cfg_get_bool("MPD", "use_auth"))
37 - gbemol_mpd_connect_and_authenticate (app->mpd);
39 - gbemol_mpd_connect (app->mpd);
40 + gbemol_mpd_connect (app->mpd);
42 gbemol_app_set_connected (app, gbemol_mpd_is_connected (app->mpd));
43 if (gbemol_mpd_is_connected (app->mpd))