{
GtkWidget *dialog;
GtkWidget *vbox;
+GtkFileFilter *filter_osm;
GtkWidget *picker_planet;
GtkWidget *entry_db;
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), vbox = gtk_vbox_new (FALSE, 3), TRUE, TRUE, 0);
+filter_osm=gtk_file_filter_new();
+gtk_file_filter_set_name(filter_osm, "OSM XML");
+gtk_file_filter_add_pattern(filter_osm, "*.osm");
+gtk_file_filter_add_pattern(filter_osm, "*.osm.bz2");
+
picker_planet=gtk_file_chooser_button_new(_("OSM Planet file"), GTK_FILE_CHOOSER_ACTION_OPEN);
+gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(picker_planet), filter_osm);
entry_db=gtk_entry_new();
gtk_box_pack_start(GTK_BOX(vbox), gtk_label_new("OSM Planet"), TRUE, TRUE, 0);