mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Disable the gnucash network code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7413 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e64dccad8f
commit
755714e349
@ -390,21 +390,27 @@ gnc_build_url (URLType type, const gchar * location, const gchar * label) {
|
||||
}
|
||||
|
||||
static gboolean
|
||||
http_allowed() {
|
||||
return gnc_lookup_boolean_option("Network", "Allow http network access",
|
||||
TRUE);
|
||||
http_allowed()
|
||||
{
|
||||
return TRUE;
|
||||
//return gnc_lookup_boolean_option("Network", "Allow http network access",
|
||||
// TRUE);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
https_allowed() {
|
||||
return gnc_lookup_boolean_option("Network", "Allow https network access",
|
||||
TRUE);
|
||||
https_allowed()
|
||||
{
|
||||
return TRUE;
|
||||
//return gnc_lookup_boolean_option("Network", "Allow https network access using OpenSSL",
|
||||
// TRUE);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gnc_network_allowed() {
|
||||
return gnc_lookup_boolean_option("Network", "Enable GnuCash Network",
|
||||
TRUE);
|
||||
gnc_network_allowed()
|
||||
{
|
||||
return FALSE;
|
||||
//return gnc_lookup_boolean_option("Network", "Enable GnuCash Network",
|
||||
// TRUE);
|
||||
}
|
||||
|
||||
|
||||
@ -531,7 +537,8 @@ gnc_html_start_request(gnc_html * html, gchar * uri, GtkHTMLStream * handle) {
|
||||
static void
|
||||
gnc_html_load_to_stream(gnc_html * html, GtkHTMLStream * handle,
|
||||
URLType type, const gchar * location,
|
||||
const gchar * label) {
|
||||
const gchar * label)
|
||||
{
|
||||
char * fdata = NULL;
|
||||
|
||||
if(!html) {
|
||||
@ -916,7 +923,8 @@ gnc_html_show_data(gnc_html * html, const char * data,
|
||||
void
|
||||
gnc_html_show_url(gnc_html * html, URLType type,
|
||||
const gchar * location, const gchar * label,
|
||||
gboolean new_window_hint) {
|
||||
gboolean new_window_hint)
|
||||
{
|
||||
GncHTMLUrlCB url_handler;
|
||||
GtkHTMLStream * handle;
|
||||
gboolean new_window;
|
||||
|
@ -43,7 +43,6 @@ libgncgnome_la_SOURCES = \
|
||||
druid-hierarchy.c \
|
||||
druid-loan.c \
|
||||
druid-stock-split.c \
|
||||
gnc-network.c \
|
||||
gnc-splash.c \
|
||||
mainwindow-account-tree.c \
|
||||
reconcile-list.c \
|
||||
@ -97,6 +96,7 @@ EXTRA_DIST = \
|
||||
gnucash.desktop.in \
|
||||
gnucash.keys.in \
|
||||
gnucash.mime \
|
||||
gnc-network.c \
|
||||
gw-gnc-spec.scm
|
||||
|
||||
|
||||
|
@ -323,7 +323,7 @@ gnc_gui_init (SCM command_line)
|
||||
gnome_is_initialized = TRUE;
|
||||
|
||||
/* load default HTML action handlers */
|
||||
gnc_network_init();
|
||||
// gnc_network_init();
|
||||
|
||||
gnc_configure_date_format();
|
||||
date_callback_id =
|
||||
|
Loading…
Reference in New Issue
Block a user