rem: g_message ("str value: %s", entry.str_value);
context: setup_config (BaconVideoWidget *bvw){	char *path;	xine_cfg_entry_t entry;	const char *demux_strategies[] = {"default", "reverse", "content",		"extension", NULL};	path = g_build_path (G_DIR_SEPARATOR_S,			g_get_home_dir (), CONFIG_FILE, NULL);	xine_config_load (bvw->priv->xine, path);	g_free (path);	/* default demux strategy */	xine_config_register_enum (bvw->priv->xine,			"misc.demux_strategy",			0,			(char **) demux_strategies,			 "media format detection strategy",			 NULL, 10, NULL, NULL);	xine_config_lookup_entry (bvw->priv->xine,			"misc.demux_strategy", &entry);	entry.num_value = 0;	xine_config_update_entry (bvw->priv->xine, &entry);	/* The volume */	xine_config_register_range (bvw->priv->xine,			"misc.amp_level",			50, 0, 100, "amp volume level",			NULL, 10, NULL, NULL);	bvw->priv->volume = -1;	/* Proxy configuration */	if (bvw->priv->gc == NULL)		return;	if (gconf_client_get_bool (bvw->priv->gc, "/system/http_proxy/use_http_proxy", NULL) == FALSE)	{		bvw_config_helper_string (bvw->priv->xine,				"input.http_proxy_host", "", &entry);		entry.str_value = "";		xine_config_update_entry (bvw->priv->xine, &entry);		return;	}	bvw_config_helper_string (bvw->priv->xine,			"input.http_proxy_host", "", &entry);	entry.str_value = gconf_client_get_string (bvw->priv->gc,			"/system/http_proxy/host", NULL);	g_message ("str value: %s", entry.str_value);	xine_config_update_entry (bvw->priv->xine, &entry);	bvw_config_help_num (bvw->priv->xine,			 "input.http_proxy_port", 8080, &entry);	entry.num_value = gconf_client_get_int (bvw->priv->gc,			"/system/http_proxy/port", NULL);	xine_config_update_entry (bvw->priv->xine, &entry);	if (gconf_client_get_bool (bvw->priv->gc, "/system/http_proxy/use_authentication", NULL) == FALSE)	{		bvw_config_helper_string (bvw->priv->xine,				"input.http_proxy_user", g_get_user_name(),				&entry);		entry.str_value = "";		xine_config_update_entry (bvw->priv->xine, &entry);		bvw_config_helper_string (bvw->priv->xine,				"input.http_proxy_password", "",				&entry);		entry.str_value = "";		xine_config_update_entry (bvw->priv->xine, &entry);	} else {		bvw_config_helper_string (bvw->priv->xine,				"input.http_proxy_user", g_get_user_name(),				&entry);		entry.str_value = gconf_client_get_string (bvw->priv->gc,				"/system/http_proxy/authentication_user",				NULL);		xine_config_update_entry (bvw->priv->xine, &entry);		bvw_config_helper_string (bvw->priv->xine,				"input.http_proxy_password", "",				&entry);		entry.str_value = gconf_client_get_string (bvw->priv->gc,				"/system/http_proxy/authentication_password",				NULL);		xine_config_update_entry (bvw->priv->xine, &entry);	}}