X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/f77bbb5e54216f967848bf6806a341be8b83d41c..70177381ae2b6540e92c504833aeb546c38dd54b:/src/datasource_url.c diff --git a/src/datasource_url.c b/src/datasource_url.c index 14886207..bf82fc89 100644 --- a/src/datasource_url.c +++ b/src/datasource_url.c @@ -46,7 +46,7 @@ static void datasource_url_cleanup ( gpointer data ); VikDataSourceInterface vik_datasource_url_interface = { N_("Acquire from URL"), N_("URL"), - VIK_DATASOURCE_CREATENEWLAYER, + VIK_DATASOURCE_AUTO_LAYER_MANAGEMENT, VIK_DATASOURCE_INPUTTYPE_NONE, TRUE, TRUE, @@ -119,7 +119,7 @@ static void datasource_url_add_setup_widgets ( GtkWidget *dialog, VikViewport *v last_type = ( wanted_entry < 0 ) ? 0 : wanted_entry; } - if ( a_babel_file_list ) { + if ( a_babel_available() ) { widgets->type = vik_combo_box_text_new (); g_list_foreach (a_babel_file_list, fill_combo_box, widgets->type); gtk_combo_box_set_active (GTK_COMBO_BOX (widgets->type), last_type);