/* 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.
 */

#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
#include <float.h>
#include <math.h>
#include <gmodule.h>
#include <stdio.h>
#include <config.h>
#include <gobject/gvaluecollector.h>


#define TRACKER_TYPE_PREFERENCES (tracker_preferences_get_type ())
#define TRACKER_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_PREFERENCES, TrackerPreferences))
#define TRACKER_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_PREFERENCES, TrackerPreferencesClass))
#define TRACKER_IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_PREFERENCES))
#define TRACKER_IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_PREFERENCES))
#define TRACKER_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_PREFERENCES, TrackerPreferencesClass))

typedef struct _TrackerPreferences TrackerPreferences;
typedef struct _TrackerPreferencesClass TrackerPreferencesClass;
typedef struct _TrackerPreferencesPrivate TrackerPreferencesPrivate;
#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_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_module_close0(var) ((var == NULL) ? NULL : (var = (g_module_close (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)))
typedef struct _Block1Data Block1Data;
#define _tracker_preferences_unref0(var) ((var == NULL) ? NULL : (var = (tracker_preferences_unref (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
typedef struct _TrackerParamSpecPreferences TrackerParamSpecPreferences;
#define _g_option_context_free0(var) ((var == NULL) ? NULL : (var = (g_option_context_free (var), NULL)))

struct _TrackerPreferences {
	GTypeInstance parent_instance;
	volatile int ref_count;
	TrackerPreferencesPrivate * priv;
};

struct _TrackerPreferencesClass {
	GTypeClass parent_class;
	void (*finalize) (TrackerPreferences *self);
};

struct _TrackerPreferencesPrivate {
	GSettings* settings_miner_fs;
	GSettings* settings_extract;
	gchar* HOME_STRING_EVALUATED;
	GtkWindow* window;
	GtkCheckButton* checkbutton_enable_index_on_battery_first_time;
	GtkCheckButton* checkbutton_enable_index_on_battery;
	GtkSpinButton* spinbutton_delay;
	GtkCheckButton* checkbutton_enable_monitoring;
	GtkCheckButton* checkbutton_index_removable_media;
	GtkCheckButton* checkbutton_index_optical_discs;
	GtkScale* hscale_disk_space_limit;
	GtkRadioButton* radiobutton_sched_idle_always;
	GtkRadioButton* radiobutton_sched_idle_first_index;
	GtkRadioButton* radiobutton_sched_idle_never;
	GtkScale* hscale_drop_device_threshold;
	GtkListStore* liststore_index;
	GtkListStore* liststore_ignored_directories;
	GtkListStore* liststore_ignored_files;
	GtkListStore* liststore_ignored_directories_with_content;
	GtkTreeView* treeview_index;
	GtkTreeView* treeview_ignored_directories;
	GtkTreeView* treeview_ignored_directories_with_content;
	GtkTreeView* treeview_ignored_files;
	GtkTreeViewColumn* treeviewcolumn_index1;
	GtkTreeViewColumn* treeviewcolumn_index2;
	GtkToggleButton* togglebutton_home;
	GtkToggleButton* togglebutton_desktop;
	GtkToggleButton* togglebutton_documents;
	GtkToggleButton* togglebutton_music;
	GtkToggleButton* togglebutton_pictures;
	GtkToggleButton* togglebutton_videos;
	GtkToggleButton* togglebutton_download;
	GtkNotebook* notebook;
};

struct _Block1Data {
	int _ref_count_;
	TrackerPreferences * self;
	GtkListStore* store;
};

struct _TrackerParamSpecPreferences {
	GParamSpec parent_instance;
};


static gpointer tracker_preferences_parent_class = NULL;
extern gboolean print_version;
gboolean print_version = FALSE;

gpointer tracker_preferences_ref (gpointer instance);
void tracker_preferences_unref (gpointer instance);
GParamSpec* tracker_param_spec_preferences (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void tracker_value_set_preferences (GValue* value, gpointer v_object);
void tracker_value_take_preferences (GValue* value, gpointer v_object);
gpointer tracker_value_get_preferences (const GValue* value);
GType tracker_preferences_get_type (void) G_GNUC_CONST;
#define TRACKER_PREFERENCES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_TYPE_PREFERENCES, TrackerPreferencesPrivate))
enum  {
	TRACKER_PREFERENCES_DUMMY_PROPERTY
};
#define TRACKER_PREFERENCES_UI_FILE "tracker-preferences.ui"
#define TRACKER_PREFERENCES_HOME_STRING "$HOME"
TrackerPreferences* tracker_preferences_new (void);
TrackerPreferences* tracker_preferences_construct (GType object_type);
static gchar* tracker_preferences_dir_from_config (TrackerPreferences* self, const gchar* input);
static void __lambda0_ (TrackerPreferences* self, const gchar* key);
static void ___lambda0__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void __lambda1_ (TrackerPreferences* self, const gchar* key);
static void ___lambda1__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
void tracker_preferences_setup_ui (TrackerPreferences* self);
static void tracker_preferences_treeview_setup (TrackerPreferences* self, GtkTreeView* view, const gchar* title, gboolean show_recurse_column);
static void tracker_preferences_model_populate (TrackerPreferences* self, GtkListStore* model, gchar** list, int list_length1, gboolean have_recurse, gboolean recurse);
gboolean tracker_preferences_model_contains (TrackerPreferences* self, GtkTreeModel* model, const gchar* needle);
static void tracker_preferences_connect_signals (GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, GConnectFlags flags, TrackerPreferences* self);
static void _tracker_preferences_connect_signals_gtk_builder_connect_func (GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, GConnectFlags flags, gpointer self);
void tracker_preferences_show (TrackerPreferences* self);
void tracker_preferences_response_cb (GtkDialog* source, gint response_id, TrackerPreferences* self);
static gchar** tracker_preferences_model_to_strv (TrackerPreferences* self, GtkListStore* model, gboolean recurse_required, gboolean recurse_value, int* result_length1);
void tracker_preferences_spinbutton_delay_value_changed_cb (GtkSpinButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_enable_monitoring_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_enable_index_on_battery_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_enable_index_on_battery_first_time_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_index_removable_media_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_index_optical_discs_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
gchar* tracker_preferences_hscale_disk_space_limit_format_value_cb (GtkScale* source, gdouble value, TrackerPreferences* self);
gchar* tracker_preferences_hscale_drop_device_threshold_format_value_cb (GtkScale* source, gdouble value, TrackerPreferences* self);
void tracker_preferences_button_index_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
static void tracker_preferences_store_add_dir (TrackerPreferences* self, GtkListStore* store);
void tracker_preferences_button_index_remove_clicked_cb (GtkButton* source, TrackerPreferences* self);
static void tracker_preferences_store_del_dir (TrackerPreferences* self, GtkTreeView* view);
void tracker_preferences_button_ignored_directories_globs_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
static void tracker_preferences_store_add_value_dialog (TrackerPreferences* self, GtkListStore* store);
void tracker_preferences_button_ignored_directories_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_directories_remove_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_directories_with_content_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_directories_with_content_remove_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_files_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_files_remove_clicked_cb (GtkButton* source, TrackerPreferences* self);
static void tracker_preferences_togglebutton_directory_update_model (TrackerPreferences* self, GtkToggleButton* source, GtkListStore* store, const gchar* to_check);
void tracker_preferences_togglebutton_home_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_desktop_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_documents_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_music_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_pictures_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_videos_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_download_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
static void tracker_preferences_toggles_update (TrackerPreferences* self, GUserDirectory* matches, int matches_length1, gboolean active);
static GUserDirectory* tracker_preferences_dir_match_user_directories (TrackerPreferences* self, const gchar* input, int* result_length1);
static void _gtk_tree_path_free0_ (gpointer var);
static void _g_list_free__gtk_tree_path_free0_ (GList* self);
static void _vala_array_add1 (GUserDirectory** array, int* length, int* size, GUserDirectory value);
static gchar* tracker_preferences_dir_to_config (TrackerPreferences* self, const gchar* input);
const gchar* g_user_directory_to_string (GUserDirectory self);
static const char* _g_user_directory_to_string (GUserDirectory value);
static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void block1_data_unref (Block1Data* _data1_);
static void ___lambda2_ (Block1Data* _data1_, GtkCellRendererToggle* toggle, const gchar* path);
static void ____lambda2__gtk_cell_renderer_toggle_toggled (GtkCellRendererToggle* _sender, const gchar* path, gpointer self);
static void tracker_preferences_finalize (TrackerPreferences* obj);
gint _vala_main (gchar** args, int args_length1);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);

const GOptionEntry options[2] = {{"version", 'V', 0, G_OPTION_ARG_NONE, &print_version, "Print version", NULL}, {NULL}};

static void __lambda0_ (TrackerPreferences* self, const gchar* key) {
	const gchar* _tmp0_;
#line 79 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (key != NULL);
#line 80 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = key;
#line 80 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_print ("tracker-miner-fs: Key '%s' changed\n", _tmp0_);
#line 210 "tracker-preferences.c"
}


static void ___lambda0__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 79 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__lambda0_ (self, key);
#line 217 "tracker-preferences.c"
}


static void __lambda1_ (TrackerPreferences* self, const gchar* key) {
	const gchar* _tmp0_;
#line 83 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (key != NULL);
#line 84 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = key;
#line 84 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_print ("tracker-extract: Key '%s' changed\n", _tmp0_);
#line 229 "tracker-preferences.c"
}


static void ___lambda1__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 83 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__lambda1_ (self, key);
#line 236 "tracker-preferences.c"
}


TrackerPreferences* tracker_preferences_construct (GType object_type) {
	TrackerPreferences* self = NULL;
	gchar* _tmp0_ = NULL;
	GSettings* _tmp1_;
	GSettings* _tmp2_;
	GSettings* _tmp3_;
	GSettings* _tmp4_;
#line 70 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self = (TrackerPreferences*) g_type_create_instance (object_type);
#line 71 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_debug ("tracker-preferences.vala:71: Getting current settings");
#line 73 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = tracker_preferences_dir_from_config (self, TRACKER_PREFERENCES_HOME_STRING);
#line 73 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (self->priv->HOME_STRING_EVALUATED);
#line 73 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->HOME_STRING_EVALUATED = _tmp0_;
#line 75 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_settings_new ("org.freedesktop.Tracker.Miner.Files");
#line 75 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_miner_fs);
#line 75 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_miner_fs = _tmp1_;
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_settings_new ("org.freedesktop.Tracker.Extract");
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_extract);
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_extract = _tmp2_;
#line 79 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = self->priv->settings_miner_fs;
#line 79 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_signal_connect (_tmp3_, "changed", (GCallback) ___lambda0__g_settings_changed, self);
#line 83 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = self->priv->settings_extract;
#line 83 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_signal_connect (_tmp4_, "changed", (GCallback) ___lambda1__g_settings_changed, self);
#line 70 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self;
#line 279 "tracker-preferences.c"
}


TrackerPreferences* tracker_preferences_new (void) {
#line 70 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return tracker_preferences_construct (TRACKER_TYPE_PREFERENCES);
#line 286 "tracker-preferences.c"
}


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


static void _tracker_preferences_connect_signals_gtk_builder_connect_func (GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, GConnectFlags flags, gpointer self) {
#line 202 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_connect_signals (builder, object, signal_name, handler_name, connect_object, flags, self);
#line 300 "tracker-preferences.c"
}


void tracker_preferences_setup_ui (TrackerPreferences* self) {
	GtkBuilder* _tmp0_;
	GtkBuilder* builder;
	GObject* _tmp6_ = NULL;
	GtkWindow* _tmp7_;
	GObject* _tmp8_ = NULL;
	GtkNotebook* _tmp9_;
	GObject* _tmp10_ = NULL;
	GtkCheckButton* _tmp11_;
	GObject* _tmp12_ = NULL;
	GtkCheckButton* _tmp13_;
	GObject* _tmp14_ = NULL;
	GtkCheckButton* _tmp15_;
	GObject* _tmp16_ = NULL;
	GtkSpinButton* _tmp17_;
	GObject* _tmp18_ = NULL;
	GtkCheckButton* _tmp19_;
	GObject* _tmp20_ = NULL;
	GtkCheckButton* _tmp21_;
	GtkCheckButton* _tmp22_;
	GtkCheckButton* _tmp23_;
	gboolean _tmp24_;
	gboolean _tmp25_;
	GObject* _tmp26_ = NULL;
	GtkScale* _tmp27_;
	GObject* _tmp28_ = NULL;
	GtkRadioButton* _tmp29_;
	GObject* _tmp30_ = NULL;
	GtkRadioButton* _tmp31_;
	GObject* _tmp32_ = NULL;
	GtkRadioButton* _tmp33_;
	GObject* _tmp34_ = NULL;
	GtkScale* _tmp35_;
	GObject* _tmp36_ = NULL;
	GtkToggleButton* _tmp37_;
	GObject* _tmp38_ = NULL;
	GtkToggleButton* _tmp39_;
	GObject* _tmp40_ = NULL;
	GtkToggleButton* _tmp41_;
	GObject* _tmp42_ = NULL;
	GtkToggleButton* _tmp43_;
	GObject* _tmp44_ = NULL;
	GtkToggleButton* _tmp45_;
	GObject* _tmp46_ = NULL;
	GtkToggleButton* _tmp47_;
	GObject* _tmp48_ = NULL;
	GtkToggleButton* _tmp49_;
	GObject* _tmp50_ = NULL;
	GtkTreeView* _tmp51_;
	GObject* _tmp52_ = NULL;
	GtkTreeViewColumn* _tmp53_;
	GObject* _tmp54_ = NULL;
	GtkTreeViewColumn* _tmp55_;
	GObject* _tmp56_ = NULL;
	GtkTreeView* _tmp57_;
	GObject* _tmp58_ = NULL;
	GtkTreeView* _tmp59_;
	GObject* _tmp60_ = NULL;
	GtkTreeView* _tmp61_;
	GtkTreeView* _tmp62_;
	const gchar* _tmp63_ = NULL;
	GtkTreeView* _tmp64_;
	const gchar* _tmp65_ = NULL;
	GtkTreeView* _tmp66_;
	const gchar* _tmp67_ = NULL;
	GtkTreeView* _tmp68_;
	const gchar* _tmp69_ = NULL;
	GObject* _tmp70_ = NULL;
	GtkListStore* _tmp71_;
	GtkListStore* _tmp72_;
	GObject* _tmp73_ = NULL;
	GtkListStore* _tmp74_;
	GObject* _tmp75_ = NULL;
	GtkListStore* _tmp76_;
	GObject* _tmp77_ = NULL;
	GtkListStore* _tmp78_;
	GtkCheckButton* _tmp79_;
	GSettings* _tmp80_;
	gboolean _tmp81_ = FALSE;
	GtkCheckButton* _tmp82_;
	GtkCheckButton* _tmp83_;
	gboolean _tmp84_;
	gboolean _tmp85_;
	GtkCheckButton* _tmp86_;
	GSettings* _tmp87_;
	gboolean _tmp88_ = FALSE;
	GtkSpinButton* _tmp89_;
	GtkSpinButton* _tmp90_;
	GSettings* _tmp91_;
	gint _tmp92_ = 0;
	GtkCheckButton* _tmp93_;
	GSettings* _tmp94_;
	gboolean _tmp95_ = FALSE;
	GtkCheckButton* _tmp96_;
	GSettings* _tmp97_;
	gboolean _tmp98_ = FALSE;
	GtkCheckButton* _tmp99_;
	GSettings* _tmp100_;
	gboolean _tmp101_ = FALSE;
	GtkScale* _tmp102_;
	GSettings* _tmp103_;
	gint _tmp104_ = 0;
	GtkScale* _tmp105_;
	GSettings* _tmp106_;
	gint _tmp107_ = 0;
	GSettings* _tmp108_;
	gint _tmp109_ = 0;
	gint sched_idle;
	gint _tmp110_;
	GtkListStore* _tmp117_;
	GSettings* _tmp118_;
	gchar** _tmp119_;
	gchar** _tmp120_ = NULL;
	gchar** _tmp121_;
	gint _tmp121__length1;
	GtkListStore* _tmp122_;
	GSettings* _tmp123_;
	gchar** _tmp124_;
	gchar** _tmp125_ = NULL;
	gchar** _tmp126_;
	gint _tmp126__length1;
	GtkListStore* _tmp127_;
	GSettings* _tmp128_;
	gchar** _tmp129_;
	gchar** _tmp130_ = NULL;
	gchar** _tmp131_;
	gint _tmp131__length1;
	GtkListStore* _tmp132_;
	GSettings* _tmp133_;
	gchar** _tmp134_;
	gchar** _tmp135_ = NULL;
	gchar** _tmp136_;
	gint _tmp136__length1;
	GtkListStore* _tmp137_;
	GSettings* _tmp138_;
	gchar** _tmp139_;
	gchar** _tmp140_ = NULL;
	gchar** _tmp141_;
	gint _tmp141__length1;
	GtkToggleButton* _tmp142_;
	GtkListStore* _tmp143_;
	const gchar* _tmp144_;
	gboolean _tmp145_ = FALSE;
	GtkToggleButton* _tmp146_;
	GtkListStore* _tmp147_;
	gboolean _tmp148_ = FALSE;
	GtkToggleButton* _tmp149_;
	GtkListStore* _tmp150_;
	gboolean _tmp151_ = FALSE;
	GtkToggleButton* _tmp152_;
	GtkListStore* _tmp153_;
	gboolean _tmp154_ = FALSE;
	GtkToggleButton* _tmp155_;
	GtkListStore* _tmp156_;
	gboolean _tmp157_ = FALSE;
	GtkToggleButton* _tmp158_;
	GtkListStore* _tmp159_;
	gboolean _tmp160_ = FALSE;
	GtkToggleButton* _tmp161_;
	GtkListStore* _tmp162_;
	gboolean _tmp163_ = FALSE;
	GtkNotebook* _tmp164_;
	GError * _inner_error_ = NULL;
#line 88 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 89 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = gtk_builder_new ();
#line 89 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	builder = _tmp0_;
#line 473 "tracker-preferences.c"
	{
#line 92 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_debug ("tracker-preferences.vala:92: Trying to use UI file:'%s'", SRCDIR TRACKER_PREFERENCES_UI_FILE);
#line 93 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_builder_add_from_file (builder, SRCDIR TRACKER_PREFERENCES_UI_FILE, &_inner_error_);
#line 93 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 481 "tracker-preferences.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e = NULL;
#line 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 493 "tracker-preferences.c"
		{
#line 97 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:97: Trying to use UI file:'%s'", TRACKER_UI_DIR TRACKER_PREFERENCES_UI_FILE);
#line 98 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_builder_add_from_file (builder, TRACKER_UI_DIR TRACKER_PREFERENCES_UI_FILE, &_inner_error_);
#line 98 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_inner_error_ != NULL) {
#line 501 "tracker-preferences.c"
				goto __catch1_g_error;
			}
		}
		goto __finally1;
		__catch1_g_error:
		{
			GError* e = NULL;
			GError* _tmp1_;
			const gchar* _tmp2_;
			GtkMessageDialog* _tmp3_;
			GtkMessageDialog* _tmp4_;
			GtkMessageDialog* msg;
			GtkMessageDialog* _tmp5_;
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			e = _inner_error_;
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_inner_error_ = NULL;
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = e;
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp2_ = _tmp1_->message;
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CANCEL, "Failed to load UI file, %s\n", _tmp2_);
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = g_object_ref_sink (_tmp3_);
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			msg = _tmp4_;
#line 106 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = msg;
#line 106 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_dialog_run ((GtkDialog*) _tmp5_);
#line 107 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_main_quit ();
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (msg);
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 539 "tracker-preferences.c"
		}
		__finally1:
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (builder);
#line 96 "/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 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_clear_error (&_inner_error_);
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			return;
#line 556 "tracker-preferences.c"
		}
#line 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 560 "tracker-preferences.c"
	}
	__finally0:
#line 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_inner_error_ != NULL) {
#line 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (builder);
#line 91 "/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 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return;
#line 573 "tracker-preferences.c"
	}
#line 112 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_builder_get_object (builder, "tracker-preferences");
#line 112 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _g_object_ref0 (GTK_IS_WINDOW (_tmp6_) ? ((GtkWindow*) _tmp6_) : NULL);
#line 112 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->window);
#line 112 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->window = _tmp7_;
#line 113 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = gtk_builder_get_object (builder, "notebook");
#line 113 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = _g_object_ref0 (GTK_IS_NOTEBOOK (_tmp8_) ? ((GtkNotebook*) _tmp8_) : NULL);
#line 113 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->notebook);
#line 113 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->notebook = _tmp9_;
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = gtk_builder_get_object (builder, "checkbutton_enable_monitoring");
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp10_) ? ((GtkCheckButton*) _tmp10_) : NULL);
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_monitoring);
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_monitoring = _tmp11_;
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = gtk_builder_get_object (builder, "checkbutton_enable_index_on_battery");
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp12_) ? ((GtkCheckButton*) _tmp12_) : NULL);
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery);
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_index_on_battery = _tmp13_;
#line 117 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = gtk_builder_get_object (builder, "checkbutton_enable_index_on_battery_first_time");
#line 117 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp14_) ? ((GtkCheckButton*) _tmp14_) : NULL);
#line 117 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery_first_time);
#line 117 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_index_on_battery_first_time = _tmp15_;
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp16_ = gtk_builder_get_object (builder, "spinbutton_delay");
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp17_ = _g_object_ref0 (GTK_IS_SPIN_BUTTON (_tmp16_) ? ((GtkSpinButton*) _tmp16_) : NULL);
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->spinbutton_delay);
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->spinbutton_delay = _tmp17_;
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp18_ = gtk_builder_get_object (builder, "checkbutton_index_removable_media");
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp19_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp18_) ? ((GtkCheckButton*) _tmp18_) : NULL);
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_removable_media);
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_removable_media = _tmp19_;
#line 120 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp20_ = gtk_builder_get_object (builder, "checkbutton_index_optical_discs");
#line 120 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp21_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp20_) ? ((GtkCheckButton*) _tmp20_) : NULL);
#line 120 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_optical_discs);
#line 120 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_optical_discs = _tmp21_;
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = self->priv->checkbutton_index_optical_discs;
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = self->priv->checkbutton_index_removable_media;
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp24_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp23_);
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp25_ = _tmp24_;
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp22_, _tmp25_);
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp26_ = gtk_builder_get_object (builder, "hscale_disk_space_limit");
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp27_ = _g_object_ref0 (GTK_IS_SCALE (_tmp26_) ? ((GtkScale*) _tmp26_) : NULL);
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_disk_space_limit);
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hscale_disk_space_limit = _tmp27_;
#line 123 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp28_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_always");
#line 123 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp29_ = _g_object_ref0 (GTK_IS_RADIO_BUTTON (_tmp28_) ? ((GtkRadioButton*) _tmp28_) : NULL);
#line 123 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_always);
#line 123 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_always = _tmp29_;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp30_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_first_index");
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp31_ = _g_object_ref0 (GTK_IS_RADIO_BUTTON (_tmp30_) ? ((GtkRadioButton*) _tmp30_) : NULL);
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_first_index);
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_first_index = _tmp31_;
#line 125 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp32_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_never");
#line 125 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp33_ = _g_object_ref0 (GTK_IS_RADIO_BUTTON (_tmp32_) ? ((GtkRadioButton*) _tmp32_) : NULL);
#line 125 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_never);
#line 125 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_never = _tmp33_;
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp34_ = gtk_builder_get_object (builder, "hscale_drop_device_threshold");
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp35_ = _g_object_ref0 (GTK_IS_SCALE (_tmp34_) ? ((GtkScale*) _tmp34_) : NULL);
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_drop_device_threshold);
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hscale_drop_device_threshold = _tmp35_;
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp36_ = gtk_builder_get_object (builder, "togglebutton_home");
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp37_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp36_) ? ((GtkToggleButton*) _tmp36_) : NULL);
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_home);
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_home = _tmp37_;
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp38_ = gtk_builder_get_object (builder, "togglebutton_desktop");
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp39_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp38_) ? ((GtkToggleButton*) _tmp38_) : NULL);
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_desktop);
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_desktop = _tmp39_;
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp40_ = gtk_builder_get_object (builder, "togglebutton_documents");
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp41_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp40_) ? ((GtkToggleButton*) _tmp40_) : NULL);
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_documents);
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_documents = _tmp41_;
#line 130 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp42_ = gtk_builder_get_object (builder, "togglebutton_music");
#line 130 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp43_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp42_) ? ((GtkToggleButton*) _tmp42_) : NULL);
#line 130 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_music);
#line 130 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_music = _tmp43_;
#line 131 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp44_ = gtk_builder_get_object (builder, "togglebutton_pictures");
#line 131 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp45_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp44_) ? ((GtkToggleButton*) _tmp44_) : NULL);
#line 131 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_pictures);
#line 131 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_pictures = _tmp45_;
#line 132 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp46_ = gtk_builder_get_object (builder, "togglebutton_videos");
#line 132 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp47_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp46_) ? ((GtkToggleButton*) _tmp46_) : NULL);
#line 132 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_videos);
#line 132 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_videos = _tmp47_;
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp48_ = gtk_builder_get_object (builder, "togglebutton_download");
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp49_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp48_) ? ((GtkToggleButton*) _tmp48_) : NULL);
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_download);
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_download = _tmp49_;
#line 135 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp50_ = gtk_builder_get_object (builder, "treeview_index");
#line 135 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp51_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp50_) ? ((GtkTreeView*) _tmp50_) : NULL);
#line 135 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_index);
#line 135 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_index = _tmp51_;
#line 136 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp52_ = gtk_builder_get_object (builder, "treeviewcolumn_index1");
#line 136 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp53_ = _g_object_ref0 (GTK_IS_TREE_VIEW_COLUMN (_tmp52_) ? ((GtkTreeViewColumn*) _tmp52_) : NULL);
#line 136 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index1);
#line 136 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeviewcolumn_index1 = _tmp53_;
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp54_ = gtk_builder_get_object (builder, "treeviewcolumn_index1");
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp55_ = _g_object_ref0 (GTK_IS_TREE_VIEW_COLUMN (_tmp54_) ? ((GtkTreeViewColumn*) _tmp54_) : NULL);
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index2);
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeviewcolumn_index2 = _tmp55_;
#line 138 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp56_ = gtk_builder_get_object (builder, "treeview_ignored_directories");
#line 138 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp57_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp56_) ? ((GtkTreeView*) _tmp56_) : NULL);
#line 138 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories);
#line 138 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_directories = _tmp57_;
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp58_ = gtk_builder_get_object (builder, "treeview_ignored_directories_with_content");
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp59_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp58_) ? ((GtkTreeView*) _tmp58_) : NULL);
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories_with_content);
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_directories_with_content = _tmp59_;
#line 140 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp60_ = gtk_builder_get_object (builder, "treeview_ignored_files");
#line 140 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp61_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp60_) ? ((GtkTreeView*) _tmp60_) : NULL);
#line 140 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_files);
#line 140 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_files = _tmp61_;
#line 142 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp62_ = self->priv->treeview_index;
#line 142 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp63_ = _ ("Directory");
#line 142 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp62_, _tmp63_, TRUE);
#line 143 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp64_ = self->priv->treeview_ignored_directories;
#line 143 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp65_ = _ ("Directory");
#line 143 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp64_, _tmp65_, FALSE);
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp66_ = self->priv->treeview_ignored_directories_with_content;
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp67_ = _ ("Directory");
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp66_, _tmp67_, FALSE);
#line 145 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp68_ = self->priv->treeview_ignored_files;
#line 145 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp69_ = _ ("File");
#line 145 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp68_, _tmp69_, FALSE);
#line 147 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp70_ = gtk_builder_get_object (builder, "liststore_index");
#line 147 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp71_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp70_) ? ((GtkListStore*) _tmp70_) : NULL);
#line 147 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_index);
#line 147 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_index = _tmp71_;
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp72_ = self->priv->liststore_index;
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_sortable_set_sort_column_id ((GtkTreeSortable*) _tmp72_, 0, GTK_SORT_ASCENDING);
#line 149 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp73_ = gtk_builder_get_object (builder, "liststore_ignored_directories");
#line 149 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp74_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp73_) ? ((GtkListStore*) _tmp73_) : NULL);
#line 149 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories);
#line 149 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_directories = _tmp74_;
#line 150 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp75_ = gtk_builder_get_object (builder, "liststore_ignored_files");
#line 150 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp76_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp75_) ? ((GtkListStore*) _tmp75_) : NULL);
#line 150 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_files);
#line 150 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_files = _tmp76_;
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp77_ = gtk_builder_get_object (builder, "liststore_ignored_directories_with_content");
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp78_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp77_) ? ((GtkListStore*) _tmp77_) : NULL);
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories_with_content);
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_directories_with_content = _tmp78_;
#line 154 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp79_ = self->priv->checkbutton_enable_index_on_battery;
#line 154 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp80_ = self->priv->settings_miner_fs;
#line 154 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp81_ = g_settings_get_boolean (_tmp80_, "index-on-battery");
#line 154 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp79_, _tmp81_);
#line 155 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp82_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 155 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp83_ = self->priv->checkbutton_enable_index_on_battery;
#line 155 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp84_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp83_);
#line 155 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp85_ = _tmp84_;
#line 155 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp82_, !_tmp85_);
#line 156 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp86_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 156 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp87_ = self->priv->settings_miner_fs;
#line 156 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp88_ = g_settings_get_boolean (_tmp87_, "index-on-battery-first-time");
#line 156 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp86_, _tmp88_);
#line 157 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp89_ = self->priv->spinbutton_delay;
#line 157 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_spin_button_set_increments (_tmp89_, (gdouble) 1, (gdouble) 1);
#line 158 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp90_ = self->priv->spinbutton_delay;
#line 158 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp91_ = self->priv->settings_miner_fs;
#line 158 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp92_ = g_settings_get_int (_tmp91_, "initial-sleep");
#line 158 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_spin_button_set_value (_tmp90_, (gdouble) _tmp92_);
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp93_ = self->priv->checkbutton_enable_monitoring;
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp94_ = self->priv->settings_miner_fs;
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp95_ = g_settings_get_boolean (_tmp94_, "enable-monitors");
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp93_, _tmp95_);
#line 160 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp96_ = self->priv->checkbutton_index_removable_media;
#line 160 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp97_ = self->priv->settings_miner_fs;
#line 160 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp98_ = g_settings_get_boolean (_tmp97_, "index-removable-devices");
#line 160 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp96_, _tmp98_);
#line 161 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp99_ = self->priv->checkbutton_index_optical_discs;
#line 161 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp100_ = self->priv->settings_miner_fs;
#line 161 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp101_ = g_settings_get_boolean (_tmp100_, "index-optical-discs");
#line 161 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp99_, _tmp101_);
#line 162 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp102_ = self->priv->hscale_disk_space_limit;
#line 162 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp103_ = self->priv->settings_miner_fs;
#line 162 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp104_ = g_settings_get_int (_tmp103_, "low-disk-space-limit");
#line 162 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_range_set_value ((GtkRange*) _tmp102_, (gdouble) _tmp104_);
#line 163 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp105_ = self->priv->hscale_drop_device_threshold;
#line 163 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp106_ = self->priv->settings_miner_fs;
#line 163 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp107_ = g_settings_get_int (_tmp106_, "removable-days-threshold");
#line 163 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_range_set_value ((GtkRange*) _tmp105_, (gdouble) _tmp107_);
#line 169 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp108_ = self->priv->settings_miner_fs;
#line 169 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp109_ = g_settings_get_enum (_tmp108_, "sched-idle");
#line 169 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	sched_idle = _tmp109_;
#line 171 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp110_ = sched_idle;
#line 171 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp110_ == 0) {
#line 941 "tracker-preferences.c"
		GtkRadioButton* _tmp111_;
#line 172 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp111_ = self->priv->radiobutton_sched_idle_always;
#line 172 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp111_, TRUE);
#line 947 "tracker-preferences.c"
	} else {
		gint _tmp112_;
#line 173 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp112_ = sched_idle;
#line 173 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp112_ == 1) {
#line 954 "tracker-preferences.c"
			GtkRadioButton* _tmp113_;
#line 174 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp113_ = self->priv->radiobutton_sched_idle_first_index;
#line 174 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_toggle_button_set_active ((GtkToggleButton*) _tmp113_, TRUE);
#line 960 "tracker-preferences.c"
		} else {
			gint _tmp114_;
#line 175 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp114_ = sched_idle;
#line 175 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp114_ == 2) {
#line 967 "tracker-preferences.c"
				GtkRadioButton* _tmp115_;
#line 176 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp115_ = self->priv->radiobutton_sched_idle_never;
#line 176 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active ((GtkToggleButton*) _tmp115_, TRUE);
#line 973 "tracker-preferences.c"
			} else {
				GtkRadioButton* _tmp116_;
#line 179 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp116_ = self->priv->radiobutton_sched_idle_first_index;
#line 179 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active ((GtkToggleButton*) _tmp116_, TRUE);
#line 980 "tracker-preferences.c"
			}
		}
	}
#line 182 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp117_ = self->priv->liststore_index;
#line 182 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp118_ = self->priv->settings_miner_fs;
#line 182 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp120_ = _tmp119_ = g_settings_get_strv (_tmp118_, "index-recursive-directories");
#line 182 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp121_ = _tmp120_;
#line 182 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp121__length1 = _vala_array_length (_tmp119_);
#line 182 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp117_, _tmp121_, _vala_array_length (_tmp119_), TRUE, TRUE);
#line 182 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp121_ = (_vala_array_free (_tmp121_, _tmp121__length1, (GDestroyNotify) g_free), NULL);
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp122_ = self->priv->liststore_index;
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp123_ = self->priv->settings_miner_fs;
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp125_ = _tmp124_ = g_settings_get_strv (_tmp123_, "index-single-directories");
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp126_ = _tmp125_;
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp126__length1 = _vala_array_length (_tmp124_);
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp122_, _tmp126_, _vala_array_length (_tmp124_), TRUE, FALSE);
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp126_ = (_vala_array_free (_tmp126_, _tmp126__length1, (GDestroyNotify) g_free), NULL);
#line 184 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp127_ = self->priv->liststore_ignored_directories;
#line 184 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp128_ = self->priv->settings_miner_fs;
#line 184 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp130_ = _tmp129_ = g_settings_get_strv (_tmp128_, "ignored-directories");
#line 184 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp131_ = _tmp130_;
#line 184 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp131__length1 = _vala_array_length (_tmp129_);
#line 184 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp127_, _tmp131_, _vala_array_length (_tmp129_), FALSE, FALSE);
#line 184 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp131_ = (_vala_array_free (_tmp131_, _tmp131__length1, (GDestroyNotify) g_free), NULL);
#line 185 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp132_ = self->priv->liststore_ignored_files;
#line 185 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp133_ = self->priv->settings_miner_fs;
#line 185 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp135_ = _tmp134_ = g_settings_get_strv (_tmp133_, "ignored-files");
#line 185 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp136_ = _tmp135_;
#line 185 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp136__length1 = _vala_array_length (_tmp134_);
#line 185 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp132_, _tmp136_, _vala_array_length (_tmp134_), FALSE, FALSE);
#line 185 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp136_ = (_vala_array_free (_tmp136_, _tmp136__length1, (GDestroyNotify) g_free), NULL);
#line 186 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp137_ = self->priv->liststore_ignored_directories_with_content;
#line 186 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp138_ = self->priv->settings_miner_fs;
#line 186 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp140_ = _tmp139_ = g_settings_get_strv (_tmp138_, "ignored-directories-with-content");
#line 186 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp141_ = _tmp140_;
#line 186 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp141__length1 = _vala_array_length (_tmp139_);
#line 186 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp137_, _tmp141_, _vala_array_length (_tmp139_), FALSE, FALSE);
#line 186 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp141_ = (_vala_array_free (_tmp141_, _tmp141__length1, (GDestroyNotify) g_free), NULL);
#line 188 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp142_ = self->priv->togglebutton_home;
#line 188 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp143_ = self->priv->liststore_index;
#line 188 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp144_ = self->priv->HOME_STRING_EVALUATED;
#line 188 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp145_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp143_, _tmp144_);
#line 188 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp142_, _tmp145_);
#line 189 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp146_ = self->priv->togglebutton_desktop;
#line 189 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp147_ = self->priv->liststore_index;
#line 189 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp148_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp147_, "&DESKTOP");
#line 189 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp146_, _tmp148_);
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp149_ = self->priv->togglebutton_documents;
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp150_ = self->priv->liststore_index;
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp151_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp150_, "&DOCUMENTS");
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp149_, _tmp151_);
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp152_ = self->priv->togglebutton_music;
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp153_ = self->priv->liststore_index;
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp154_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp153_, "&MUSIC");
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp152_, _tmp154_);
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp155_ = self->priv->togglebutton_pictures;
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp156_ = self->priv->liststore_index;
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp157_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp156_, "&PICTURES");
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp155_, _tmp157_);
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp158_ = self->priv->togglebutton_videos;
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp159_ = self->priv->liststore_index;
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp160_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp159_, "&VIDEOS");
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp158_, _tmp160_);
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp161_ = self->priv->togglebutton_download;
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp162_ = self->priv->liststore_index;
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp163_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp162_, "&DOWNLOAD");
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp161_, _tmp163_);
#line 198 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp164_ = self->priv->notebook;
#line 198 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_notebook_remove_page (_tmp164_, 0);
#line 202 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_builder_connect_signals_full (builder, _tracker_preferences_connect_signals_gtk_builder_connect_func, self);
#line 88 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (builder);
#line 1120 "tracker-preferences.c"
}


void tracker_preferences_show (TrackerPreferences* self) {
	GtkWindow* _tmp0_;
#line 205 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 206 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_setup_ui (self);
#line 208 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->window;
#line 208 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_show ((GtkWidget*) _tmp0_);
#line 1134 "tracker-preferences.c"
}


static void tracker_preferences_connect_signals (GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, GConnectFlags flags, TrackerPreferences* self) {
	GModule* _tmp0_ = NULL;
	GModule* module;
	void* sym = NULL;
	GModule* _tmp1_;
	const gchar* _tmp2_;
	void* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
#line 214 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 214 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (builder != NULL);
#line 214 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (object != NULL);
#line 214 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (signal_name != NULL);
#line 214 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (handler_name != NULL);
#line 218 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_module_open (NULL, G_MODULE_BIND_LAZY);
#line 218 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	module = _tmp0_;
#line 221 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = module;
#line 221 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = handler_name;
#line 221 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = g_module_symbol (_tmp1_, _tmp2_, &_tmp3_);
#line 221 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	sym = _tmp3_;
#line 221 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!_tmp4_) {
#line 1170 "tracker-preferences.c"
		FILE* _tmp5_;
		const gchar* _tmp6_;
#line 222 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = stdout;
#line 222 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = handler_name;
#line 222 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		fprintf (_tmp5_, "Symbol not found! %s\n", _tmp6_);
#line 1179 "tracker-preferences.c"
	} else {
		GObject* _tmp7_;
		const gchar* _tmp8_;
		void* _tmp9_;
#line 224 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = object;
#line 224 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = signal_name;
#line 224 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = sym;
#line 224 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_signal_connect (_tmp7_, _tmp8_, (GCallback) _tmp9_, self);
#line 1192 "tracker-preferences.c"
	}
#line 214 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_module_close0 (module);
#line 1196 "tracker-preferences.c"
}


void tracker_preferences_response_cb (GtkDialog* source, gint response_id, TrackerPreferences* self) {
	gint _tmp0_;
	gint _tmp1_;
#line 229 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 229 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 230 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = response_id;
#line 230 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_debug ("tracker-preferences.vala:230: Got response id %d (apply:%d, close:%d)", _tmp0_, (gint) GTK_RESPONSE_APPLY, (gint) GTK_RESPONSE_CLOSE);
#line 232 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = response_id;
#line 232 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	switch (_tmp1_) {
#line 232 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case GTK_RESPONSE_APPLY:
#line 1217 "tracker-preferences.c"
		{
			GSettings* _tmp2_;
			GtkListStore* _tmp3_;
			gint _tmp4_ = 0;
			gchar** _tmp5_ = NULL;
			gchar** _tmp6_;
			gint _tmp6__length1;
			GSettings* _tmp7_;
			GtkListStore* _tmp8_;
			gint _tmp9_ = 0;
			gchar** _tmp10_ = NULL;
			gchar** _tmp11_;
			gint _tmp11__length1;
			GSettings* _tmp12_;
			GtkListStore* _tmp13_;
			gint _tmp14_ = 0;
			gchar** _tmp15_ = NULL;
			gchar** _tmp16_;
			gint _tmp16__length1;
			GSettings* _tmp17_;
			GtkListStore* _tmp18_;
			gint _tmp19_ = 0;
			gchar** _tmp20_ = NULL;
			gchar** _tmp21_;
			gint _tmp21__length1;
			GSettings* _tmp22_;
			GtkListStore* _tmp23_;
			gint _tmp24_ = 0;
			gchar** _tmp25_ = NULL;
			gchar** _tmp26_;
			gint _tmp26__length1;
			GSettings* _tmp27_;
			GtkScale* _tmp28_;
			gdouble _tmp29_ = 0.0;
			GSettings* _tmp30_;
			GtkScale* _tmp31_;
			gdouble _tmp32_ = 0.0;
			gint sched_idle = 0;
			GtkRadioButton* _tmp33_;
			gboolean _tmp34_;
			gboolean _tmp35_;
			GSettings* _tmp42_;
			gint _tmp43_;
			GSettings* _tmp44_;
			gint _tmp45_;
			GSettings* _tmp46_;
			GSettings* _tmp47_;
#line 234 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:234: Converting directories for storage");
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp2_ = self->priv->settings_miner_fs;
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = self->priv->liststore_index;
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = tracker_preferences_model_to_strv (self, _tmp3_, TRUE, FALSE, &_tmp4_);
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = _tmp5_;
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6__length1 = _tmp4_;
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp2_, "index-single-directories", _tmp6_);
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
#line 237 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = self->priv->settings_miner_fs;
#line 237 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = self->priv->liststore_index;
#line 237 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = tracker_preferences_model_to_strv (self, _tmp8_, TRUE, TRUE, &_tmp9_);
#line 237 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = _tmp10_;
#line 237 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11__length1 = _tmp9_;
#line 237 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp7_, "index-recursive-directories", _tmp11_);
#line 237 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = (_vala_array_free (_tmp11_, _tmp11__length1, (GDestroyNotify) g_free), NULL);
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = self->priv->settings_miner_fs;
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = self->priv->liststore_ignored_directories;
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp15_ = tracker_preferences_model_to_strv (self, _tmp13_, FALSE, FALSE, &_tmp14_);
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp16_ = _tmp15_;
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp16__length1 = _tmp14_;
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp12_, "ignored-directories", _tmp16_);
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) g_free), NULL);
#line 239 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp17_ = self->priv->settings_miner_fs;
#line 239 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp18_ = self->priv->liststore_ignored_files;
#line 239 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = tracker_preferences_model_to_strv (self, _tmp18_, FALSE, FALSE, &_tmp19_);
#line 239 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = _tmp20_;
#line 239 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21__length1 = _tmp19_;
#line 239 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp17_, "ignored-files", _tmp21_);
#line 239 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = (_vala_array_free (_tmp21_, _tmp21__length1, (GDestroyNotify) g_free), NULL);
#line 240 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = self->priv->settings_miner_fs;
#line 240 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = self->priv->liststore_ignored_directories_with_content;
#line 240 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = tracker_preferences_model_to_strv (self, _tmp23_, FALSE, FALSE, &_tmp24_);
#line 240 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = _tmp25_;
#line 240 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26__length1 = _tmp24_;
#line 240 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp22_, "ignored-directories-with-content", _tmp26_);
#line 240 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = (_vala_array_free (_tmp26_, _tmp26__length1, (GDestroyNotify) g_free), NULL);
#line 242 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = self->priv->settings_miner_fs;
#line 242 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = self->priv->hscale_disk_space_limit;
#line 242 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = gtk_range_get_value ((GtkRange*) _tmp28_);
#line 242 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_int (_tmp27_, "low-disk-space-limit", (gint) _tmp29_);
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = self->priv->settings_miner_fs;
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp31_ = self->priv->hscale_drop_device_threshold;
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = gtk_range_get_value ((GtkRange*) _tmp31_);
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_int (_tmp30_, "removable-days-threshold", (gint) _tmp32_);
#line 247 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp33_ = self->priv->radiobutton_sched_idle_always;
#line 247 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp33_);
#line 247 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp35_ = _tmp34_;
#line 247 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp35_) {
#line 248 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				sched_idle = 0;
#line 1363 "tracker-preferences.c"
			} else {
				GtkRadioButton* _tmp36_;
				gboolean _tmp37_;
				gboolean _tmp38_;
#line 249 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp36_ = self->priv->radiobutton_sched_idle_first_index;
#line 249 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp37_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp36_);
#line 249 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp38_ = _tmp37_;
#line 249 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp38_) {
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					sched_idle = 1;
#line 1378 "tracker-preferences.c"
				} else {
					GtkRadioButton* _tmp39_;
					gboolean _tmp40_;
					gboolean _tmp41_;
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp39_ = self->priv->radiobutton_sched_idle_never;
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp40_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp39_);
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp41_ = _tmp40_;
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp41_) {
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						sched_idle = 2;
#line 1393 "tracker-preferences.c"
					} else {
#line 254 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						g_assert_not_reached ();
#line 1397 "tracker-preferences.c"
					}
				}
			}
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp42_ = self->priv->settings_miner_fs;
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp43_ = sched_idle;
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_enum (_tmp42_, "sched-idle", _tmp43_);
#line 262 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp44_ = self->priv->settings_extract;
#line 262 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp45_ = sched_idle;
#line 262 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_enum (_tmp44_, "sched-idle", _tmp45_);
#line 264 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:264: Saving settings...");
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp46_ = self->priv->settings_miner_fs;
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_apply (_tmp46_);
#line 266 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:266:   tracker-miner-fs: Done");
#line 267 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp47_ = self->priv->settings_extract;
#line 267 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_apply (_tmp47_);
#line 268 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:268:   tracker-extract: Done");
#line 271 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			return;
#line 1429 "tracker-preferences.c"
		}
		default:
		{
#line 274 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			break;
#line 1435 "tracker-preferences.c"
		}
	}
#line 277 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_main_quit ();
#line 1440 "tracker-preferences.c"
}


void tracker_preferences_spinbutton_delay_value_changed_cb (GtkSpinButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkSpinButton* _tmp1_;
	gint _tmp2_ = 0;
#line 281 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 281 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 282 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 282 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 282 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_spin_button_get_value_as_int (_tmp1_);
#line 282 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_int (_tmp0_, "initial-sleep", _tmp2_);
#line 1460 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_enable_monitoring_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 286 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 286 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 287 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 287 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 287 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 287 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 287 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "enable-monitors", _tmp3_);
#line 1483 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_enable_index_on_battery_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GtkCheckButton* _tmp4_;
	GtkCheckButton* _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp7_;
#line 291 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 291 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 292 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-on-battery", _tmp3_);
#line 293 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 293 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = source;
#line 293 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp5_);
#line 293 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp6_;
#line 293 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp4_, !_tmp7_);
#line 1520 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_enable_index_on_battery_first_time_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 297 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 297 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 298 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 298 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 298 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 298 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 298 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-on-battery-first-time", _tmp3_);
#line 1543 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_index_removable_media_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GtkCheckButton* _tmp4_;
	GtkCheckButton* _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp7_;
#line 302 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 302 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 303 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 303 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 303 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 303 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 303 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-removable-devices", _tmp3_);
#line 304 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = self->priv->checkbutton_index_optical_discs;
#line 304 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = source;
#line 304 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp5_);
#line 304 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp6_;
#line 304 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp4_, _tmp7_);
#line 1580 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_index_optical_discs_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 308 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 309 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-optical-discs", _tmp3_);
#line 1603 "tracker-preferences.c"
}


gchar* tracker_preferences_hscale_disk_space_limit_format_value_cb (GtkScale* source, gdouble value, TrackerPreferences* self) {
	gchar* result = NULL;
	gdouble _tmp0_;
	const gchar* _tmp3_ = NULL;
	gdouble _tmp4_;
	gchar* _tmp5_ = NULL;
#line 313 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 313 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 314 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = value;
#line 314 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (((gint) _tmp0_) == (-1)) {
#line 1621 "tracker-preferences.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
#line 315 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = _ ("Disabled");
#line 315 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 315 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp2_;
#line 315 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 1632 "tracker-preferences.c"
	}
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _ ("%d%%");
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = value;
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = g_strdup_printf (_tmp3_, (gint) _tmp4_);
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp5_;
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 1644 "tracker-preferences.c"
}


gchar* tracker_preferences_hscale_drop_device_threshold_format_value_cb (GtkScale* source, gdouble value, TrackerPreferences* self) {
	gchar* result = NULL;
	gdouble _tmp0_;
	const gchar* _tmp3_ = NULL;
	gdouble _tmp4_;
	gchar* _tmp5_ = NULL;
#line 322 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 322 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 323 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = value;
#line 323 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (((gint) _tmp0_) == 0) {
#line 1662 "tracker-preferences.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
#line 324 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = _ ("Disabled");
#line 324 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 324 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp2_;
#line 324 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 1673 "tracker-preferences.c"
	}
#line 327 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _ ("%d");
#line 327 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = value;
#line 327 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = g_strdup_printf (_tmp3_, (gint) _tmp4_);
#line 327 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp5_;
#line 327 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 1685 "tracker-preferences.c"
}


void tracker_preferences_button_index_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 331 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 331 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 332 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_index;
#line 332 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_dir (self, _tmp0_);
#line 1699 "tracker-preferences.c"
}


void tracker_preferences_button_index_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_;
#line 336 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 336 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 337 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_index;
#line 337 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 1713 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_globs_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 341 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 341 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 342 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_directories;
#line 342 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_value_dialog (self, _tmp0_);
#line 1727 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 346 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 346 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 347 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_directories;
#line 347 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_dir (self, _tmp0_);
#line 1741 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_;
#line 351 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 351 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 352 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_ignored_directories;
#line 352 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 1755 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_with_content_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 356 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 356 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 357 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_directories_with_content;
#line 357 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_value_dialog (self, _tmp0_);
#line 1769 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_with_content_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_;
#line 361 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 361 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 362 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_ignored_directories_with_content;
#line 362 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 1783 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_files_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 366 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 366 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 367 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_files;
#line 367 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_value_dialog (self, _tmp0_);
#line 1797 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_files_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_;
#line 371 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 371 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 372 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_ignored_files;
#line 372 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 1811 "tracker-preferences.c"
}


static void tracker_preferences_togglebutton_directory_update_model (TrackerPreferences* self, GtkToggleButton* source, GtkListStore* store, const gchar* to_check) {
	gboolean _tmp0_ = FALSE;
	GtkToggleButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp7_;
	gboolean _tmp21_ = FALSE;
	GtkToggleButton* _tmp22_;
	gboolean _tmp23_;
	gboolean _tmp24_;
	gboolean _tmp28_;
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (to_check != NULL);
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active (_tmp1_);
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_) {
#line 1842 "tracker-preferences.c"
		GtkListStore* _tmp4_;
		const gchar* _tmp5_;
		gboolean _tmp6_ = FALSE;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = store;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = to_check;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp4_, _tmp5_);
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = !_tmp6_;
#line 1854 "tracker-preferences.c"
	} else {
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = FALSE;
#line 1858 "tracker-preferences.c"
	}
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp0_;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp7_) {
#line 1864 "tracker-preferences.c"
		GtkTreeIter iter = {0};
		GtkListStore* _tmp8_;
		GtkTreeIter _tmp9_ = {0};
		GValue _tmp10_ = {0};
		GValue v;
		const gchar* _tmp11_;
		const gchar* _tmp12_;
		const gchar* _tmp13_;
		gboolean recurse;
		GtkListStore* _tmp14_;
		GtkTreeIter _tmp15_;
		GValue _tmp16_;
		GtkListStore* _tmp17_;
		GtkTreeIter _tmp18_;
		gboolean _tmp19_;
		GValue _tmp20_ = {0};
#line 378 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = self->priv->liststore_index;
#line 378 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_append (_tmp8_, &_tmp9_);
#line 378 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp9_;
#line 379 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp10_, G_TYPE_STRING);
#line 379 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		v = _tmp10_;
#line 380 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = to_check;
#line 380 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_string (&v, _tmp11_);
#line 382 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = to_check;
#line 382 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = self->priv->HOME_STRING_EVALUATED;
#line 382 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		recurse = g_strcmp0 (_tmp12_, _tmp13_) != 0;
#line 383 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp14_ = self->priv->liststore_index;
#line 383 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = iter;
#line 383 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = v;
#line 383 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp14_, &_tmp15_, 0, &_tmp16_);
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = self->priv->liststore_index;
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = iter;
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = recurse;
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp20_, G_TYPE_BOOLEAN);
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_boolean (&_tmp20_, _tmp19_);
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp17_, &_tmp18_, 1, &_tmp20_);
#line 384 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&_tmp20_) ? (g_value_unset (&_tmp20_), NULL) : NULL;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 1925 "tracker-preferences.c"
	}
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = source;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = gtk_toggle_button_get_active (_tmp22_);
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp24_ = _tmp23_;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!_tmp24_) {
#line 1935 "tracker-preferences.c"
		GtkListStore* _tmp25_;
		const gchar* _tmp26_;
		gboolean _tmp27_ = FALSE;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = store;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = to_check;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp25_, _tmp26_);
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = _tmp27_;
#line 1947 "tracker-preferences.c"
	} else {
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = FALSE;
#line 1951 "tracker-preferences.c"
	}
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp28_ = _tmp21_;
#line 387 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp28_) {
#line 1957 "tracker-preferences.c"
		gboolean valid = FALSE;
		GtkTreeIter iter = {0};
		GtkListStore* _tmp29_;
		GtkTreeIter _tmp30_ = {0};
		gboolean _tmp31_ = FALSE;
#line 391 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = store;
#line 391 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp31_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp29_, &_tmp30_);
#line 391 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp30_;
#line 391 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp31_;
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 1973 "tracker-preferences.c"
			gboolean _tmp32_;
			GValue value = {0};
			GtkListStore* _tmp33_;
			GtkTreeIter _tmp34_;
			GValue _tmp35_ = {0};
			const gchar* _tmp36_ = NULL;
			const gchar* _tmp37_;
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = valid;
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp32_) {
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 1987 "tracker-preferences.c"
			}
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp33_ = store;
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = iter;
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value ((GtkTreeModel*) _tmp33_, &_tmp34_, 0, &_tmp35_);
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp35_;
#line 395 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp36_ = g_value_get_string (&value);
#line 395 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp37_ = to_check;
#line 395 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp36_, _tmp37_) == 0) {
#line 2005 "tracker-preferences.c"
				GtkListStore* _tmp38_;
				GtkTreeIter _tmp39_;
				GtkListStore* _tmp40_;
				GtkTreeIter _tmp41_ = {0};
				gboolean _tmp42_ = FALSE;
#line 396 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp38_ = store;
#line 396 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp39_ = iter;
#line 396 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_list_store_remove (_tmp38_, &_tmp39_);
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp40_ = store;
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp42_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp40_, &_tmp41_);
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp41_;
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp42_;
#line 2025 "tracker-preferences.c"
			} else {
				GtkListStore* _tmp43_;
				gboolean _tmp44_ = FALSE;
#line 399 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp43_ = store;
#line 399 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp44_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp43_, &iter);
#line 399 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp44_;
#line 2035 "tracker-preferences.c"
			}
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 2039 "tracker-preferences.c"
		}
	}
}


void tracker_preferences_togglebutton_home_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_;
#line 406 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 406 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 407 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 407 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 407 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = self->priv->HOME_STRING_EVALUATED;
#line 407 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2061 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_desktop_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 411 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 411 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 412 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 412 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 412 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP);
#line 412 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2081 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_documents_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 416 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 416 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 417 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 417 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 417 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS);
#line 417 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2101 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_music_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 421 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 421 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 422 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 422 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 422 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_MUSIC);
#line 422 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2121 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_pictures_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 426 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 426 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 427 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 427 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 427 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);
#line 427 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2141 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_videos_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 431 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 431 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 432 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 432 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 432 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_VIDEOS);
#line 432 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2161 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_download_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 436 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 436 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 437 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 437 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 437 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_DOWNLOAD);
#line 437 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2181 "tracker-preferences.c"
}


static void tracker_preferences_toggles_update (TrackerPreferences* self, GUserDirectory* matches, int matches_length1, gboolean active) {
	GUserDirectory* _tmp0_;
	gint _tmp0__length1;
#line 440 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 442 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = matches;
#line 442 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = matches_length1;
#line 2194 "tracker-preferences.c"
	{
		GUserDirectory* ud_collection = NULL;
		gint ud_collection_length1 = 0;
		gint _ud_collection_size_ = 0;
		gint ud_it = 0;
#line 442 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection = _tmp0_;
#line 442 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection_length1 = _tmp0__length1;
#line 442 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (ud_it = 0; ud_it < _tmp0__length1; ud_it = ud_it + 1) {
#line 2206 "tracker-preferences.c"
			GUserDirectory ud = 0;
#line 442 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = ud_collection[ud_it];
#line 2210 "tracker-preferences.c"
			{
				GUserDirectory _tmp1_;
#line 443 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp1_ = ud;
#line 443 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				switch (_tmp1_) {
#line 443 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DESKTOP:
#line 2219 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp2_;
						gboolean _tmp3_;
#line 445 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp2_ = self->priv->togglebutton_desktop;
#line 445 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp3_ = active;
#line 445 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp2_, _tmp3_);
#line 446 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2231 "tracker-preferences.c"
					}
#line 443 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOCUMENTS:
#line 2235 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp4_;
						gboolean _tmp5_;
#line 448 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp4_ = self->priv->togglebutton_documents;
#line 448 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp5_ = active;
#line 448 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp4_, _tmp5_);
#line 449 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2247 "tracker-preferences.c"
					}
#line 443 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOWNLOAD:
#line 2251 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp6_;
						gboolean _tmp7_;
#line 451 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp6_ = self->priv->togglebutton_download;
#line 451 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp7_ = active;
#line 451 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp6_, _tmp7_);
#line 452 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2263 "tracker-preferences.c"
					}
#line 443 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_MUSIC:
#line 2267 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp8_;
						gboolean _tmp9_;
#line 454 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp8_ = self->priv->togglebutton_music;
#line 454 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = active;
#line 454 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp8_, _tmp9_);
#line 455 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2279 "tracker-preferences.c"
					}
#line 443 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_PICTURES:
#line 2283 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp10_;
						gboolean _tmp11_;
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp10_ = self->priv->togglebutton_pictures;
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp11_ = active;
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp10_, _tmp11_);
#line 458 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2295 "tracker-preferences.c"
					}
#line 443 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_VIDEOS:
#line 2299 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp12_;
						gboolean _tmp13_;
#line 460 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp12_ = self->priv->togglebutton_videos;
#line 460 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp13_ = active;
#line 460 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp12_, _tmp13_);
#line 461 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2311 "tracker-preferences.c"
					}
					default:
#line 443 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 2316 "tracker-preferences.c"
				}
			}
		}
	}
}


static void tracker_preferences_store_add_value_dialog (TrackerPreferences* self, GtkListStore* store) {
	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 466 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 466 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 471 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Enter value");
#line 471 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->window;
#line 471 "/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 471 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_object_ref_sink (_tmp2_);
#line 471 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 471 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp3_;
#line 477 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = dialog;
#line 477 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_dialog_set_default_response (_tmp4_, (gint) GTK_RESPONSE_ACCEPT);
#line 478 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = dialog;
#line 478 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_dialog_get_content_area (_tmp5_);
#line 478 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _g_object_ref0 (GTK_CONTAINER (_tmp6_));
#line 478 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 478 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	content_area = _tmp7_;
#line 479 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = (GtkEntry*) gtk_entry_new ();
#line 479 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = g_object_ref_sink (_tmp8_);
#line 479 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 479 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	entry = _tmp9_;
#line 480 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = entry;
#line 480 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_entry_set_activates_default (_tmp10_, TRUE);
#line 481 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = entry;
#line 481 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_show ((GtkWidget*) _tmp11_);
#line 482 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = content_area;
#line 482 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = entry;
#line 482 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_container_add (_tmp12_, (GtkWidget*) _tmp13_);
#line 484 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = dialog;
#line 484 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = gtk_dialog_run (_tmp14_);
#line 484 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp15_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 2403 "tracker-preferences.c"
		GtkEntry* _tmp16_;
		const gchar* _tmp17_ = NULL;
		gchar* _tmp18_;
		gchar* text;
		gboolean _tmp19_ = FALSE;
		const gchar* _tmp20_;
		gboolean _tmp22_;
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = entry;
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = gtk_entry_get_text (_tmp16_);
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = g_strdup (_tmp17_);
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		text = _tmp18_;
#line 487 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = text;
#line 487 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp20_ != NULL) {
#line 2423 "tracker-preferences.c"
			const gchar* _tmp21_;
#line 487 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = text;
#line 487 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = g_strcmp0 (_tmp21_, "") != 0;
#line 2429 "tracker-preferences.c"
		} else {
#line 487 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = FALSE;
#line 2433 "tracker-preferences.c"
		}
#line 487 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = _tmp19_;
#line 487 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp22_) {
#line 2439 "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 489 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = store;
#line 489 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_append (_tmp23_, &_tmp24_);
#line 489 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			iter = _tmp24_;
#line 490 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_init (&_tmp25_, G_TYPE_STRING);
#line 490 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			v = _tmp25_;
#line 491 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = text;
#line 491 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_set_string (&v, _tmp26_);
#line 492 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = store;
#line 492 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = iter;
#line 492 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = v;
#line 492 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_set_value (_tmp27_, &_tmp28_, 0, &_tmp29_);
#line 487 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 2473 "tracker-preferences.c"
		}
#line 484 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (text);
#line 2477 "tracker-preferences.c"
	}
#line 496 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp30_ = dialog;
#line 496 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp30_);
#line 466 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 466 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 466 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 2489 "tracker-preferences.c"
}


static void tracker_preferences_store_add_dir (TrackerPreferences* self, GtkListStore* store) {
	const gchar* _tmp0_ = NULL;
	GtkWindow* _tmp1_;
	GtkFileChooserDialog* _tmp2_;
	GtkFileChooserDialog* _tmp3_;
	GtkFileChooserDialog* dialog;
	GtkFileChooserDialog* _tmp36_;
#line 499 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 499 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 500 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Select directory");
#line 500 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->window;
#line 500 "/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 500 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_object_ref_sink (_tmp2_);
#line 500 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp3_;
#line 508 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	while (TRUE) {
#line 2516 "tracker-preferences.c"
		GtkFileChooserDialog* _tmp4_;
		gint _tmp5_ = 0;
#line 509 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = dialog;
#line 509 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = gtk_dialog_run ((GtkDialog*) _tmp4_);
#line 509 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp5_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 2525 "tracker-preferences.c"
			GtkTreeIter iter = {0};
			GFile* f = NULL;
			GtkFileChooserDialog* _tmp6_;
			GFile* _tmp7_ = NULL;
			GFile* _tmp8_;
			GFile* _tmp9_;
			gchar* _tmp10_ = NULL;
			gchar* path;
			GtkListStore* _tmp11_;
			const gchar* _tmp12_;
			gboolean _tmp13_ = FALSE;
			GFile* _tmp20_;
			gchar* _tmp21_ = NULL;
			gchar* dir;
			const gchar* _tmp22_;
			gint _tmp23_ = 0;
			GUserDirectory* _tmp24_ = NULL;
			GUserDirectory* matches;
			gint matches_length1;
			gint _matches_size_;
			GtkListStore* _tmp25_;
			GtkTreeIter _tmp26_ = {0};
			GValue _tmp27_ = {0};
			GValue v;
			const gchar* _tmp28_;
			GtkListStore* _tmp29_;
			GtkTreeIter _tmp30_;
			GValue _tmp31_;
			GUserDirectory* _tmp32_;
			gint _tmp32__length1;
			const gchar* _tmp33_;
			const gchar* _tmp34_;
#line 513 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = dialog;
#line 513 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = gtk_file_chooser_get_file ((GtkFileChooser*) _tmp6_);
#line 513 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = _g_object_ref0 (_tmp7_);
#line 513 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (f);
#line 513 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			f = _tmp8_;
#line 514 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = f;
#line 514 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = g_file_get_path (_tmp9_);
#line 514 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			path = _tmp10_;
#line 516 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = store;
#line 516 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = path;
#line 516 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp11_, _tmp12_);
#line 516 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp13_) {
#line 2582 "tracker-preferences.c"
				GtkFileChooserDialog* _tmp14_;
				const gchar* _tmp15_ = NULL;
				GtkMessageDialog* _tmp16_;
				GtkMessageDialog* _tmp17_;
				GtkMessageDialog* md;
				GtkMessageDialog* _tmp18_;
				GtkMessageDialog* _tmp19_;
#line 517 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = dialog;
#line 517 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = _ ("That directory is already selected as a location to index");
#line 517 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) _tmp14_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _tmp15_, NULL);
#line 517 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp17_ = g_object_ref_sink (_tmp16_);
#line 517 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				md = _tmp17_;
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = md;
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_dialog_run ((GtkDialog*) _tmp18_);
#line 524 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp19_ = md;
#line 524 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_widget_destroy ((GtkWidget*) _tmp19_);
#line 525 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (md);
#line 525 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (path);
#line 525 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (f);
#line 525 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				continue;
#line 2616 "tracker-preferences.c"
			}
#line 528 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = f;
#line 528 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = g_file_get_path (_tmp20_);
#line 528 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp21_;
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = dir;
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp24_ = tracker_preferences_dir_match_user_directories (self, _tmp22_, &_tmp23_);
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches = _tmp24_;
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches_length1 = _tmp23_;
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_matches_size_ = matches_length1;
#line 534 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = store;
#line 534 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_append (_tmp25_, &_tmp26_);
#line 534 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			iter = _tmp26_;
#line 535 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_init (&_tmp27_, G_TYPE_STRING);
#line 535 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			v = _tmp27_;
#line 536 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = dir;
#line 536 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_set_string (&v, _tmp28_);
#line 537 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = store;
#line 537 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = iter;
#line 537 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp31_ = v;
#line 537 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_set_value (_tmp29_, &_tmp30_, 0, &_tmp31_);
#line 539 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = matches;
#line 539 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32__length1 = matches_length1;
#line 539 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			tracker_preferences_toggles_update (self, _tmp32_, _tmp32__length1, TRUE);
#line 541 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp33_ = dir;
#line 541 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = self->priv->HOME_STRING_EVALUATED;
#line 541 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp33_, _tmp34_) == 0) {
#line 2668 "tracker-preferences.c"
				GtkToggleButton* _tmp35_;
#line 542 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp35_ = self->priv->togglebutton_home;
#line 542 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active (_tmp35_, TRUE);
#line 2674 "tracker-preferences.c"
			}
#line 509 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 509 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches = (g_free (matches), NULL);
#line 509 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (dir);
#line 509 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (path);
#line 509 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (f);
#line 2686 "tracker-preferences.c"
		}
#line 546 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		break;
#line 2690 "tracker-preferences.c"
	}
#line 549 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp36_ = dialog;
#line 549 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp36_);
#line 499 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 2698 "tracker-preferences.c"
}


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


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


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


static void tracker_preferences_store_del_dir (TrackerPreferences* self, 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 552 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 552 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 557 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = view;
#line 557 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_view_get_selection (_tmp0_);
#line 557 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 557 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	selection = _tmp2_;
#line 558 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = selection;
#line 558 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = gtk_tree_selection_get_selected_rows (_tmp3_, &_tmp4_);
#line 558 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 558 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _g_object_ref0 (_tmp4_);
#line 558 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	model = _tmp6_;
#line 558 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 558 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = _tmp5_;
#line 560 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = model;
#line 560 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _g_object_ref0 (GTK_LIST_STORE (_tmp7_));
#line 560 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 560 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	store = _tmp8_;
#line 562 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = list;
#line 2776 "tracker-preferences.c"
	{
		GList* path_collection = NULL;
		GList* path_it = NULL;
#line 562 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		path_collection = _tmp9_;
#line 562 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (path_it = path_collection; path_it != NULL; path_it = path_it->next) {
#line 2784 "tracker-preferences.c"
			GtkTreePath* _tmp10_;
			GtkTreePath* path = NULL;
#line 562 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = _gtk_tree_path_copy0 ((GtkTreePath*) path_it->data);
#line 562 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			path = _tmp10_;
#line 2791 "tracker-preferences.c"
			{
				GtkTreeIter iter = {0};
				GtkTreeModel* _tmp11_;
				GtkTreePath* _tmp12_;
				GtkTreeIter _tmp13_ = {0};
				gboolean _tmp14_ = FALSE;
				GValue value = {0};
				GtkTreeModel* _tmp15_;
				GtkTreeIter _tmp16_;
				GValue _tmp17_ = {0};
				const gchar* _tmp18_ = NULL;
				gchar* _tmp19_;
				gchar* dir;
				const gchar* _tmp20_;
				gint _tmp21_ = 0;
				GUserDirectory* _tmp22_ = NULL;
				GUserDirectory* matches;
				gint matches_length1;
				gint _matches_size_;
				GtkListStore* _tmp23_;
				GtkTreeIter _tmp24_;
				GUserDirectory* _tmp25_;
				gint _tmp25__length1;
				const gchar* _tmp26_;
				const gchar* _tmp27_;
#line 565 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = model;
#line 565 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = path;
#line 565 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = gtk_tree_model_get_iter (_tmp11_, &_tmp13_, _tmp12_);
#line 565 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp13_;
#line 565 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp14_) {
#line 566 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_gtk_tree_path_free0 (path);
#line 566 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 2831 "tracker-preferences.c"
				}
#line 571 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = model;
#line 571 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = iter;
#line 571 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_model_get_value (_tmp15_, &_tmp16_, 0, &_tmp17_);
#line 571 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 571 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				value = _tmp17_;
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = g_value_get_string (&value);
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp19_ = g_strdup (_tmp18_);
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp19_;
#line 575 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp20_ = dir;
#line 575 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp22_ = tracker_preferences_dir_match_user_directories (self, _tmp20_, &_tmp21_);
#line 575 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches = _tmp22_;
#line 575 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches_length1 = _tmp21_;
#line 575 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_matches_size_ = matches_length1;
#line 577 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp23_ = store;
#line 577 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp24_ = iter;
#line 577 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_list_store_remove (_tmp23_, &_tmp24_);
#line 580 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp25_ = matches;
#line 580 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp25__length1 = matches_length1;
#line 580 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				tracker_preferences_toggles_update (self, _tmp25_, _tmp25__length1, FALSE);
#line 582 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp26_ = dir;
#line 582 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp27_ = self->priv->HOME_STRING_EVALUATED;
#line 582 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (g_strcmp0 (_tmp26_, _tmp27_) == 0) {
#line 2877 "tracker-preferences.c"
					GtkToggleButton* _tmp28_;
#line 583 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp28_ = self->priv->togglebutton_home;
#line 583 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					gtk_toggle_button_set_active (_tmp28_, FALSE);
#line 2883 "tracker-preferences.c"
				}
#line 562 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches = (g_free (matches), NULL);
#line 562 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (dir);
#line 562 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 562 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_gtk_tree_path_free0 (path);
#line 2893 "tracker-preferences.c"
			}
		}
	}
#line 552 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (selection);
#line 552 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 552 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 552 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 2905 "tracker-preferences.c"
}


static void _vala_array_add1 (GUserDirectory** array, int* length, int* size, GUserDirectory value) {
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (GUserDirectory, *array, *size);
#line 2916 "tracker-preferences.c"
	}
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 2920 "tracker-preferences.c"
}


static GUserDirectory* tracker_preferences_dir_match_user_directories (TrackerPreferences* self, const gchar* input, int* result_length1) {
	GUserDirectory* result = NULL;
	GUserDirectory* _tmp0_ = NULL;
	GUserDirectory* matches;
	gint matches_length1;
	gint _matches_size_;
	gint i = 0;
	GUserDirectory* _tmp12_;
	gint _tmp12__length1;
#line 587 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 587 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 588 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_new0 (GUserDirectory, 0);
#line 588 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	matches = _tmp0_;
#line 588 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	matches_length1 = 0;
#line 588 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_matches_size_ = matches_length1;
#line 2945 "tracker-preferences.c"
	{
		gboolean _tmp1_;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = TRUE;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 2954 "tracker-preferences.c"
			gboolean _tmp2_;
			gint _tmp4_;
			gint _tmp5_;
			GUserDirectory ud;
			const gchar* dir;
			GUserDirectory _tmp6_;
			const gchar* _tmp7_ = NULL;
			const gchar* _tmp8_;
			const gchar* _tmp9_;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp2_ = _tmp1_;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp2_) {
#line 2968 "tracker-preferences.c"
				gint _tmp3_;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp3_ = i;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				i = _tmp3_ + 1;
#line 2974 "tracker-preferences.c"
			}
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = FALSE;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = i;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!(_tmp4_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 2984 "tracker-preferences.c"
			}
#line 592 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = i;
#line 592 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = (GUserDirectory) _tmp5_;
#line 593 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = NULL;
#line 595 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = ud;
#line 595 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = g_get_user_special_dir (_tmp6_);
#line 595 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp7_;
#line 596 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = input;
#line 596 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = dir;
#line 596 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp8_, _tmp9_) == 0) {
#line 3004 "tracker-preferences.c"
				GUserDirectory* _tmp10_;
				gint _tmp10__length1;
				GUserDirectory _tmp11_;
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10_ = matches;
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10__length1 = matches_length1;
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = ud;
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_vala_array_add1 (&matches, &matches_length1, &_matches_size_, _tmp11_);
#line 3016 "tracker-preferences.c"
			}
		}
	}
#line 601 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = matches;
#line 601 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12__length1 = matches_length1;
#line 601 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (result_length1) {
#line 601 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*result_length1 = _tmp12__length1;
#line 3028 "tracker-preferences.c"
	}
#line 601 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp12_;
#line 601 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3034 "tracker-preferences.c"
}


static const char* _g_user_directory_to_string (GUserDirectory value) {
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	switch (value) {
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_DESKTOP:
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_DESKTOP";
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_DOCUMENTS:
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_DOCUMENTS";
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_DOWNLOAD:
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_DOWNLOAD";
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_MUSIC:
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_MUSIC";
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_PICTURES:
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_PICTURES";
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_PUBLIC_SHARE:
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_PUBLIC_SHARE";
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_TEMPLATES:
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_TEMPLATES";
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_VIDEOS:
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_VIDEOS";
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_N_DIRECTORIES:
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_N_DIRECTORIES";
#line 3077 "tracker-preferences.c"
	}
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 3081 "tracker-preferences.c"
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* _tmp0_;
	glong _tmp1_;
	gchar* _tmp2_ = NULL;
	gchar* end;
	gchar* _tmp3_;
#line 1297 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1297 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1297 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1297 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1298 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1298 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 3104 "tracker-preferences.c"
		glong _tmp4_;
#line 1299 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1299 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1299 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		return result;
#line 3112 "tracker-preferences.c"
	} else {
		gchar* _tmp5_;
		gchar* _tmp6_;
#line 1301 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1301 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1301 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1301 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		return result;
#line 3124 "tracker-preferences.c"
	}
}


static gchar* string_substring (const gchar* self, glong offset, glong len) {
	gchar* result = NULL;
	glong string_length = 0L;
	gboolean _tmp0_ = FALSE;
	glong _tmp1_;
	gboolean _tmp3_;
	glong _tmp9_;
	glong _tmp15_;
	glong _tmp18_;
	glong _tmp19_;
	glong _tmp20_;
	glong _tmp21_;
	glong _tmp22_;
	gchar* _tmp23_ = NULL;
#line 1308 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1310 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1310 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 3149 "tracker-preferences.c"
		glong _tmp2_;
#line 1310 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1310 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 3155 "tracker-preferences.c"
	} else {
#line 1310 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 3159 "tracker-preferences.c"
	}
#line 1310 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp3_ = _tmp0_;
#line 1310 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	if (_tmp3_) {
#line 3165 "tracker-preferences.c"
		glong _tmp4_;
		glong _tmp5_;
		glong _tmp6_ = 0L;
#line 1312 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp4_ = offset;
#line 1312 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp5_ = len;
#line 1312 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp6_ = string_strnlen ((gchar*) self, _tmp4_ + _tmp5_);
#line 1312 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		string_length = _tmp6_;
#line 3177 "tracker-preferences.c"
	} else {
		gint _tmp7_;
		gint _tmp8_;
#line 1314 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp7_ = strlen (self);
#line 1314 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp7_;
#line 1314 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp8_;
#line 3187 "tracker-preferences.c"
	}
#line 1317 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp9_ = offset;
#line 1317 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	if (_tmp9_ < ((glong) 0)) {
#line 3193 "tracker-preferences.c"
		glong _tmp10_;
		glong _tmp11_;
		glong _tmp12_;
#line 1318 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp10_ = string_length;
#line 1318 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1318 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		offset = _tmp10_ + _tmp11_;
#line 1319 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1319 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ >= ((glong) 0), NULL);
#line 3207 "tracker-preferences.c"
	} else {
		glong _tmp13_;
		glong _tmp14_;
#line 1321 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp13_ = offset;
#line 1321 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp14_ = string_length;
#line 1321 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp13_ <= _tmp14_, NULL);
#line 3217 "tracker-preferences.c"
	}
#line 1323 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp15_ = len;
#line 1323 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	if (_tmp15_ < ((glong) 0)) {
#line 3223 "tracker-preferences.c"
		glong _tmp16_;
		glong _tmp17_;
#line 1324 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp16_ = string_length;
#line 1324 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp17_ = offset;
#line 1324 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		len = _tmp16_ - _tmp17_;
#line 3232 "tracker-preferences.c"
	}
#line 1326 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp18_ = offset;
#line 1326 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp19_ = len;
#line 1326 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp20_ = string_length;
#line 1326 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp18_ + _tmp19_) <= _tmp20_, NULL);
#line 1327 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp21_ = offset;
#line 1327 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp22_ = len;
#line 1327 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp23_ = g_strndup (((gchar*) self) + _tmp21_, (gsize) _tmp22_);
#line 1327 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	result = _tmp23_;
#line 1327 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	return result;
#line 3252 "tracker-preferences.c"
}


static gint string_last_index_of_char (const gchar* self, gunichar c, gint start_index) {
	gint result = 0;
	gint _tmp0_;
	gunichar _tmp1_;
	gchar* _tmp2_ = NULL;
	gchar* _result_;
	gchar* _tmp3_;
#line 1081 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 1082 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp0_ = start_index;
#line 1082 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp1_ = c;
#line 1082 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) (-1), _tmp1_);
#line 1082 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_result_ = _tmp2_;
#line 1084 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp3_ = _result_;
#line 1084 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 3277 "tracker-preferences.c"
		gchar* _tmp4_;
#line 1085 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		_tmp4_ = _result_;
#line 1085 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		result = (gint) (_tmp4_ - ((gchar*) self));
#line 1085 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		return result;
#line 3285 "tracker-preferences.c"
	} else {
#line 1087 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		result = -1;
#line 1087 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
		return result;
#line 3291 "tracker-preferences.c"
	}
}


static gchar* tracker_preferences_dir_to_config (TrackerPreferences* self, const gchar* input) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* output;
	gboolean _tmp2_ = FALSE;
	const gchar* _tmp3_;
	gboolean _tmp6_;
#line 604 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 604 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = input;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	output = _tmp1_;
#line 607 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = self->priv->HOME_STRING_EVALUATED;
#line 607 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_ != NULL) {
#line 3318 "tracker-preferences.c"
		const gchar* _tmp4_;
		const gchar* _tmp5_;
#line 607 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = self->priv->HOME_STRING_EVALUATED;
#line 607 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = input;
#line 607 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strcmp0 (_tmp4_, _tmp5_) == 0;
#line 3327 "tracker-preferences.c"
	} else {
#line 607 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = FALSE;
#line 3331 "tracker-preferences.c"
	}
#line 607 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _tmp2_;
#line 607 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp6_) {
#line 3337 "tracker-preferences.c"
		gchar* _tmp7_;
#line 608 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = g_strdup (TRACKER_PREFERENCES_HOME_STRING);
#line 608 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp7_;
#line 608 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 608 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 3347 "tracker-preferences.c"
	}
	{
		gint i;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 3353 "tracker-preferences.c"
		{
			gboolean _tmp8_;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = TRUE;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			while (TRUE) {
#line 3360 "tracker-preferences.c"
				gboolean _tmp9_;
				gint _tmp11_;
				gint _tmp12_;
				GUserDirectory ud;
				const gchar* dir;
				GUserDirectory _tmp13_;
				const gchar* _tmp14_ = NULL;
				const gchar* _tmp15_;
				const gchar* _tmp16_;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9_ = _tmp8_;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp9_) {
#line 3374 "tracker-preferences.c"
					gint _tmp10_;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp10_ = i;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					i = _tmp10_ + 1;
#line 3380 "tracker-preferences.c"
				}
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp8_ = FALSE;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = i;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!(_tmp11_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 3390 "tracker-preferences.c"
				}
#line 612 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = i;
#line 612 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				ud = (GUserDirectory) _tmp12_;
#line 613 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = NULL;
#line 615 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp13_ = ud;
#line 615 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = g_get_user_special_dir (_tmp13_);
#line 615 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp14_;
#line 616 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = input;
#line 616 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = dir;
#line 616 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (g_strcmp0 (_tmp15_, _tmp16_) == 0) {
#line 3410 "tracker-preferences.c"
					GUserDirectory _tmp17_;
					const gchar* _tmp18_ = NULL;
					gchar* _tmp19_;
					gchar* ud_string;
					const gchar* _tmp20_;
					const gchar* _tmp21_;
					gint _tmp22_ = 0;
					gchar* _tmp23_ = NULL;
					gchar* _tmp24_;
					gchar* _tmp25_ = NULL;
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp17_ = ud;
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp18_ = _g_user_directory_to_string (_tmp17_);
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp19_ = g_strdup (_tmp18_);
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_string = _tmp19_;
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp20_ = ud_string;
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp21_ = ud_string;
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp22_ = string_last_index_of_char (_tmp21_, (gunichar) '_', 0);
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp23_ = string_substring (_tmp20_, (glong) (_tmp22_ + 1), (glong) (-1));
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp24_ = _tmp23_;
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp25_ = g_strdup_printf ("&%s", _tmp24_);
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (output);
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					output = _tmp25_;
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (_tmp24_);
#line 616 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (ud_string);
#line 3449 "tracker-preferences.c"
				}
			}
		}
	}
#line 623 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = output;
#line 623 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3458 "tracker-preferences.c"
}


static gchar* tracker_preferences_dir_from_config (TrackerPreferences* self, const gchar* input) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* output;
	const gchar* _tmp2_;
	gboolean _tmp3_ = FALSE;
#line 626 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 626 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 627 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = input;
#line 627 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 627 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	output = _tmp1_;
#line 629 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = input;
#line 629 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_str_has_prefix (_tmp2_, "&");
#line 629 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_) {
#line 3485 "tracker-preferences.c"
		const gchar* dir;
		const gchar* _tmp4_;
		const gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		gchar* ud_input;
		const gchar* _tmp20_;
#line 630 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		dir = NULL;
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = input;
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = g_utf8_next_char (_tmp4_);
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = g_strdup_printf ("G_USER_DIRECTORY_%s", _tmp5_);
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_input = _tmp6_;
#line 3502 "tracker-preferences.c"
		{
			gint i;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			i = 0;
#line 3507 "tracker-preferences.c"
			{
				gboolean _tmp7_;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = TRUE;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				while (TRUE) {
#line 3514 "tracker-preferences.c"
					gboolean _tmp8_;
					gboolean _tmp10_ = FALSE;
					gint _tmp11_;
					gboolean _tmp13_;
					gint _tmp14_;
					GUserDirectory ud;
					const gchar* _tmp15_;
					GUserDirectory _tmp16_;
					const gchar* _tmp17_ = NULL;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp8_ = _tmp7_;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (!_tmp8_) {
#line 3528 "tracker-preferences.c"
						gint _tmp9_;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = i;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						i = _tmp9_ + 1;
#line 3534 "tracker-preferences.c"
					}
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp7_ = FALSE;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp11_ = i;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp11_ < ((gint) G_USER_N_DIRECTORIES)) {
#line 3542 "tracker-preferences.c"
						const gchar* _tmp12_;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp12_ = dir;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp10_ = _tmp12_ == NULL;
#line 3548 "tracker-preferences.c"
					} else {
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp10_ = FALSE;
#line 3552 "tracker-preferences.c"
					}
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp13_ = _tmp10_;
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (!_tmp13_) {
#line 635 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 3560 "tracker-preferences.c"
					}
#line 636 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp14_ = i;
#line 636 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud = (GUserDirectory) _tmp14_;
#line 638 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp15_ = ud_input;
#line 638 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp16_ = ud;
#line 638 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp17_ = _g_user_directory_to_string (_tmp16_);
#line 638 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (g_strcmp0 (_tmp15_, _tmp17_) == 0) {
#line 3574 "tracker-preferences.c"
						GUserDirectory _tmp18_;
						const gchar* _tmp19_ = NULL;
#line 639 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp18_ = ud;
#line 639 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp19_ = g_get_user_special_dir (_tmp18_);
#line 639 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						dir = _tmp19_;
#line 3583 "tracker-preferences.c"
					}
				}
			}
		}
#line 645 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = dir;
#line 645 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp20_ != NULL) {
#line 3592 "tracker-preferences.c"
			const gchar* _tmp21_;
			gchar* _tmp22_;
#line 646 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = dir;
#line 646 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = g_strdup (_tmp21_);
#line 646 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (output);
#line 646 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			output = _tmp22_;
#line 3603 "tracker-preferences.c"
		}
#line 629 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (ud_input);
#line 3607 "tracker-preferences.c"
	} else {
		const gchar* _tmp23_;
		gboolean _tmp24_ = FALSE;
#line 647 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = input;
#line 647 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = g_str_has_prefix (_tmp23_, "$");
#line 647 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp24_) {
#line 3617 "tracker-preferences.c"
			const gchar* _tmp25_;
			gchar* _tmp26_ = NULL;
			gchar* _tmp27_;
			const gchar* _tmp28_ = NULL;
			const gchar* _tmp29_;
			const gchar* env;
			const gchar* _tmp30_;
#line 648 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = input;
#line 648 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = string_substring (_tmp25_, (glong) 1, (glong) (-1));
#line 648 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = _tmp26_;
#line 648 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = g_getenv (_tmp27_);
#line 648 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = _tmp28_;
#line 648 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (_tmp27_);
#line 648 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			env = _tmp29_;
#line 652 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = env;
#line 652 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp30_ != NULL) {
#line 3643 "tracker-preferences.c"
				const gchar* _tmp31_;
				gchar* _tmp32_;
#line 653 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp31_ = env;
#line 653 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp32_ = g_strdup (_tmp31_);
#line 653 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (output);
#line 653 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				output = _tmp32_;
#line 3654 "tracker-preferences.c"
			}
		}
	}
#line 656 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = output;
#line 656 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3662 "tracker-preferences.c"
}


static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value) {
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 3673 "tracker-preferences.c"
	}
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[*length] = NULL;
#line 3679 "tracker-preferences.c"
}


static gchar** tracker_preferences_model_to_strv (TrackerPreferences* self, GtkListStore* model, gboolean recurse_required, gboolean recurse_value, int* result_length1) {
	gchar** result = NULL;
	gchar** _tmp0_ = NULL;
	gchar** list;
	gint list_length1;
	gint _list_size_;
	GtkTreeIter iter = {0};
	gboolean valid = FALSE;
	gchar** _tmp23_;
	gint _tmp23__length1;
#line 659 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 659 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, NULL);
#line 660 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_new0 (gchar*, 0 + 1);
#line 660 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = _tmp0_;
#line 660 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	list_length1 = 0;
#line 660 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_list_size_ = list_length1;
#line 3705 "tracker-preferences.c"
	{
		GtkListStore* _tmp1_;
		GtkTreeIter _tmp2_ = {0};
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_;
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = model;
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp1_, &_tmp2_);
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp2_;
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp3_;
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = TRUE;
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 3723 "tracker-preferences.c"
			gboolean _tmp5_;
			gboolean _tmp8_;
			GValue value = {0};
			GtkListStore* _tmp9_;
			GtkTreeIter _tmp10_;
			GValue _tmp11_ = {0};
			gboolean _tmp12_;
			const gchar* _tmp18_ = NULL;
			gchar* _tmp19_ = NULL;
			gchar* dir;
			gchar** _tmp20_;
			gint _tmp20__length1;
			const gchar* _tmp21_;
			gchar* _tmp22_;
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = _tmp4_;
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp5_) {
#line 3742 "tracker-preferences.c"
				GtkListStore* _tmp6_;
				gboolean _tmp7_ = FALSE;
#line 666 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp6_ = model;
#line 666 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp6_, &iter);
#line 666 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp7_;
#line 3751 "tracker-preferences.c"
			}
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = FALSE;
#line 665 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = valid;
#line 665 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp8_) {
#line 665 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 3761 "tracker-preferences.c"
			}
#line 669 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = model;
#line 669 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = iter;
#line 669 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value ((GtkTreeModel*) _tmp9_, &_tmp10_, 0, &_tmp11_);
#line 669 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 669 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp11_;
#line 671 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = recurse_required;
#line 671 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp12_) {
#line 3777 "tracker-preferences.c"
				GValue recurse = {0};
				GtkListStore* _tmp13_;
				GtkTreeIter _tmp14_;
				GValue _tmp15_ = {0};
				gboolean _tmp16_;
				gboolean _tmp17_ = FALSE;
#line 674 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp13_ = model;
#line 674 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = iter;
#line 674 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_model_get_value ((GtkTreeModel*) _tmp13_, &_tmp14_, 1, &_tmp15_);
#line 674 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 674 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				recurse = _tmp15_;
#line 676 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = recurse_value;
#line 676 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp17_ = g_value_get_boolean (&recurse);
#line 676 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp16_ != _tmp17_) {
#line 677 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 677 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 677 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 3806 "tracker-preferences.c"
				}
#line 671 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 3810 "tracker-preferences.c"
			}
#line 682 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp18_ = g_value_get_string (&value);
#line 682 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = tracker_preferences_dir_to_config (self, _tmp18_);
#line 682 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp19_;
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = list;
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20__length1 = list_length1;
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = dir;
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = g_strdup (_tmp21_);
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_vala_array_add2 (&list, &list_length1, &_list_size_, _tmp22_);
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (dir);
#line 664 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 3832 "tracker-preferences.c"
		}
	}
#line 686 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = list;
#line 686 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23__length1 = list_length1;
#line 686 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (result_length1) {
#line 686 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*result_length1 = _tmp23__length1;
#line 3843 "tracker-preferences.c"
	}
#line 686 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp23_;
#line 686 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3849 "tracker-preferences.c"
}


gboolean tracker_preferences_model_contains (TrackerPreferences* self, GtkTreeModel* model, const gchar* needle) {
	gboolean result = FALSE;
	GtkTreeIter iter = {0};
	gchar* needle_evaluated = NULL;
	gboolean valid = FALSE;
	const gchar* _tmp0_;
	gchar* _tmp1_ = NULL;
#line 689 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 689 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, FALSE);
#line 689 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 694 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = needle;
#line 694 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = tracker_preferences_dir_from_config (self, _tmp0_);
#line 694 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (needle_evaluated);
#line 694 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	needle_evaluated = _tmp1_;
#line 3874 "tracker-preferences.c"
	{
		GtkTreeModel* _tmp2_;
		GtkTreeIter _tmp3_ = {0};
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = model;
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = gtk_tree_model_get_iter_first (_tmp2_, &_tmp3_);
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp3_;
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp4_;
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = TRUE;
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 3892 "tracker-preferences.c"
			gboolean _tmp6_;
			gboolean _tmp9_;
			GValue value = {0};
			GtkTreeModel* _tmp10_;
			GtkTreeIter _tmp11_;
			GValue _tmp12_ = {0};
			const gchar* _tmp13_ = NULL;
			const gchar* _tmp14_;
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = _tmp5_;
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp6_) {
#line 3905 "tracker-preferences.c"
				GtkTreeModel* _tmp7_;
				gboolean _tmp8_ = FALSE;
#line 698 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = model;
#line 698 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp8_ = gtk_tree_model_iter_next (_tmp7_, &iter);
#line 698 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp8_;
#line 3914 "tracker-preferences.c"
			}
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = FALSE;
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = valid;
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp9_) {
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 3924 "tracker-preferences.c"
			}
#line 701 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = model;
#line 701 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = iter;
#line 701 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value (_tmp10_, &_tmp11_, 0, &_tmp12_);
#line 701 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 701 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp12_;
#line 703 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = g_value_get_string (&value);
#line 703 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp14_ = needle_evaluated;
#line 703 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 704 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				result = TRUE;
#line 704 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 704 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (needle_evaluated);
#line 704 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				return result;
#line 3950 "tracker-preferences.c"
			}
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 3954 "tracker-preferences.c"
		}
	}
#line 708 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = FALSE;
#line 708 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (needle_evaluated);
#line 708 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3963 "tracker-preferences.c"
}


static void tracker_preferences_model_populate (TrackerPreferences* self, GtkListStore* model, gchar** list, int list_length1, gboolean have_recurse, gboolean recurse) {
	gint position;
	gchar** _tmp0_;
	gint _tmp0__length1;
	GError * _inner_error_ = NULL;
#line 711 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 711 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (model != NULL);
#line 712 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	position = 0;
#line 714 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = list;
#line 714 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = list_length1;
#line 3982 "tracker-preferences.c"
	{
		gchar** str_collection = NULL;
		gint str_collection_length1 = 0;
		gint _str_collection_size_ = 0;
		gint str_it = 0;
#line 714 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		str_collection = _tmp0_;
#line 714 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		str_collection_length1 = _tmp0__length1;
#line 714 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (str_it = 0; str_it < _tmp0__length1; str_it = str_it + 1) {
#line 3994 "tracker-preferences.c"
			gchar* _tmp1_;
			gchar* str = NULL;
#line 714 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = g_strdup (str_collection[str_it]);
#line 714 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			str = _tmp1_;
#line 4001 "tracker-preferences.c"
			{
				const gchar* _tmp2_;
				gchar* _tmp3_ = NULL;
#line 716 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp2_ = str;
#line 716 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp3_ = tracker_preferences_dir_from_config (self, _tmp2_);
#line 716 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (str);
#line 716 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				str = _tmp3_;
#line 4013 "tracker-preferences.c"
				{
					gboolean _tmp4_;
#line 719 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp4_ = have_recurse;
#line 719 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp4_) {
#line 4020 "tracker-preferences.c"
						const gchar* _tmp5_;
						gchar* _tmp6_ = NULL;
						gchar* _tmp7_;
						GtkListStore* _tmp8_;
						gint _tmp9_;
						gchar* _tmp10_;
						gboolean _tmp11_;
#line 723 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp5_ = str;
#line 723 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp6_ = g_filename_to_utf8 (_tmp5_, (gssize) (-1), NULL, NULL, &_inner_error_);
#line 723 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp7_ = _tmp6_;
#line 723 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						if (_inner_error_ != NULL) {
#line 723 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (_inner_error_->domain == G_CONVERT_ERROR) {
#line 4038 "tracker-preferences.c"
								goto __catch2_g_convert_error;
							}
#line 723 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (str);
#line 723 "/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 723 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_clear_error (&_inner_error_);
#line 723 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							return;
#line 4049 "tracker-preferences.c"
						}
#line 720 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp8_ = model;
#line 720 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = position;
#line 720 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						position = _tmp9_ + 1;
#line 720 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp10_ = _tmp7_;
#line 720 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp11_ = recurse;
#line 720 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_list_store_insert_with_values (_tmp8_, NULL, _tmp9_, 0, _tmp10_, 1, _tmp11_, -1, -1);
#line 720 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_g_free0 (_tmp10_);
#line 4065 "tracker-preferences.c"
					} else {
						const gchar* _tmp12_;
						gchar* _tmp13_ = NULL;
						gchar* _tmp14_;
						GtkListStore* _tmp15_;
						gint _tmp16_;
						gchar* _tmp17_;
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp12_ = str;
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp13_ = g_filename_to_utf8 (_tmp12_, (gssize) (-1), NULL, NULL, &_inner_error_);
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp14_ = _tmp13_;
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						if (_inner_error_ != NULL) {
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (_inner_error_->domain == G_CONVERT_ERROR) {
#line 4083 "tracker-preferences.c"
								goto __catch2_g_convert_error;
							}
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (str);
#line 734 "/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 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_clear_error (&_inner_error_);
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							return;
#line 4094 "tracker-preferences.c"
						}
#line 731 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp15_ = model;
#line 731 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp16_ = position;
#line 731 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						position = _tmp16_ + 1;
#line 731 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp17_ = _tmp14_;
#line 731 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_list_store_insert_with_values (_tmp15_, NULL, _tmp16_, 0, _tmp17_, -1, -1);
#line 731 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_g_free0 (_tmp17_);
#line 4108 "tracker-preferences.c"
					}
				}
				goto __finally2;
				__catch2_g_convert_error:
				{
					GError* e = NULL;
					GError* _tmp18_;
					const gchar* _tmp19_;
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					e = _inner_error_;
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_inner_error_ = NULL;
#line 740 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp18_ = e;
#line 740 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp19_ = _tmp18_->message;
#line 740 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_print ("Could not convert filename to UTF8: %s", _tmp19_);
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_error_free0 (e);
#line 4129 "tracker-preferences.c"
				}
				__finally2:
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_inner_error_ != NULL) {
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (str);
#line 718 "/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 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_clear_error (&_inner_error_);
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					return;
#line 4142 "tracker-preferences.c"
				}
#line 714 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (str);
#line 4146 "tracker-preferences.c"
			}
		}
	}
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return _data1_;
#line 4158 "tracker-preferences.c"
}


static void block1_data_unref (Block1Data* _data1_) {
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tracker_preferences_unref0 (_data1_->self);
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (_data1_->store);
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_slice_free (Block1Data, _data1_);
#line 4171 "tracker-preferences.c"
	}
}


static void ___lambda2_ (Block1Data* _data1_, GtkCellRendererToggle* toggle, const gchar* path) {
	TrackerPreferences * self;
	const gchar* _tmp0_;
	GtkTreePath* _tmp1_;
	GtkTreePath* tree_path;
	GtkTreeIter iter = {0};
	GtkListStore* _tmp2_;
	GtkTreeIter _tmp3_ = {0};
	GtkListStore* _tmp4_;
	GtkTreeIter _tmp5_;
	GtkCellRendererToggle* _tmp6_;
	gboolean _tmp7_;
	gboolean _tmp8_;
#line 773 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self = _data1_->self;
#line 773 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (toggle != NULL);
#line 773 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (path != NULL);
#line 774 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = path;
#line 774 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_path_new_from_string (_tmp0_);
#line 774 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tree_path = _tmp1_;
#line 777 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _data1_->store;
#line 777 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_model_get_iter ((GtkTreeModel*) _tmp2_, &_tmp3_, tree_path);
#line 777 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	iter = _tmp3_;
#line 778 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = _data1_->store;
#line 778 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = iter;
#line 778 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = toggle;
#line 778 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = gtk_cell_renderer_toggle_get_active (_tmp6_);
#line 778 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _tmp7_;
#line 778 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_list_store_set (_tmp4_, &_tmp5_, 1, !_tmp8_, -1);
#line 773 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_gtk_tree_path_free0 (tree_path);
#line 4221 "tracker-preferences.c"
}


static void ____lambda2__gtk_cell_renderer_toggle_toggled (GtkCellRendererToggle* _sender, const gchar* path, gpointer self) {
#line 773 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	___lambda2_ (self, _sender, path);
#line 4228 "tracker-preferences.c"
}


static void tracker_preferences_treeview_setup (TrackerPreferences* self, GtkTreeView* view, const gchar* title, gboolean show_recurse_column) {
	GtkTreeViewColumn* column = NULL;
	GtkTreeView* _tmp0_;
	GList* _tmp1_ = NULL;
	GList* columns;
	GList* _tmp2_;
	const gchar* _tmp6_;
	GtkCellRendererText* _tmp7_;
	GtkCellRendererText* _tmp8_;
	GtkTreeViewColumn* _tmp9_;
	GtkTreeViewColumn* _tmp10_;
	GtkTreeViewColumn* _tmp11_;
	GtkTreeView* _tmp12_;
	GtkTreeViewColumn* _tmp13_;
	gboolean _tmp14_;
#line 745 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 745 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 745 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (title != NULL);
#line 747 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = view;
#line 747 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_view_get_columns (_tmp0_);
#line 747 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	columns = _tmp1_;
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = columns;
#line 4261 "tracker-preferences.c"
	{
		GList* c_collection = NULL;
		GList* c_it = NULL;
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		c_collection = _tmp2_;
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (c_it = c_collection; c_it != NULL; c_it = c_it->next) {
#line 4269 "tracker-preferences.c"
			GtkTreeViewColumn* _tmp3_;
			GtkTreeViewColumn* c = NULL;
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = _g_object_ref0 ((GtkTreeViewColumn*) c_it->data);
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			c = _tmp3_;
#line 4276 "tracker-preferences.c"
			{
				GtkTreeView* _tmp4_;
				GtkTreeViewColumn* _tmp5_;
#line 751 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp4_ = view;
#line 751 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp5_ = c;
#line 751 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_view_remove_column (_tmp4_, _tmp5_);
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (c);
#line 4288 "tracker-preferences.c"
			}
		}
	}
#line 754 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = title;
#line 754 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 754 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = g_object_ref_sink (_tmp7_);
#line 754 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = gtk_tree_view_column_new_with_attributes (_tmp6_, (GtkCellRenderer*) _tmp8_, "text", 0, NULL, NULL);
#line 754 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = g_object_ref_sink (_tmp9_);
#line 754 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (column);
#line 754 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	column = _tmp10_;
#line 754 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (_tmp8_);
#line 758 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = column;
#line 758 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_view_column_set_expand (_tmp11_, TRUE);
#line 759 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = view;
#line 759 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = column;
#line 759 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_view_append_column (_tmp12_, _tmp13_);
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = show_recurse_column;
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp14_) {
#line 4322 "tracker-preferences.c"
		Block1Data* _data1_;
		GtkTreeView* _tmp15_;
		GtkTreeModel* _tmp16_ = NULL;
		GtkListStore* _tmp17_;
		GtkCellRendererToggle* _tmp18_;
		GtkCellRendererToggle* _tmp19_;
		GtkCellRendererToggle* cell;
		GtkCellRendererToggle* _tmp20_;
		GtkTreeViewColumn* _tmp21_;
		GtkTreeViewColumn* _tmp22_;
		GtkTreeViewColumn* _tmp23_;
		GtkTreeViewColumn* _tmp24_;
		GtkTreeView* _tmp25_;
		GtkTreeViewColumn* _tmp26_;
		GtkCellRendererToggle* _tmp27_;
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_ = g_slice_new0 (Block1Data);
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->_ref_count_ = 1;
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->self = tracker_preferences_ref (self);
#line 762 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = view;
#line 762 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = gtk_tree_view_get_model (_tmp15_);
#line 762 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp16_) ? ((GtkListStore*) _tmp16_) : NULL);
#line 762 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->store = _tmp17_;
#line 763 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = (GtkCellRendererToggle*) gtk_cell_renderer_toggle_new ();
#line 763 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = g_object_ref_sink (_tmp18_);
#line 763 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		cell = _tmp19_;
#line 765 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = cell;
#line 765 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = gtk_tree_view_column_new_with_attributes ("Recurse", (GtkCellRenderer*) _tmp20_, "active", 1, NULL, NULL);
#line 765 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = g_object_ref_sink (_tmp21_);
#line 765 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (column);
#line 765 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		column = _tmp22_;
#line 769 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = column;
#line 769 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_column_set_expand (_tmp23_, FALSE);
#line 770 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = column;
#line 770 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_column_set_fixed_width (_tmp24_, 50);
#line 771 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = view;
#line 771 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = column;
#line 771 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_append_column (_tmp25_, _tmp26_);
#line 773 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = cell;
#line 773 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_signal_connect_data (_tmp27_, "toggled", (GCallback) ____lambda2__gtk_cell_renderer_toggle_toggled, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (cell);
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		block1_data_unref (_data1_);
#line 761 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_ = NULL;
#line 4392 "tracker-preferences.c"
	}
#line 745 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_list_free0 (columns);
#line 745 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (column);
#line 4398 "tracker-preferences.c"
}


static void tracker_value_preferences_init (GValue* value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	value->data[0].v_pointer = NULL;
#line 4405 "tracker-preferences.c"
}


static void tracker_value_preferences_free_value (GValue* value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (value->data[0].v_pointer) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_unref (value->data[0].v_pointer);
#line 4414 "tracker-preferences.c"
	}
}


static void tracker_value_preferences_copy_value (const GValue* src_value, GValue* dest_value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (src_value->data[0].v_pointer) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		dest_value->data[0].v_pointer = tracker_preferences_ref (src_value->data[0].v_pointer);
#line 4424 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		dest_value->data[0].v_pointer = NULL;
#line 4428 "tracker-preferences.c"
	}
}


static gpointer tracker_value_preferences_peek_pointer (const GValue* value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return value->data[0].v_pointer;
#line 4436 "tracker-preferences.c"
}


static gchar* tracker_value_preferences_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (collect_values[0].v_pointer) {
#line 4443 "tracker-preferences.c"
		TrackerPreferences* object;
		object = collect_values[0].v_pointer;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (object->parent_instance.g_class == NULL) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 4450 "tracker-preferences.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 4454 "tracker-preferences.c"
		}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = tracker_preferences_ref (object);
#line 4458 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = NULL;
#line 4462 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 4466 "tracker-preferences.c"
}


static gchar* tracker_value_preferences_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	TrackerPreferences** object_p;
	object_p = collect_values[0].v_pointer;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!object_p) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 4477 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!value->data[0].v_pointer) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*object_p = NULL;
#line 4483 "tracker-preferences.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*object_p = value->data[0].v_pointer;
#line 4487 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*object_p = tracker_preferences_ref (value->data[0].v_pointer);
#line 4491 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 4495 "tracker-preferences.c"
}


GParamSpec* tracker_param_spec_preferences (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	TrackerParamSpecPreferences* spec;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (g_type_is_a (object_type, TRACKER_TYPE_PREFERENCES), NULL);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return G_PARAM_SPEC (spec);
#line 4509 "tracker-preferences.c"
}


gpointer tracker_value_get_preferences (const GValue* value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_TYPE_PREFERENCES), NULL);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return value->data[0].v_pointer;
#line 4518 "tracker-preferences.c"
}


void tracker_value_set_preferences (GValue* value, gpointer v_object) {
	TrackerPreferences* old;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_TYPE_PREFERENCES));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	old = value->data[0].v_pointer;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (v_object) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_TYPE_PREFERENCES));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = v_object;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_ref (value->data[0].v_pointer);
#line 4538 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = NULL;
#line 4542 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (old) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_unref (old);
#line 4548 "tracker-preferences.c"
	}
}


void tracker_value_take_preferences (GValue* value, gpointer v_object) {
	TrackerPreferences* old;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_TYPE_PREFERENCES));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	old = value->data[0].v_pointer;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (v_object) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_TYPE_PREFERENCES));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = v_object;
#line 4567 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = NULL;
#line 4571 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (old) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_unref (old);
#line 4577 "tracker-preferences.c"
	}
}


static void tracker_preferences_class_init (TrackerPreferencesClass * klass) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_parent_class = g_type_class_peek_parent (klass);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	TRACKER_PREFERENCES_CLASS (klass)->finalize = tracker_preferences_finalize;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_type_class_add_private (klass, sizeof (TrackerPreferencesPrivate));
#line 4589 "tracker-preferences.c"
}


static void tracker_preferences_instance_init (TrackerPreferences * self) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv = TRACKER_PREFERENCES_GET_PRIVATE (self);
#line 32 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_miner_fs = NULL;
#line 33 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_extract = NULL;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->ref_count = 1;
#line 4602 "tracker-preferences.c"
}


static void tracker_preferences_finalize (TrackerPreferences* obj) {
	TrackerPreferences * self;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self = TRACKER_PREFERENCES (obj);
#line 32 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_miner_fs);
#line 33 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_extract);
#line 37 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (self->priv->HOME_STRING_EVALUATED);
#line 39 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->window);
#line 40 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery_first_time);
#line 41 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery);
#line 42 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->spinbutton_delay);
#line 43 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_monitoring);
#line 44 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_removable_media);
#line 45 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_optical_discs);
#line 46 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_disk_space_limit);
#line 47 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_always);
#line 48 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_first_index);
#line 49 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_never);
#line 50 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_drop_device_threshold);
#line 51 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_index);
#line 52 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories);
#line 53 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_files);
#line 54 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories_with_content);
#line 55 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_index);
#line 56 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories);
#line 57 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories_with_content);
#line 58 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_files);
#line 59 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index1);
#line 60 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index2);
#line 61 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_home);
#line 62 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_desktop);
#line 63 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_documents);
#line 64 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_music);
#line 65 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_pictures);
#line 66 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_videos);
#line 67 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_download);
#line 68 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->notebook);
#line 4676 "tracker-preferences.c"
}


GType tracker_preferences_get_type (void) {
	static volatile gsize tracker_preferences_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_preferences_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { tracker_value_preferences_init, tracker_value_preferences_free_value, tracker_value_preferences_copy_value, tracker_value_preferences_peek_pointer, "p", tracker_value_preferences_collect_value, "p", tracker_value_preferences_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (TrackerPreferencesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_preferences_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerPreferences), 0, (GInstanceInitFunc) tracker_preferences_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType tracker_preferences_type_id;
		tracker_preferences_type_id = g_type_register_fundamental (g_type_fundamental_next (), "TrackerPreferences", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&tracker_preferences_type_id__volatile, tracker_preferences_type_id);
	}
	return tracker_preferences_type_id__volatile;
}


gpointer tracker_preferences_ref (gpointer instance) {
	TrackerPreferences* self;
	self = instance;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_atomic_int_inc (&self->ref_count);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return instance;
#line 4701 "tracker-preferences.c"
}


void tracker_preferences_unref (gpointer instance) {
	TrackerPreferences* self;
	self = instance;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		TRACKER_PREFERENCES_GET_CLASS (self)->finalize (self);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 4714 "tracker-preferences.c"
	}
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	const gchar* _tmp0_ = NULL;
	GOptionContext* _tmp1_;
	GOptionContext* context;
	gboolean _tmp14_;
	TrackerPreferences* _tmp39_;
	TrackerPreferences* p;
	TrackerPreferences* _tmp40_;
	GError * _inner_error_ = NULL;
#line 798 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Desktop Search preferences");
#line 798 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_option_context_new (_tmp0_);
#line 798 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	context = _tmp1_;
#line 4735 "tracker-preferences.c"
	{
		GOptionContext* _tmp2_;
		GOptionContext* _tmp3_;
		GOptionContext* _tmp4_;
		GOptionGroup* _tmp5_ = NULL;
		GOptionContext* _tmp6_;
#line 801 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = context;
#line 801 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_set_help_enabled (_tmp2_, TRUE);
#line 802 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = context;
#line 802 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_add_main_entries (_tmp3_, options, NULL);
#line 803 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = context;
#line 803 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = gtk_get_option_group (TRUE);
#line 803 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_add_group (_tmp4_, _tmp5_);
#line 804 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = context;
#line 804 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_parse (_tmp6_, &args_length1, &args, &_inner_error_);
#line 804 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 4762 "tracker-preferences.c"
			goto __catch3_g_error;
		}
	}
	goto __finally3;
	__catch3_g_error:
	{
		GError* e = NULL;
		GError* _tmp7_;
		const gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		GOptionContext* _tmp11_;
		gchar* _tmp12_ = NULL;
		gchar* _tmp13_;
#line 800 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 800 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 806 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = e;
#line 806 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = _tmp7_->message;
#line 806 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = g_strconcat (_tmp8_, "\n\n", NULL);
#line 806 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = _tmp9_;
#line 806 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_printerr ("%s", _tmp10_);
#line 806 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp10_);
#line 807 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = context;
#line 807 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = g_option_context_get_help (_tmp11_, TRUE, NULL);
#line 807 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = _tmp12_;
#line 807 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_printerr ("%s", _tmp13_);
#line 807 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp13_);
#line 808 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = 1;
#line 808 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 808 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 808 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 4811 "tracker-preferences.c"
	}
	__finally3:
#line 800 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_inner_error_ != NULL) {
#line 800 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 800 "/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 800 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 800 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return 0;
#line 4824 "tracker-preferences.c"
	}
#line 811 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = print_version;
#line 811 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp14_) {
#line 4830 "tracker-preferences.c"
		gchar* _tmp15_;
		gchar* about;
		gchar* _tmp16_;
		gchar* license;
		const gchar* _tmp17_;
		gchar* _tmp18_;
		const gchar* _tmp19_;
		gchar* _tmp20_;
		const gchar* _tmp21_;
		gchar* _tmp22_;
		const gchar* _tmp23_;
		gchar* _tmp24_;
		const gchar* _tmp25_;
		gchar* _tmp26_;
		const gchar* _tmp27_;
		gchar* _tmp28_;
		const gchar* _tmp29_;
		gchar* _tmp30_;
		gchar* _tmp31_;
		gchar* _tmp32_;
		gchar* _tmp33_;
		const gchar* _tmp34_;
		gchar* _tmp35_;
		gchar* _tmp36_;
		gchar* _tmp37_;
		gchar* _tmp38_;
#line 812 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = g_strdup ("");
#line 812 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		about = _tmp15_;
#line 813 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = g_strdup ("");
#line 813 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp16_;
#line 815 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = about;
#line 815 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = g_strconcat (_tmp17_, "Tracker " PACKAGE_VERSION "\n", NULL);
#line 815 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (about);
#line 815 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		about = _tmp18_;
#line 817 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = license;
#line 817 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = g_strconcat (_tmp19_, "This program is free software and comes without any warranty.\n", NULL);
#line 817 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 817 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp20_;
#line 818 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = license;
#line 818 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = g_strconcat (_tmp21_, "It is licensed under version 2 or later of the General Public ", NULL);
#line 818 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 818 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp22_;
#line 819 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = license;
#line 819 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = g_strconcat (_tmp23_, "License which can be viewed at:\n", NULL);
#line 819 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 819 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp24_;
#line 820 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = license;
#line 820 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = g_strconcat (_tmp25_, "\n", NULL);
#line 820 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 820 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp26_;
#line 821 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = license;
#line 821 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp28_ = g_strconcat (_tmp27_, "  http://www.gnu.org/licenses/gpl.txt\n", NULL);
#line 821 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 821 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp28_;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = about;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp30_ = g_strconcat ("\n", _tmp29_, NULL);
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp31_ = _tmp30_;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp32_ = g_strconcat (_tmp31_, "\n", NULL);
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp33_ = _tmp32_;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp34_ = license;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp35_ = g_strconcat (_tmp33_, _tmp34_, NULL);
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp36_ = _tmp35_;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp37_ = g_strconcat (_tmp36_, "\n", NULL);
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp38_ = _tmp37_;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_print ("%s", _tmp38_);
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp38_);
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp36_);
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp33_);
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp31_);
#line 824 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = 0;
#line 824 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 824 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (about);
#line 824 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 824 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 4953 "tracker-preferences.c"
	}
#line 827 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_init (&args_length1, &args);
#line 829 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#line 830 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#line 831 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	textdomain (GETTEXT_PACKAGE);
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp39_ = tracker_preferences_new ();
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	p = _tmp39_;
#line 834 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp40_ = p;
#line 834 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_show (_tmp40_);
#line 836 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_main ();
#line 838 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = 0;
#line 838 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tracker_preferences_unref0 (p);
#line 838 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_option_context_free0 (context);
#line 838 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 4981 "tracker-preferences.c"
}


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


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
	if (array) {
		while (((gpointer*) array)[length]) {
			length++;
		}
	}
	return length;
}



