/* tracker-preferences.c generated by valac 0.13.4.8-6faa4, the Vala compiler
 * generated from tracker-preferences.vala, do not modify */

/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Copyright (C) 2009, Nokia
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA.
 *
 * Author: Philip Van Hoof <philip@codeminded.be>
 */

#include <glib.h>
#include <glib-object.h>
#include <miners/fs/tracker-config.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <float.h>
#include <math.h>
#include <glib/gi18n-lib.h>
#include <gio/gio.h>
#include <config.h>
#include <stdio.h>

#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define __g_list_free__gtk_tree_path_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__gtk_tree_path_free0_ (var), NULL)))
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
#define __g_slist_free__g_free0_0(var) ((var == NULL) ? NULL : (var = (_g_slist_free__g_free0_ (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))


extern TrackerConfig* config;
TrackerConfig* config = NULL;
extern GtkWindow* window;
GtkWindow* window = NULL;
extern GtkCheckButton* checkbutton_enable_index_on_battery_first_time;
GtkCheckButton* checkbutton_enable_index_on_battery_first_time = NULL;
extern GtkCheckButton* checkbutton_enable_index_on_battery;
GtkCheckButton* checkbutton_enable_index_on_battery = NULL;
extern GtkSpinButton* spinbutton_delay;
GtkSpinButton* spinbutton_delay = NULL;
extern GtkCheckButton* checkbutton_enable_monitoring;
GtkCheckButton* checkbutton_enable_monitoring = NULL;
extern GtkCheckButton* checkbutton_index_removable_media;
GtkCheckButton* checkbutton_index_removable_media = NULL;
extern GtkCheckButton* checkbutton_index_optical_discs;
GtkCheckButton* checkbutton_index_optical_discs = NULL;
extern GtkScale* hscale_disk_space_limit;
GtkScale* hscale_disk_space_limit = NULL;
extern GtkScale* hscale_throttle;
GtkScale* hscale_throttle = NULL;
extern GtkScale* hscale_drop_device_threshold;
GtkScale* hscale_drop_device_threshold = NULL;
extern GtkListStore* liststore_index_recursively;
GtkListStore* liststore_index_recursively = NULL;
extern GtkListStore* liststore_index_single;
GtkListStore* liststore_index_single = NULL;
extern GtkListStore* liststore_ignored_directories;
GtkListStore* liststore_ignored_directories = NULL;
extern GtkListStore* liststore_ignored_files;
GtkListStore* liststore_ignored_files = NULL;
extern GtkListStore* liststore_gnored_directories_with_content;
GtkListStore* liststore_gnored_directories_with_content = NULL;
extern GtkTreeView* treeview_index_recursively;
GtkTreeView* treeview_index_recursively = NULL;
extern GtkTreeView* treeview_index_single;
GtkTreeView* treeview_index_single = NULL;
extern GtkTreeView* treeview_ignored_directories;
GtkTreeView* treeview_ignored_directories = NULL;
extern GtkTreeView* treeview_ignored_directories_with_content;
GtkTreeView* treeview_ignored_directories_with_content = NULL;
extern GtkTreeView* treeview_ignored_files;
GtkTreeView* treeview_ignored_files = NULL;
extern GtkToggleButton* togglebutton_home;
GtkToggleButton* togglebutton_home = NULL;
extern GtkNotebook* notebook;
GtkNotebook* notebook = NULL;
extern GtkRadioButton* radiobutton_display_never;
GtkRadioButton* radiobutton_display_never = NULL;
extern GtkRadioButton* radiobutton_display_active;
GtkRadioButton* radiobutton_display_active = NULL;
extern GtkRadioButton* radiobutton_display_always;
GtkRadioButton* radiobutton_display_always = NULL;

#define HOME_STRING "$HOME"
void spinbutton_delay_value_changed_cb (GtkSpinButton* source);
void checkbutton_enable_monitoring_toggled_cb (GtkCheckButton* source);
void checkbutton_enable_index_on_battery_toggled_cb (GtkCheckButton* source);
void checkbutton_enable_index_on_battery_first_time_toggled_cb (GtkCheckButton* source);
void checkbutton_index_removable_media_toggled_cb (GtkCheckButton* source);
void checkbutton_index_optical_discs_toggled_cb (GtkCheckButton* source);
gchar* hscale_disk_space_limit_format_value_cb (GtkScale* source, gdouble value);
gchar* hscale_throttle_format_value_cb (GtkScale* source, gdouble value);
gchar* hscale_drop_device_threshold_format_value_cb (GtkScale* source, gdouble value);
void add_freevalue (GtkListStore* model);
void add_dir (GtkListStore* model);
void del_dir (GtkTreeView* view);
static void _gtk_tree_path_free0_ (gpointer var);
static void _g_list_free__gtk_tree_path_free0_ (GList* self);
void button_index_recursively_add_clicked_cb (GtkButton* source);
void button_index_recursively_remove_clicked_cb (GtkButton* source);
void button_index_single_remove_clicked_cb (GtkButton* source);
void button_index_single_add_clicked_cb (GtkButton* source);
void button_ignored_directories_globs_add_clicked_cb (GtkButton* source);
void button_ignored_directories_add_clicked_cb (GtkButton* source);
void button_ignored_directories_remove_clicked_cb (GtkButton* source);
void button_ignored_directories_with_content_add_clicked_cb (GtkButton* source);
void button_ignored_directories_with_content_remove_clicked_cb (GtkButton* source);
void button_ignored_files_add_clicked_cb (GtkButton* source);
void button_ignored_files_remove_clicked_cb (GtkButton* source);
GSList* model_to_slist (GtkListStore* model);
static void _g_free0_ (gpointer var);
static void _g_slist_free__g_free0_ (GSList* self);
gboolean model_contains (GtkTreeModel* model, const gchar* needle);
void button_apply_clicked_cb (GtkButton* source);
void button_close_clicked_cb (GtkButton* source);
void togglebutton_home_toggled_cb (GtkToggleButton* source);
void fill_in_model (GtkListStore* model, GSList* list);
void setup_standard_treeview (GtkTreeView* view, const gchar* title);
gint _vala_main (gchar** args, int args_length1);


void spinbutton_delay_value_changed_cb (GtkSpinButton* source) {
	TrackerConfig* _tmp0_;
	GtkSpinButton* _tmp1_;
	gint _tmp2_ = 0;
#line 57 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 58 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = config;
#line 58 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 58 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_spin_button_get_value_as_int (_tmp1_);
#line 58 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_initial_sleep (_tmp0_, _tmp2_);
#line 153 "tracker-preferences.c"
}


void checkbutton_enable_monitoring_toggled_cb (GtkCheckButton* source) {
	TrackerConfig* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 61 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 62 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = config;
#line 62 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 62 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 62 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 62 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_enable_monitors (_tmp0_, _tmp3_);
#line 174 "tracker-preferences.c"
}


void checkbutton_enable_index_on_battery_toggled_cb (GtkCheckButton* source) {
	TrackerConfig* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GtkCheckButton* _tmp4_;
	GtkCheckButton* _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp7_;
#line 65 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 66 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = config;
#line 66 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 66 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 66 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 66 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_index_on_battery (_tmp0_, _tmp3_);
#line 67 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = checkbutton_enable_index_on_battery_first_time;
#line 67 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = source;
#line 67 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp5_);
#line 67 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp6_;
#line 67 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp4_, !_tmp7_);
#line 209 "tracker-preferences.c"
}


void checkbutton_enable_index_on_battery_first_time_toggled_cb (GtkCheckButton* source) {
	TrackerConfig* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 70 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 71 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = config;
#line 71 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 71 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 71 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 71 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_index_on_battery_first_time (_tmp0_, _tmp3_);
#line 230 "tracker-preferences.c"
}


void checkbutton_index_removable_media_toggled_cb (GtkCheckButton* source) {
	TrackerConfig* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GtkCheckButton* _tmp4_;
	GtkCheckButton* _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp7_;
#line 74 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 75 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = config;
#line 75 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 75 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 75 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 75 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_index_removable_devices (_tmp0_, _tmp3_);
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = checkbutton_index_optical_discs;
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = source;
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp5_);
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp6_;
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp4_, _tmp7_);
#line 265 "tracker-preferences.c"
}


void checkbutton_index_optical_discs_toggled_cb (GtkCheckButton* source) {
	TrackerConfig* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 79 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 80 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = config;
#line 80 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 80 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 80 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 80 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_index_optical_discs (_tmp0_, _tmp3_);
#line 286 "tracker-preferences.c"
}


gchar* hscale_disk_space_limit_format_value_cb (GtkScale* source, gdouble value) {
	gchar* result = NULL;
	gdouble _tmp0_;
	const gchar* _tmp3_ = NULL;
	gdouble _tmp4_;
	gchar* _tmp5_ = NULL;
#line 83 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 84 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = value;
#line 84 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (((gint) _tmp0_) == (-1)) {
#line 302 "tracker-preferences.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
#line 85 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = _ ("Disabled");
#line 85 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 85 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp2_;
#line 85 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 313 "tracker-preferences.c"
	}
#line 88 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _ ("%d%%");
#line 88 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = value;
#line 88 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = g_strdup_printf (_tmp3_, (gint) _tmp4_);
#line 88 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp5_;
#line 88 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 325 "tracker-preferences.c"
}


gchar* hscale_throttle_format_value_cb (GtkScale* source, gdouble value) {
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	gdouble _tmp1_;
	gchar* _tmp2_ = NULL;
#line 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 92 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("%d/20");
#line 92 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = value;
#line 92 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_strdup_printf (_tmp0_, (gint) _tmp1_);
#line 92 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp2_;
#line 92 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 346 "tracker-preferences.c"
}


gchar* hscale_drop_device_threshold_format_value_cb (GtkScale* source, gdouble value) {
	gchar* result = NULL;
	gdouble _tmp0_;
	const gchar* _tmp3_ = NULL;
	gdouble _tmp4_;
	gchar* _tmp5_ = NULL;
#line 95 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = value;
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (((gint) _tmp0_) == 0) {
#line 362 "tracker-preferences.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
#line 97 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = _ ("Disabled");
#line 97 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 97 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp2_;
#line 97 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 373 "tracker-preferences.c"
	}
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _ ("%d");
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = value;
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = g_strdup_printf (_tmp3_, (gint) _tmp4_);
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp5_;
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 385 "tracker-preferences.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self ? g_object_ref (self) : NULL;
#line 392 "tracker-preferences.c"
}


void add_freevalue (GtkListStore* model) {
	GtkDialog* dialog = NULL;
	GtkEntry* entry = NULL;
	GtkContainer* content_area = NULL;
	const gchar* _tmp0_ = NULL;
	GtkWindow* _tmp1_;
	GtkDialog* _tmp2_;
	GtkDialog* _tmp3_;
	GtkDialog* _tmp4_;
	GtkDialog* _tmp5_;
	GtkWidget* _tmp6_ = NULL;
	GtkContainer* _tmp7_;
	GtkEntry* _tmp8_;
	GtkEntry* _tmp9_;
	GtkEntry* _tmp10_;
	GtkEntry* _tmp11_;
	GtkContainer* _tmp12_;
	GtkEntry* _tmp13_;
	GtkDialog* _tmp14_;
	gint _tmp15_ = 0;
	GtkDialog* _tmp30_;
#line 103 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (model != NULL);
#line 108 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Enter value");
#line 108 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = window;
#line 108 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp0_, _tmp1_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
#line 108 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_object_ref_sink (_tmp2_);
#line 108 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 108 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp3_;
#line 114 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = dialog;
#line 114 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_dialog_set_default_response (_tmp4_, (gint) GTK_RESPONSE_ACCEPT);
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = dialog;
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_dialog_get_content_area (_tmp5_);
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _g_object_ref0 (GTK_CONTAINER (_tmp6_));
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	content_area = _tmp7_;
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = (GtkEntry*) gtk_entry_new ();
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = g_object_ref_sink (_tmp8_);
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	entry = _tmp9_;
#line 117 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = entry;
#line 117 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_entry_set_activates_default (_tmp10_, TRUE);
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = entry;
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_show ((GtkWidget*) _tmp11_);
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = content_area;
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = entry;
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_container_add (_tmp12_, (GtkWidget*) _tmp13_);
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = dialog;
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = gtk_dialog_run (_tmp14_);
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp15_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 473 "tracker-preferences.c"
		GtkEntry* _tmp16_;
		const gchar* _tmp17_ = NULL;
		gchar* _tmp18_;
		gchar* text;
		gboolean _tmp19_ = FALSE;
		const gchar* _tmp20_;
		gboolean _tmp22_;
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = entry;
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = gtk_entry_get_text (_tmp16_);
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = g_strdup (_tmp17_);
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		text = _tmp18_;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = text;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp20_ != NULL) {
#line 493 "tracker-preferences.c"
			const gchar* _tmp21_;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = text;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = g_strcmp0 (_tmp21_, "") != 0;
#line 499 "tracker-preferences.c"
		} else {
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = FALSE;
#line 503 "tracker-preferences.c"
		}
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = _tmp19_;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp22_) {
#line 509 "tracker-preferences.c"
			GtkTreeIter iter = {0};
			GtkListStore* _tmp23_;
			GtkTreeIter _tmp24_ = {0};
			GValue _tmp25_ = {0};
			GValue v;
			const gchar* _tmp26_;
			GtkListStore* _tmp27_;
			GtkTreeIter _tmp28_;
			GValue _tmp29_;
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = model;
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_append (_tmp23_, &_tmp24_);
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			iter = _tmp24_;
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_init (&_tmp25_, G_TYPE_STRING);
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			v = _tmp25_;
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = text;
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_set_string (&v, _tmp26_);
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = model;
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = iter;
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = v;
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_set_value (_tmp27_, &_tmp28_, 0, &_tmp29_);
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 543 "tracker-preferences.c"
		}
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (text);
#line 547 "tracker-preferences.c"
	}
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp30_ = dialog;
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_object_destroy ((GtkObject*) _tmp30_);
#line 103 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 103 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 103 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 559 "tracker-preferences.c"
}


void add_dir (GtkListStore* model) {
	const gchar* _tmp0_ = NULL;
	GtkWindow* _tmp1_;
	GtkFileChooserDialog* _tmp2_;
	GtkFileChooserDialog* _tmp3_;
	GtkFileChooserDialog* dialog;
	GtkFileChooserDialog* _tmp4_;
	gint _tmp5_ = 0;
	GtkFileChooserDialog* _tmp18_;
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (model != NULL);
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Select directory");
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = window;
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp0_, _tmp1_, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_object_ref_sink (_tmp2_);
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp3_;
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = dialog;
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = gtk_dialog_run ((GtkDialog*) _tmp4_);
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp5_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 590 "tracker-preferences.c"
		GtkTreeIter iter = {0};
		GFile* dir = NULL;
		GtkFileChooserDialog* _tmp6_;
		GFile* _tmp7_ = NULL;
		GFile* _tmp8_;
		GtkListStore* _tmp9_;
		GtkTreeIter _tmp10_ = {0};
		GValue _tmp11_ = {0};
		GValue v;
		GFile* _tmp12_;
		gchar* _tmp13_ = NULL;
		gchar* _tmp14_;
		GtkListStore* _tmp15_;
		GtkTreeIter _tmp16_;
		GValue _tmp17_;
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = dialog;
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = gtk_file_chooser_get_file ((GtkFileChooser*) _tmp6_);
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (dir);
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		dir = _tmp8_;
#line 150 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = model;
#line 150 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_append (_tmp9_, &_tmp10_);
#line 150 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp10_;
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp11_, G_TYPE_STRING);
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		v = _tmp11_;
#line 152 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = dir;
#line 152 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = g_file_get_path (_tmp12_);
#line 152 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp14_ = _tmp13_;
#line 152 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_string (&v, _tmp14_);
#line 152 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp14_);
#line 153 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = model;
#line 153 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = iter;
#line 153 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = v;
#line 153 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp15_, &_tmp16_, 0, &_tmp17_);
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (dir);
#line 648 "tracker-preferences.c"
	}
#line 156 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp18_ = dialog;
#line 156 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_object_destroy ((GtkObject*) _tmp18_);
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 656 "tracker-preferences.c"
}


static void _gtk_tree_path_free0_ (gpointer var) {
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL));
#line 663 "tracker-preferences.c"
}


static void _g_list_free__gtk_tree_path_free0_ (GList* self) {
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_list_foreach (self, (GFunc) _gtk_tree_path_free0_, NULL);
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_list_free (self);
#line 672 "tracker-preferences.c"
}


static gpointer _gtk_tree_path_copy0 (gpointer self) {
#line 170 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self ? gtk_tree_path_copy (self) : NULL;
#line 679 "tracker-preferences.c"
}


void del_dir (GtkTreeView* view) {
	GList* list = NULL;
	GtkListStore* store = NULL;
	GtkTreeModel* model = NULL;
	GtkTreeView* _tmp0_;
	GtkTreeSelection* _tmp1_ = NULL;
	GtkTreeSelection* _tmp2_;
	GtkTreeSelection* selection;
	GtkTreeSelection* _tmp3_;
	GtkTreeModel* _tmp4_ = NULL;
	GList* _tmp5_ = NULL;
	GtkTreeModel* _tmp6_;
	GtkTreeModel* _tmp7_;
	GtkListStore* _tmp8_;
	GList* _tmp9_;
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 165 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = view;
#line 165 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_view_get_selection (_tmp0_);
#line 165 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 165 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	selection = _tmp2_;
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = selection;
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = gtk_tree_selection_get_selected_rows (_tmp3_, &_tmp4_);
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _g_object_ref0 (_tmp4_);
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	model = _tmp6_;
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = _tmp5_;
#line 168 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = model;
#line 168 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _g_object_ref0 (GTK_LIST_STORE (_tmp7_));
#line 168 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 168 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	store = _tmp8_;
#line 170 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = list;
#line 732 "tracker-preferences.c"
	{
		GList* path_collection = NULL;
		GList* path_it = NULL;
#line 170 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		path_collection = _tmp9_;
#line 170 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (path_it = path_collection; path_it != NULL; path_it = path_it->next) {
#line 740 "tracker-preferences.c"
			GtkTreePath* _tmp10_;
			GtkTreePath* path = NULL;
#line 170 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = _gtk_tree_path_copy0 ((GtkTreePath*) path_it->data);
#line 170 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			path = _tmp10_;
#line 747 "tracker-preferences.c"
			{
				GtkTreeIter iter = {0};
				GtkTreeModel* _tmp11_;
				GtkTreePath* _tmp12_;
				GtkTreeIter _tmp13_ = {0};
				gboolean _tmp14_ = FALSE;
#line 172 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = model;
#line 172 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = path;
#line 172 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = gtk_tree_model_get_iter (_tmp11_, &_tmp13_, _tmp12_);
#line 172 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp13_;
#line 172 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp14_) {
#line 764 "tracker-preferences.c"
					GtkListStore* _tmp15_;
					GtkTreeIter _tmp16_;
#line 173 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp15_ = store;
#line 173 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp16_ = iter;
#line 173 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					gtk_list_store_remove (_tmp15_, &_tmp16_);
#line 773 "tracker-preferences.c"
				}
#line 170 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_gtk_tree_path_free0 (path);
#line 777 "tracker-preferences.c"
			}
		}
	}
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (selection);
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 789 "tracker-preferences.c"
}


void button_index_recursively_add_clicked_cb (GtkButton* source) {
	GtkListStore* _tmp0_;
#line 178 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 179 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = liststore_index_recursively;
#line 179 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	add_dir (_tmp0_);
#line 801 "tracker-preferences.c"
}


void button_index_recursively_remove_clicked_cb (GtkButton* source) {
	GtkTreeView* _tmp0_;
#line 182 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = treeview_index_recursively;
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	del_dir (_tmp0_);
#line 813 "tracker-preferences.c"
}


void button_index_single_remove_clicked_cb (GtkButton* source) {
	GtkTreeView* _tmp0_;
#line 186 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 187 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = treeview_index_single;
#line 187 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	del_dir (_tmp0_);
#line 825 "tracker-preferences.c"
}


void button_index_single_add_clicked_cb (GtkButton* source) {
	GtkListStore* _tmp0_;
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = liststore_index_single;
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	add_dir (_tmp0_);
#line 837 "tracker-preferences.c"
}


void button_ignored_directories_globs_add_clicked_cb (GtkButton* source) {
	GtkListStore* _tmp0_;
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 195 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = liststore_ignored_directories;
#line 195 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	add_freevalue (_tmp0_);
#line 849 "tracker-preferences.c"
}


void button_ignored_directories_add_clicked_cb (GtkButton* source) {
	GtkListStore* _tmp0_;
#line 198 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 199 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = liststore_ignored_directories;
#line 199 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	add_dir (_tmp0_);
#line 861 "tracker-preferences.c"
}


void button_ignored_directories_remove_clicked_cb (GtkButton* source) {
	GtkTreeView* _tmp0_;
#line 202 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 203 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = treeview_ignored_directories;
#line 203 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	del_dir (_tmp0_);
#line 873 "tracker-preferences.c"
}


void button_ignored_directories_with_content_add_clicked_cb (GtkButton* source) {
	GtkListStore* _tmp0_;
#line 206 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 207 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = liststore_gnored_directories_with_content;
#line 207 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	add_freevalue (_tmp0_);
#line 885 "tracker-preferences.c"
}


void button_ignored_directories_with_content_remove_clicked_cb (GtkButton* source) {
	GtkTreeView* _tmp0_;
#line 210 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 211 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = treeview_ignored_directories_with_content;
#line 211 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	del_dir (_tmp0_);
#line 897 "tracker-preferences.c"
}


void button_ignored_files_add_clicked_cb (GtkButton* source) {
	GtkListStore* _tmp0_;
#line 214 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 215 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = liststore_ignored_files;
#line 215 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	add_freevalue (_tmp0_);
#line 909 "tracker-preferences.c"
}


void button_ignored_files_remove_clicked_cb (GtkButton* source) {
	GtkTreeView* _tmp0_;
#line 218 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 219 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = treeview_ignored_files;
#line 219 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	del_dir (_tmp0_);
#line 921 "tracker-preferences.c"
}


static void _g_free0_ (gpointer var) {
#line 222 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	var = (g_free (var), NULL);
#line 928 "tracker-preferences.c"
}


static void _g_slist_free__g_free0_ (GSList* self) {
#line 222 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_slist_foreach (self, (GFunc) _g_free0_, NULL);
#line 222 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_slist_free (self);
#line 937 "tracker-preferences.c"
}


GSList* model_to_slist (GtkListStore* model) {
	GSList* result = NULL;
	gboolean valid = FALSE;
	GSList* list;
	GtkTreeIter iter = {0};
	GtkListStore* _tmp0_;
	GtkTreeIter _tmp1_ = {0};
	gboolean _tmp2_ = FALSE;
#line 222 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, NULL);
#line 225 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = NULL;
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = model;
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp0_, &_tmp1_);
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	iter = _tmp1_;
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	valid = _tmp2_;
#line 229 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	while (TRUE) {
#line 963 "tracker-preferences.c"
		gboolean _tmp3_;
		GValue value = {0};
		GtkListStore* _tmp4_;
		GtkTreeIter _tmp5_;
		GValue _tmp6_ = {0};
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_;
		GtkListStore* _tmp9_;
		gboolean _tmp10_ = FALSE;
#line 229 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = valid;
#line 229 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (!_tmp3_) {
#line 229 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			break;
#line 979 "tracker-preferences.c"
		}
#line 231 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = model;
#line 231 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = iter;
#line 231 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_model_get_value ((GtkTreeModel*) _tmp4_, &_tmp5_, 0, &_tmp6_);
#line 231 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 231 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value = _tmp6_;
#line 232 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = g_value_get_string (&value);
#line 232 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = g_strdup (_tmp7_);
#line 232 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		list = g_slist_append (list, _tmp8_);
#line 233 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = model;
#line 233 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp9_, &iter);
#line 233 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp10_;
#line 229 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 1005 "tracker-preferences.c"
	}
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = list;
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 1011 "tracker-preferences.c"
}


gboolean model_contains (GtkTreeModel* model, const gchar* needle) {
	gboolean result = FALSE;
	gboolean valid = FALSE;
	GtkTreeIter iter = {0};
	GtkTreeModel* _tmp0_;
	GtkTreeIter _tmp1_ = {0};
	gboolean _tmp2_ = FALSE;
#line 239 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, FALSE);
#line 239 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = model;
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_tree_model_get_iter_first (_tmp0_, &_tmp1_);
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	iter = _tmp1_;
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	valid = _tmp2_;
#line 244 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	while (TRUE) {
#line 1036 "tracker-preferences.c"
		gboolean _tmp3_;
		GValue value = {0};
		GtkTreeModel* _tmp4_;
		GtkTreeIter _tmp5_;
		GValue _tmp6_ = {0};
		const gchar* _tmp7_ = NULL;
		const gchar* _tmp8_;
		GtkTreeModel* _tmp9_;
		gboolean _tmp10_ = FALSE;
#line 244 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = valid;
#line 244 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (!_tmp3_) {
#line 244 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			break;
#line 1052 "tracker-preferences.c"
		}
#line 246 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = model;
#line 246 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = iter;
#line 246 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_model_get_value (_tmp4_, &_tmp5_, 0, &_tmp6_);
#line 246 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 246 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value = _tmp6_;
#line 247 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = g_value_get_string (&value);
#line 247 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = needle;
#line 247 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (g_strcmp0 (_tmp7_, _tmp8_) == 0) {
#line 248 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			result = TRUE;
#line 248 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 248 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			return result;
#line 1076 "tracker-preferences.c"
		}
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = model;
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = gtk_tree_model_iter_next (_tmp9_, &iter);
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp10_;
#line 244 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 1086 "tracker-preferences.c"
	}
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = FALSE;
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 1092 "tracker-preferences.c"
}


void button_apply_clicked_cb (GtkButton* source) {
	TrackerConfig* _tmp0_;
	GtkListStore* _tmp1_;
	GSList* _tmp2_ = NULL;
	GSList* _tmp3_;
	TrackerConfig* _tmp4_;
	GtkListStore* _tmp5_;
	GSList* _tmp6_ = NULL;
	GSList* _tmp7_;
	TrackerConfig* _tmp8_;
	GtkListStore* _tmp9_;
	GSList* _tmp10_ = NULL;
	GSList* _tmp11_;
	TrackerConfig* _tmp12_;
	GtkListStore* _tmp13_;
	GSList* _tmp14_ = NULL;
	GSList* _tmp15_;
	TrackerConfig* _tmp16_;
	GtkListStore* _tmp17_;
	GSList* _tmp18_ = NULL;
	GSList* _tmp19_;
	TrackerConfig* _tmp20_;
	GtkScale* _tmp21_;
	gdouble _tmp22_ = 0.0;
	TrackerConfig* _tmp23_;
	GtkScale* _tmp24_;
	gdouble _tmp25_ = 0.0;
	TrackerConfig* _tmp26_;
	GtkScale* _tmp27_;
	gdouble _tmp28_ = 0.0;
	TrackerConfig* _tmp29_;
#line 255 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = config;
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = liststore_index_single;
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = model_to_slist (_tmp1_);
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_index_single_directories (_tmp0_, _tmp3_);
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_slist_free__g_free0_0 (_tmp3_);
#line 258 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = config;
#line 258 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = liststore_ignored_directories;
#line 258 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = model_to_slist (_tmp5_);
#line 258 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp6_;
#line 258 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_ignored_directories (_tmp4_, _tmp7_);
#line 258 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_slist_free__g_free0_0 (_tmp7_);
#line 259 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = config;
#line 259 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = liststore_ignored_files;
#line 259 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = model_to_slist (_tmp9_);
#line 259 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = _tmp10_;
#line 259 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_ignored_files (_tmp8_, _tmp11_);
#line 259 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_slist_free__g_free0_0 (_tmp11_);
#line 260 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = config;
#line 260 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = liststore_gnored_directories_with_content;
#line 260 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = model_to_slist (_tmp13_);
#line 260 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = _tmp14_;
#line 260 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_ignored_directories_with_content (_tmp12_, _tmp15_);
#line 260 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_slist_free__g_free0_0 (_tmp15_);
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp16_ = config;
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp17_ = liststore_index_recursively;
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp18_ = model_to_slist (_tmp17_);
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp19_ = _tmp18_;
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_index_recursive_directories (_tmp16_, _tmp19_);
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_slist_free__g_free0_0 (_tmp19_);
#line 263 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp20_ = config;
#line 263 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp21_ = hscale_disk_space_limit;
#line 263 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = gtk_range_get_value ((GtkRange*) _tmp21_);
#line 263 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_low_disk_space_limit (_tmp20_, (gint) _tmp22_);
#line 264 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = config;
#line 264 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp24_ = hscale_throttle;
#line 264 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp25_ = gtk_range_get_value ((GtkRange*) _tmp24_);
#line 264 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_throttle (_tmp23_, (gint) _tmp25_);
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp26_ = config;
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp27_ = hscale_drop_device_threshold;
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp28_ = gtk_range_get_value ((GtkRange*) _tmp27_);
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_set_removable_days_threshold (_tmp26_, (gint) _tmp28_);
#line 267 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp29_ = config;
#line 267 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_config_save (_tmp29_);
#line 1217 "tracker-preferences.c"
}


void button_close_clicked_cb (GtkButton* source) {
#line 272 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 273 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_main_quit ();
#line 1226 "tracker-preferences.c"
}


void togglebutton_home_toggled_cb (GtkToggleButton* source) {
	gboolean _tmp0_ = FALSE;
	GtkToggleButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp6_;
	gboolean _tmp13_ = FALSE;
	GtkToggleButton* _tmp14_;
	gboolean _tmp15_;
	gboolean _tmp16_;
	gboolean _tmp19_;
#line 276 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active (_tmp1_);
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_) {
#line 1251 "tracker-preferences.c"
		GtkListStore* _tmp4_;
		gboolean _tmp5_ = FALSE;
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = liststore_index_recursively;
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = model_contains ((GtkTreeModel*) _tmp4_, HOME_STRING);
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = !_tmp5_;
#line 1260 "tracker-preferences.c"
	} else {
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = FALSE;
#line 1264 "tracker-preferences.c"
	}
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _tmp0_;
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp6_) {
#line 1270 "tracker-preferences.c"
		GtkTreeIter iter = {0};
		GtkListStore* _tmp7_;
		GtkTreeIter _tmp8_ = {0};
		GValue _tmp9_ = {0};
		GValue v;
		GtkListStore* _tmp10_;
		GtkTreeIter _tmp11_;
		GValue _tmp12_;
#line 279 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = liststore_index_recursively;
#line 279 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_append (_tmp7_, &_tmp8_);
#line 279 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp8_;
#line 280 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp9_, G_TYPE_STRING);
#line 280 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		v = _tmp9_;
#line 281 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_string (&v, HOME_STRING);
#line 282 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = liststore_index_recursively;
#line 282 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = iter;
#line 282 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = v;
#line 282 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp10_, &_tmp11_, 0, &_tmp12_);
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 1301 "tracker-preferences.c"
	}
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = source;
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = gtk_toggle_button_get_active (_tmp14_);
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp16_ = _tmp15_;
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!_tmp16_) {
#line 1311 "tracker-preferences.c"
		GtkListStore* _tmp17_;
		gboolean _tmp18_ = FALSE;
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = liststore_index_recursively;
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = model_contains ((GtkTreeModel*) _tmp17_, HOME_STRING);
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = _tmp18_;
#line 1320 "tracker-preferences.c"
	} else {
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = FALSE;
#line 1324 "tracker-preferences.c"
	}
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp19_ = _tmp13_;
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp19_) {
#line 1330 "tracker-preferences.c"
		gboolean valid = FALSE;
		GtkTreeIter iter = {0};
		GtkListStore* _tmp20_;
		GtkTreeIter _tmp21_ = {0};
		gboolean _tmp22_ = FALSE;
#line 289 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = liststore_index_recursively;
#line 289 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp20_, &_tmp21_);
#line 289 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp21_;
#line 289 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp22_;
#line 290 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 1346 "tracker-preferences.c"
			gboolean _tmp23_;
			GValue value = {0};
			GtkListStore* _tmp24_;
			GtkTreeIter _tmp25_;
			GValue _tmp26_ = {0};
			const gchar* _tmp27_ = NULL;
#line 290 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = valid;
#line 290 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp23_) {
#line 290 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 1359 "tracker-preferences.c"
			}
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp24_ = liststore_index_recursively;
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = iter;
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value ((GtkTreeModel*) _tmp24_, &_tmp25_, 0, &_tmp26_);
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp26_;
#line 293 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = g_value_get_string (&value);
#line 293 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp27_, HOME_STRING) == 0) {
#line 1375 "tracker-preferences.c"
				GtkListStore* _tmp28_;
				GtkTreeIter _tmp29_;
				GtkListStore* _tmp30_;
				GtkTreeIter _tmp31_ = {0};
				gboolean _tmp32_ = FALSE;
#line 294 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp28_ = liststore_index_recursively;
#line 294 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp29_ = iter;
#line 294 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_list_store_remove (_tmp28_, &_tmp29_);
#line 295 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp30_ = liststore_index_recursively;
#line 295 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp32_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp30_, &_tmp31_);
#line 295 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp31_;
#line 295 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp32_;
#line 1395 "tracker-preferences.c"
			} else {
				GtkListStore* _tmp33_;
				gboolean _tmp34_ = FALSE;
#line 297 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp33_ = liststore_index_recursively;
#line 297 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp34_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp33_, &iter);
#line 297 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp34_;
#line 1405 "tracker-preferences.c"
			}
#line 290 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 1409 "tracker-preferences.c"
		}
	}
}


void fill_in_model (GtkListStore* model, GSList* list) {
	gint position;
	GSList* _tmp0_;
	GError * _inner_error_ = NULL;
#line 303 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (model != NULL);
#line 306 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	position = 0;
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = list;
#line 1425 "tracker-preferences.c"
	{
		GSList* str_collection = NULL;
		GSList* str_it = NULL;
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		str_collection = _tmp0_;
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (str_it = str_collection; str_it != NULL; str_it = str_it->next) {
#line 1433 "tracker-preferences.c"
			gchar* _tmp1_;
			gchar* str = NULL;
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = g_strdup ((const gchar*) str_it->data);
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			str = _tmp1_;
#line 1440 "tracker-preferences.c"
			{
				{
					const gchar* _tmp2_;
					gchar* _tmp3_ = NULL;
					gchar* _tmp4_;
					GtkListStore* _tmp5_;
					gint _tmp6_;
					gchar* _tmp7_;
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp2_ = str;
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp3_ = g_filename_to_utf8 (_tmp2_, (gssize) (-1), NULL, NULL, &_inner_error_);
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp4_ = _tmp3_;
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_inner_error_ != NULL) {
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						if (_inner_error_->domain == G_CONVERT_ERROR) {
#line 1459 "tracker-preferences.c"
							goto __catch0_g_convert_error;
						}
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_g_free0 (str);
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						g_clear_error (&_inner_error_);
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						return;
#line 1470 "tracker-preferences.c"
					}
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp5_ = model;
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp6_ = position;
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					position = _tmp6_ + 1;
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp7_ = _tmp4_;
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					gtk_list_store_insert_with_values (_tmp5_, NULL, _tmp6_, 0, _tmp7_, -1);
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (_tmp7_);
#line 1484 "tracker-preferences.c"
				}
				goto __finally0;
				__catch0_g_convert_error:
				{
					GError* e = NULL;
					GError* _tmp8_;
					const gchar* _tmp9_;
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					e = _inner_error_;
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_inner_error_ = NULL;
#line 317 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp8_ = e;
#line 317 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp9_ = _tmp8_->message;
#line 317 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_print ("%s", _tmp9_);
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_error_free0 (e);
#line 1504 "tracker-preferences.c"
				}
				__finally0:
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_inner_error_ != NULL) {
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (str);
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_clear_error (&_inner_error_);
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					return;
#line 1517 "tracker-preferences.c"
				}
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (str);
#line 1521 "tracker-preferences.c"
			}
		}
	}
}


void setup_standard_treeview (GtkTreeView* view, const gchar* title) {
	const gchar* _tmp0_;
	GtkCellRendererText* _tmp1_;
	GtkCellRendererText* _tmp2_;
	GtkTreeViewColumn* _tmp3_;
	GtkTreeViewColumn* _tmp4_;
	GtkTreeViewColumn* _tmp5_;
	GtkTreeViewColumn* column;
	GtkTreeView* _tmp6_;
#line 322 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 322 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (title != NULL);
#line 325 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = title;
#line 325 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 325 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_object_ref_sink (_tmp1_);
#line 325 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = gtk_tree_view_column_new_with_attributes (_tmp0_, (GtkCellRenderer*) _tmp2_, "text", 0, NULL);
#line 325 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = g_object_ref_sink (_tmp3_);
#line 325 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = _tmp4_;
#line 325 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (_tmp2_);
#line 325 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	column = _tmp5_;
#line 328 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = view;
#line 328 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_view_append_column (_tmp6_, column);
#line 322 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (column);
#line 1563 "tracker-preferences.c"
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GError * _inner_error_ = NULL;
#line 332 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_init (&args_length1, &args);
#line 334 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#line 335 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#line 336 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	textdomain (GETTEXT_PACKAGE);
#line 1578 "tracker-preferences.c"
	{
		TrackerConfig* _tmp0_;
		GtkBuilder* _tmp1_;
		GtkBuilder* builder;
		GtkBuilder* _tmp2_;
		GtkBuilder* _tmp3_;
		GObject* _tmp4_ = NULL;
		GtkWindow* _tmp5_;
		GtkBuilder* _tmp6_;
		GObject* _tmp7_ = NULL;
		GtkCheckButton* _tmp8_;
		GtkBuilder* _tmp9_;
		GObject* _tmp10_ = NULL;
		GtkCheckButton* _tmp11_;
		GtkCheckButton* _tmp12_;
		TrackerConfig* _tmp13_;
		gboolean _tmp14_;
		gboolean _tmp15_;
		GtkCheckButton* _tmp16_;
		GtkCheckButton* _tmp17_;
		gboolean _tmp18_;
		gboolean _tmp19_;
		GtkCheckButton* _tmp20_;
		TrackerConfig* _tmp21_;
		gboolean _tmp22_;
		gboolean _tmp23_;
		GtkBuilder* _tmp24_;
		GObject* _tmp25_ = NULL;
		GtkSpinButton* _tmp26_;
		GtkSpinButton* _tmp27_;
		GtkSpinButton* _tmp28_;
		TrackerConfig* _tmp29_;
		gint _tmp30_;
		gint _tmp31_;
		GtkBuilder* _tmp32_;
		GObject* _tmp33_ = NULL;
		GtkCheckButton* _tmp34_;
		GtkCheckButton* _tmp35_;
		TrackerConfig* _tmp36_;
		gboolean _tmp37_;
		gboolean _tmp38_;
		GtkBuilder* _tmp39_;
		GObject* _tmp40_ = NULL;
		GtkCheckButton* _tmp41_;
		GtkCheckButton* _tmp42_;
		TrackerConfig* _tmp43_;
		gboolean _tmp44_;
		gboolean _tmp45_;
		GtkBuilder* _tmp46_;
		GObject* _tmp47_ = NULL;
		GtkCheckButton* _tmp48_;
		GtkCheckButton* _tmp49_;
		GtkCheckButton* _tmp50_;
		gboolean _tmp51_;
		gboolean _tmp52_;
		GtkCheckButton* _tmp53_;
		TrackerConfig* _tmp54_;
		gboolean _tmp55_;
		gboolean _tmp56_;
		GtkBuilder* _tmp57_;
		GObject* _tmp58_ = NULL;
		GtkScale* _tmp59_;
		GtkScale* _tmp60_;
		TrackerConfig* _tmp61_;
		gint _tmp62_;
		gint _tmp63_;
		GtkBuilder* _tmp64_;
		GObject* _tmp65_ = NULL;
		GtkScale* _tmp66_;
		GtkScale* _tmp67_;
		TrackerConfig* _tmp68_;
		gint _tmp69_;
		gint _tmp70_;
		GtkBuilder* _tmp71_;
		GObject* _tmp72_ = NULL;
		GtkScale* _tmp73_;
		GtkScale* _tmp74_;
		TrackerConfig* _tmp75_;
		gint _tmp76_;
		gint _tmp77_;
		GtkBuilder* _tmp78_;
		GObject* _tmp79_ = NULL;
		GtkToggleButton* _tmp80_;
		GtkBuilder* _tmp81_;
		GObject* _tmp82_ = NULL;
		GtkNotebook* _tmp83_;
		GtkNotebook* _tmp84_;
		GtkBuilder* _tmp85_;
		GObject* _tmp86_ = NULL;
		GtkTreeView* _tmp87_;
		GtkBuilder* _tmp88_;
		GObject* _tmp89_ = NULL;
		GtkTreeView* _tmp90_;
		GtkBuilder* _tmp91_;
		GObject* _tmp92_ = NULL;
		GtkTreeView* _tmp93_;
		GtkBuilder* _tmp94_;
		GObject* _tmp95_ = NULL;
		GtkTreeView* _tmp96_;
		GtkBuilder* _tmp97_;
		GObject* _tmp98_ = NULL;
		GtkTreeView* _tmp99_;
		GtkTreeView* _tmp100_;
		const gchar* _tmp101_ = NULL;
		GtkTreeView* _tmp102_;
		const gchar* _tmp103_ = NULL;
		GtkTreeView* _tmp104_;
		const gchar* _tmp105_ = NULL;
		GtkTreeView* _tmp106_;
		const gchar* _tmp107_ = NULL;
		GtkTreeView* _tmp108_;
		const gchar* _tmp109_ = NULL;
		GtkBuilder* _tmp110_;
		GObject* _tmp111_ = NULL;
		GtkListStore* _tmp112_;
		GtkListStore* _tmp113_;
		TrackerConfig* _tmp114_;
		GSList* _tmp115_;
		GSList* _tmp116_;
		GtkToggleButton* _tmp117_;
		GtkListStore* _tmp118_;
		gboolean _tmp119_ = FALSE;
		GtkBuilder* _tmp120_;
		GObject* _tmp121_ = NULL;
		GtkListStore* _tmp122_;
		GtkListStore* _tmp123_;
		TrackerConfig* _tmp124_;
		GSList* _tmp125_;
		GSList* _tmp126_;
		GtkBuilder* _tmp127_;
		GObject* _tmp128_ = NULL;
		GtkListStore* _tmp129_;
		GtkListStore* _tmp130_;
		TrackerConfig* _tmp131_;
		GSList* _tmp132_;
		GSList* _tmp133_;
		GtkBuilder* _tmp134_;
		GObject* _tmp135_ = NULL;
		GtkListStore* _tmp136_;
		GtkListStore* _tmp137_;
		TrackerConfig* _tmp138_;
		GSList* _tmp139_;
		GSList* _tmp140_;
		GtkBuilder* _tmp141_;
		GObject* _tmp142_ = NULL;
		GtkListStore* _tmp143_;
		GtkListStore* _tmp144_;
		TrackerConfig* _tmp145_;
		GSList* _tmp146_;
		GSList* _tmp147_;
		GtkBuilder* _tmp148_;
		GtkWindow* _tmp149_;
#line 339 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = tracker_config_new_with_domain ("tracker-miner-fs");
#line 339 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (config);
#line 339 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		config = _tmp0_;
#line 341 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = gtk_builder_new ();
#line 341 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		builder = _tmp1_;
#line 342 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = builder;
#line 342 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_builder_add_from_file (_tmp2_, TRACKER_DATADIR G_DIR_SEPARATOR_S "tracker-preferences.ui", &_inner_error_);
#line 342 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 342 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (builder);
#line 1749 "tracker-preferences.c"
			goto __catch1_g_error;
		}
#line 344 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = builder;
#line 344 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = gtk_builder_get_object (_tmp3_, "tracker-preferences");
#line 344 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = _g_object_ref0 (GTK_IS_WINDOW (_tmp4_) ? ((GtkWindow*) _tmp4_) : NULL);
#line 344 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (window);
#line 344 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		window = _tmp5_;
#line 345 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = builder;
#line 345 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = gtk_builder_get_object (_tmp6_, "checkbutton_enable_index_on_battery");
#line 345 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp7_) ? ((GtkCheckButton*) _tmp7_) : NULL);
#line 345 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (checkbutton_enable_index_on_battery);
#line 345 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		checkbutton_enable_index_on_battery = _tmp8_;
#line 346 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = builder;
#line 346 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = gtk_builder_get_object (_tmp9_, "checkbutton_enable_index_on_battery_first_time");
#line 346 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp10_) ? ((GtkCheckButton*) _tmp10_) : NULL);
#line 346 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (checkbutton_enable_index_on_battery_first_time);
#line 346 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		checkbutton_enable_index_on_battery_first_time = _tmp11_;
#line 347 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = checkbutton_enable_index_on_battery;
#line 347 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = config;
#line 347 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp14_ = tracker_config_get_index_on_battery (_tmp13_);
#line 347 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = _tmp14_;
#line 347 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp12_, _tmp15_);
#line 348 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = checkbutton_enable_index_on_battery_first_time;
#line 348 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = checkbutton_enable_index_on_battery;
#line 348 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp17_);
#line 348 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = _tmp18_;
#line 348 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp16_, !_tmp19_);
#line 349 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = checkbutton_enable_index_on_battery_first_time;
#line 349 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = config;
#line 349 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = tracker_config_get_index_on_battery_first_time (_tmp21_);
#line 349 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = _tmp22_;
#line 349 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp20_, _tmp23_);
#line 350 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = builder;
#line 350 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = gtk_builder_get_object (_tmp24_, "spinbutton_delay");
#line 350 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = _g_object_ref0 (GTK_IS_SPIN_BUTTON (_tmp25_) ? ((GtkSpinButton*) _tmp25_) : NULL);
#line 350 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (spinbutton_delay);
#line 350 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		spinbutton_delay = _tmp26_;
#line 351 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = spinbutton_delay;
#line 351 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_spin_button_set_increments (_tmp27_, (gdouble) 1, (gdouble) 1);
#line 352 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp28_ = spinbutton_delay;
#line 352 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = config;
#line 352 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp30_ = tracker_config_get_initial_sleep (_tmp29_);
#line 352 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp31_ = _tmp30_;
#line 352 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_spin_button_set_value (_tmp28_, (gdouble) _tmp31_);
#line 353 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp32_ = builder;
#line 353 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp33_ = gtk_builder_get_object (_tmp32_, "checkbutton_enable_monitoring");
#line 353 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp34_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp33_) ? ((GtkCheckButton*) _tmp33_) : NULL);
#line 353 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (checkbutton_enable_monitoring);
#line 353 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		checkbutton_enable_monitoring = _tmp34_;
#line 354 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp35_ = checkbutton_enable_monitoring;
#line 354 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp36_ = config;
#line 354 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp37_ = tracker_config_get_enable_monitors (_tmp36_);
#line 354 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp38_ = _tmp37_;
#line 354 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp35_, _tmp38_);
#line 355 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp39_ = builder;
#line 355 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp40_ = gtk_builder_get_object (_tmp39_, "checkbutton_index_removable_media");
#line 355 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp41_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp40_) ? ((GtkCheckButton*) _tmp40_) : NULL);
#line 355 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (checkbutton_index_removable_media);
#line 355 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		checkbutton_index_removable_media = _tmp41_;
#line 356 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp42_ = checkbutton_index_removable_media;
#line 356 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp43_ = config;
#line 356 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp44_ = tracker_config_get_index_removable_devices (_tmp43_);
#line 356 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp45_ = _tmp44_;
#line 356 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp42_, _tmp45_);
#line 357 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp46_ = builder;
#line 357 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp47_ = gtk_builder_get_object (_tmp46_, "checkbutton_index_optical_discs");
#line 357 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp48_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp47_) ? ((GtkCheckButton*) _tmp47_) : NULL);
#line 357 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (checkbutton_index_optical_discs);
#line 357 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		checkbutton_index_optical_discs = _tmp48_;
#line 358 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp49_ = checkbutton_index_optical_discs;
#line 358 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp50_ = checkbutton_index_removable_media;
#line 358 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp51_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp50_);
#line 358 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp52_ = _tmp51_;
#line 358 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp49_, _tmp52_);
#line 359 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp53_ = checkbutton_index_optical_discs;
#line 359 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp54_ = config;
#line 359 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp55_ = tracker_config_get_index_optical_discs (_tmp54_);
#line 359 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp56_ = _tmp55_;
#line 359 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp53_, _tmp56_);
#line 360 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp57_ = builder;
#line 360 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp58_ = gtk_builder_get_object (_tmp57_, "hscale_disk_space_limit");
#line 360 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp59_ = _g_object_ref0 (GTK_IS_SCALE (_tmp58_) ? ((GtkScale*) _tmp58_) : NULL);
#line 360 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (hscale_disk_space_limit);
#line 360 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		hscale_disk_space_limit = _tmp59_;
#line 361 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp60_ = hscale_disk_space_limit;
#line 361 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp61_ = config;
#line 361 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp62_ = tracker_config_get_low_disk_space_limit (_tmp61_);
#line 361 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp63_ = _tmp62_;
#line 361 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_range_set_value ((GtkRange*) _tmp60_, (gdouble) _tmp63_);
#line 362 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp64_ = builder;
#line 362 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp65_ = gtk_builder_get_object (_tmp64_, "hscale_throttle");
#line 362 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp66_ = _g_object_ref0 (GTK_IS_SCALE (_tmp65_) ? ((GtkScale*) _tmp65_) : NULL);
#line 362 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (hscale_throttle);
#line 362 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		hscale_throttle = _tmp66_;
#line 363 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp67_ = hscale_throttle;
#line 363 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp68_ = config;
#line 363 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp69_ = tracker_config_get_throttle (_tmp68_);
#line 363 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp70_ = _tmp69_;
#line 363 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_range_set_value ((GtkRange*) _tmp67_, (gdouble) _tmp70_);
#line 364 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp71_ = builder;
#line 364 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp72_ = gtk_builder_get_object (_tmp71_, "hscale_drop_device_threshold");
#line 364 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp73_ = _g_object_ref0 (GTK_IS_SCALE (_tmp72_) ? ((GtkScale*) _tmp72_) : NULL);
#line 364 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (hscale_drop_device_threshold);
#line 364 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		hscale_drop_device_threshold = _tmp73_;
#line 365 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp74_ = hscale_drop_device_threshold;
#line 365 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp75_ = config;
#line 365 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp76_ = tracker_config_get_removable_days_threshold (_tmp75_);
#line 365 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp77_ = _tmp76_;
#line 365 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_range_set_value ((GtkRange*) _tmp74_, (gdouble) _tmp77_);
#line 366 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp78_ = builder;
#line 366 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp79_ = gtk_builder_get_object (_tmp78_, "togglebutton_home");
#line 366 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp80_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp79_) ? ((GtkToggleButton*) _tmp79_) : NULL);
#line 366 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (togglebutton_home);
#line 366 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		togglebutton_home = _tmp80_;
#line 368 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp81_ = builder;
#line 368 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp82_ = gtk_builder_get_object (_tmp81_, "notebook");
#line 368 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp83_ = _g_object_ref0 (GTK_IS_NOTEBOOK (_tmp82_) ? ((GtkNotebook*) _tmp82_) : NULL);
#line 368 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (notebook);
#line 368 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		notebook = _tmp83_;
#line 372 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp84_ = notebook;
#line 372 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_notebook_remove_page (_tmp84_, 0);
#line 374 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp85_ = builder;
#line 374 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp86_ = gtk_builder_get_object (_tmp85_, "treeview_index_recursively");
#line 374 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp87_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp86_) ? ((GtkTreeView*) _tmp86_) : NULL);
#line 374 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (treeview_index_recursively);
#line 374 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		treeview_index_recursively = _tmp87_;
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp88_ = builder;
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp89_ = gtk_builder_get_object (_tmp88_, "treeview_index_single");
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp90_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp89_) ? ((GtkTreeView*) _tmp89_) : NULL);
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (treeview_index_single);
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		treeview_index_single = _tmp90_;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp91_ = builder;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp92_ = gtk_builder_get_object (_tmp91_, "treeview_ignored_directories");
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp93_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp92_) ? ((GtkTreeView*) _tmp92_) : NULL);
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (treeview_ignored_directories);
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		treeview_ignored_directories = _tmp93_;
#line 377 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp94_ = builder;
#line 377 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp95_ = gtk_builder_get_object (_tmp94_, "treeview_ignored_directories_with_content");
#line 377 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp96_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp95_) ? ((GtkTreeView*) _tmp95_) : NULL);
#line 377 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (treeview_ignored_directories_with_content);
#line 377 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		treeview_ignored_directories_with_content = _tmp96_;
#line 378 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp97_ = builder;
#line 378 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp98_ = gtk_builder_get_object (_tmp97_, "treeview_ignored_files");
#line 378 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp99_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp98_) ? ((GtkTreeView*) _tmp98_) : NULL);
#line 378 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (treeview_ignored_files);
#line 378 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		treeview_ignored_files = _tmp99_;
#line 380 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp100_ = treeview_index_recursively;
#line 380 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp101_ = _ ("Directory");
#line 380 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		setup_standard_treeview (_tmp100_, _tmp101_);
#line 381 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp102_ = treeview_index_single;
#line 381 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp103_ = _ ("Directory");
#line 381 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		setup_standard_treeview (_tmp102_, _tmp103_);
#line 382 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp104_ = treeview_ignored_directories;
#line 382 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp105_ = _ ("Directory");
#line 382 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		setup_standard_treeview (_tmp104_, _tmp105_);
#line 383 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp106_ = treeview_ignored_directories_with_content;
#line 383 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp107_ = _ ("Directory");
#line 383 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		setup_standard_treeview (_tmp106_, _tmp107_);
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp108_ = treeview_ignored_files;
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp109_ = _ ("File");
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		setup_standard_treeview (_tmp108_, _tmp109_);
#line 386 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp110_ = builder;
#line 386 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp111_ = gtk_builder_get_object (_tmp110_, "liststore_index_recursively");
#line 386 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp112_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp111_) ? ((GtkListStore*) _tmp111_) : NULL);
#line 386 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (liststore_index_recursively);
#line 386 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		liststore_index_recursively = _tmp112_;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp113_ = liststore_index_recursively;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp114_ = config;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp115_ = tracker_config_get_index_recursive_directories_unfiltered (_tmp114_);
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp116_ = _tmp115_;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		fill_in_model (_tmp113_, _tmp116_);
#line 389 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp117_ = togglebutton_home;
#line 389 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp118_ = liststore_index_recursively;
#line 389 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp119_ = model_contains ((GtkTreeModel*) _tmp118_, HOME_STRING);
#line 389 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active (_tmp117_, _tmp119_);
#line 391 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp120_ = builder;
#line 391 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp121_ = gtk_builder_get_object (_tmp120_, "liststore_index_single");
#line 391 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp122_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp121_) ? ((GtkListStore*) _tmp121_) : NULL);
#line 391 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (liststore_index_single);
#line 391 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		liststore_index_single = _tmp122_;
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp123_ = liststore_index_single;
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp124_ = config;
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp125_ = tracker_config_get_index_single_directories_unfiltered (_tmp124_);
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp126_ = _tmp125_;
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		fill_in_model (_tmp123_, _tmp126_);
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp127_ = builder;
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp128_ = gtk_builder_get_object (_tmp127_, "liststore_ignored_directories");
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp129_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp128_) ? ((GtkListStore*) _tmp128_) : NULL);
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (liststore_ignored_directories);
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		liststore_ignored_directories = _tmp129_;
#line 395 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp130_ = liststore_ignored_directories;
#line 395 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp131_ = config;
#line 395 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp132_ = tracker_config_get_ignored_directories (_tmp131_);
#line 395 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp133_ = _tmp132_;
#line 395 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		fill_in_model (_tmp130_, _tmp133_);
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp134_ = builder;
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp135_ = gtk_builder_get_object (_tmp134_, "liststore_ignored_files");
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp136_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp135_) ? ((GtkListStore*) _tmp135_) : NULL);
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (liststore_ignored_files);
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		liststore_ignored_files = _tmp136_;
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp137_ = liststore_ignored_files;
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp138_ = config;
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp139_ = tracker_config_get_ignored_files (_tmp138_);
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp140_ = _tmp139_;
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		fill_in_model (_tmp137_, _tmp140_);
#line 400 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp141_ = builder;
#line 400 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp142_ = gtk_builder_get_object (_tmp141_, "liststore_gnored_directories_with_content");
#line 400 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp143_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp142_) ? ((GtkListStore*) _tmp142_) : NULL);
#line 400 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (liststore_gnored_directories_with_content);
#line 400 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		liststore_gnored_directories_with_content = _tmp143_;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp144_ = liststore_gnored_directories_with_content;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp145_ = config;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp146_ = tracker_config_get_ignored_directories_with_content (_tmp145_);
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp147_ = _tmp146_;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		fill_in_model (_tmp144_, _tmp147_);
#line 403 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp148_ = builder;
#line 403 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_builder_connect_signals (_tmp148_, NULL);
#line 405 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp149_ = window;
#line 405 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_widget_show_all ((GtkWidget*) _tmp149_);
#line 407 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_main ();
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (builder);
#line 2190 "tracker-preferences.c"
	}
	goto __finally1;
	__catch1_g_error:
	{
		GError* e = NULL;
		FILE* _tmp150_;
		GError* _tmp151_;
		const gchar* _tmp152_;
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 409 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp150_ = stderr;
#line 409 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp151_ = e;
#line 409 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp152_ = _tmp151_->message;
#line 409 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		fprintf (_tmp150_, "Could not load UI: %s\n", _tmp152_);
#line 410 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = 1;
#line 410 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 410 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 2217 "tracker-preferences.c"
	}
	__finally1:
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_inner_error_ != NULL) {
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return 0;
#line 2228 "tracker-preferences.c"
	}
#line 413 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = 0;
#line 413 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 2234 "tracker-preferences.c"
}


int main (int argc, char ** argv) {
#line 331 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_type_init ();
#line 331 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return _vala_main (argv, argc);
#line 2243 "tracker-preferences.c"
}



