/* tracker-view.c generated by valac 0.34.4, the Vala compiler
 * generated from tracker-view.vala, do not modify */

/**/
/* Copyright 2010, Martyn Russell <martyn@lanedo.com>*/
/**/
/* This program 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 program 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 program; 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 <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <pango/pango.h>
#include <float.h>
#include <math.h>
#include <gdk/gdk.h>


#define TRACKER_TYPE_VIEW (tracker_view_get_type ())
#define TRACKER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_VIEW, TrackerView))
#define TRACKER_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_VIEW, TrackerViewClass))
#define TRACKER_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_VIEW))
#define TRACKER_IS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_VIEW))
#define TRACKER_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_VIEW, TrackerViewClass))

typedef struct _TrackerView TrackerView;
typedef struct _TrackerViewClass TrackerViewClass;
typedef struct _TrackerViewPrivate TrackerViewPrivate;

#define TRACKER_VIEW_TYPE_DISPLAY (tracker_view_display_get_type ())

#define TRACKER_TYPE_RESULT_STORE (tracker_result_store_get_type ())
#define TRACKER_RESULT_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_RESULT_STORE, TrackerResultStore))
#define TRACKER_RESULT_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_RESULT_STORE, TrackerResultStoreClass))
#define TRACKER_IS_RESULT_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_RESULT_STORE))
#define TRACKER_IS_RESULT_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_RESULT_STORE))
#define TRACKER_RESULT_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_RESULT_STORE, TrackerResultStoreClass))

typedef struct _TrackerResultStore TrackerResultStore;
typedef struct _TrackerResultStoreClass TrackerResultStoreClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))

#define TRACKER_QUERY_TYPE_TYPE (tracker_query_type_get_type ())
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define __g_list_free__gtk_tree_path_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__gtk_tree_path_free0_ (var), NULL)))
typedef struct _Block5Data Block5Data;

#define TYPE_TRACKER_TAGS_VIEW (tracker_tags_view_get_type ())
#define TRACKER_TAGS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TRACKER_TAGS_VIEW, TrackerTagsView))
#define TRACKER_TAGS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TRACKER_TAGS_VIEW, TrackerTagsViewClass))
#define IS_TRACKER_TAGS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TRACKER_TAGS_VIEW))
#define IS_TRACKER_TAGS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TRACKER_TAGS_VIEW))
#define TRACKER_TAGS_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TRACKER_TAGS_VIEW, TrackerTagsViewClass))

typedef struct _TrackerTagsView TrackerTagsView;
typedef struct _TrackerTagsViewClass TrackerTagsViewClass;
#define __g_list_free__g_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_free0_ (var), NULL)))

struct _TrackerView {
	GtkScrolledWindow parent_instance;
	TrackerViewPrivate * priv;
};

struct _TrackerViewClass {
	GtkScrolledWindowClass parent_class;
};

typedef enum  {
	TRACKER_VIEW_DISPLAY_NO_RESULTS,
	TRACKER_VIEW_DISPLAY_CATEGORIES,
	TRACKER_VIEW_DISPLAY_FILE_LIST,
	TRACKER_VIEW_DISPLAY_FILE_ICONS
} TrackerViewDisplay;

struct _TrackerViewPrivate {
	TrackerViewDisplay _display;
	TrackerResultStore* _store;
	GtkWidget* view;
	GtkMenu* context_menu;
};

typedef enum  {
	TRACKER_QUERY_TYPE_ALL,
	TRACKER_QUERY_TYPE_CONTACTS,
	TRACKER_QUERY_TYPE_APPLICATIONS,
	TRACKER_QUERY_TYPE_MUSIC,
	TRACKER_QUERY_TYPE_IMAGES,
	TRACKER_QUERY_TYPE_VIDEOS,
	TRACKER_QUERY_TYPE_DOCUMENTS,
	TRACKER_QUERY_TYPE_MAIL,
	TRACKER_QUERY_TYPE_CALENDAR,
	TRACKER_QUERY_TYPE_FOLDERS,
	TRACKER_QUERY_TYPE_BOOKMARKS
} TrackerQueryType;

struct _Block5Data {
	int _ref_count_;
	TrackerView* self;
	GtkDialog* dialog;
};


static gpointer tracker_view_parent_class = NULL;

GType tracker_view_get_type (void) G_GNUC_CONST;
GType tracker_view_display_get_type (void) G_GNUC_CONST;
GType tracker_result_store_get_type (void) G_GNUC_CONST;
#define TRACKER_VIEW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_TYPE_VIEW, TrackerViewPrivate))
enum  {
	TRACKER_VIEW_DUMMY_PROPERTY,
	TRACKER_VIEW_DISPLAY,
	TRACKER_VIEW_STORE
};
static void tracker_view_store_row_changed (TrackerView* self, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter);
static gboolean tracker_view_row_selection_func (TrackerView* self, GtkTreeSelection* selection, GtkTreeModel* model, GtkTreePath* path, gboolean path_selected);
static void tracker_view_real_unmap (GtkWidget* base);
TrackerResultStore* tracker_view_get_store (TrackerView* self);
void tracker_result_store_cancel_search (TrackerResultStore* self);
TrackerView* tracker_view_new (TrackerViewDisplay* _display, TrackerResultStore* store);
TrackerView* tracker_view_construct (GType object_type, TrackerViewDisplay* _display, TrackerResultStore* store);
static void tracker_view_set_display (TrackerView* self, TrackerViewDisplay value);
static void _tracker_view_store_row_changed_gtk_tree_model_row_changed (GtkTreeModel* _sender, GtkTreePath* path, GtkTreeIter* iter, gpointer self);
TrackerViewDisplay tracker_view_get_display (TrackerView* self);
static void tracker_view_setup_model (TrackerView* self);
static void tracker_view_setup_menus (TrackerView* self);
static void tracker_view_background_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter);
static void _tracker_view_background_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self);
static void tracker_view_text_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter);
static void _tracker_view_text_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self);
static void tracker_view_file_date_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter);
static void _tracker_view_file_date_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self);
static void tracker_view_file_size_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter);
static void _tracker_view_file_size_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self);
static gboolean _tracker_view_row_selection_func_gtk_tree_selection_func (GtkTreeSelection* selection, GtkTreeModel* model, GtkTreePath* path, gboolean path_currently_selected, gpointer self);
static void tracker_view_category_detail_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter);
static void _tracker_view_category_detail_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self);
GType tracker_query_type_get_type (void) G_GNUC_CONST;
gchar* tracker_time_format_from_iso8601 (const gchar* s);
gchar* tracker_time_format_from_seconds (const gchar* seconds_str);
static gboolean tracker_view_view_button_press_event (TrackerView* self, GtkWidget* widget, GdkEventButton* event);
static gboolean _tracker_view_view_button_press_event_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self);
static void tracker_view_context_menu_directory_clicked (TrackerView* self);
static void _tracker_view_context_menu_directory_clicked_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static void tracker_view_context_menu_tags_clicked (TrackerView* self);
static void _tracker_view_context_menu_tags_clicked_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static GtkTreePath* tracker_view_get_selected_path (TrackerView* self);
static GtkTreeModel* tracker_view_get_model (TrackerView* self);
static void _gtk_tree_path_free0_ (gpointer var);
static void _g_list_free__gtk_tree_path_free0_ (GList* self);
void tracker_model_launch_selected_parent_dir (GtkTreeModel* model, GtkTreePath* path, gint col);
static Block5Data* block5_data_ref (Block5Data* _data5_);
static void block5_data_unref (void * _userdata_);
static void __lambda7_ (Block5Data* _data5_);
static void ___lambda7__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
TrackerTagsView* tracker_tags_view_new (GList* _files);
TrackerTagsView* tracker_tags_view_construct (GType object_type, GList* _files);
GType tracker_tags_view_get_type (void) G_GNUC_CONST;
static void _g_free0_ (gpointer var);
static void _g_list_free__g_free0_ (GList* self);
void tracker_view_set_store (TrackerView* self, TrackerResultStore* value);
static void tracker_view_finalize (GObject* obj);
static void _vala_tracker_view_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_tracker_view_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


GType tracker_view_display_get_type (void) {
	static volatile gsize tracker_view_display_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_view_display_type_id__volatile)) {
		static const GEnumValue values[] = {{TRACKER_VIEW_DISPLAY_NO_RESULTS, "TRACKER_VIEW_DISPLAY_NO_RESULTS", "no-results"}, {TRACKER_VIEW_DISPLAY_CATEGORIES, "TRACKER_VIEW_DISPLAY_CATEGORIES", "categories"}, {TRACKER_VIEW_DISPLAY_FILE_LIST, "TRACKER_VIEW_DISPLAY_FILE_LIST", "file-list"}, {TRACKER_VIEW_DISPLAY_FILE_ICONS, "TRACKER_VIEW_DISPLAY_FILE_ICONS", "file-icons"}, {0, NULL, NULL}};
		GType tracker_view_display_type_id;
		tracker_view_display_type_id = g_enum_register_static ("TrackerViewDisplay", values);
		g_once_init_leave (&tracker_view_display_type_id__volatile, tracker_view_display_type_id);
	}
	return tracker_view_display_type_id__volatile;
}


static void tracker_view_store_row_changed (TrackerView* self, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter) {
	gint n_children = 0;
	GtkTreeModel* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
#line 63 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 63 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (model != NULL);
#line 63 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (path != NULL);
#line 63 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (iter != NULL);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = model;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = *iter;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp2_ = gtk_tree_model_iter_n_children (_tmp0_, &_tmp1_);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	n_children = _tmp2_;
#line 68 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp3_ = n_children;
#line 68 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp3_ > 0) {
#line 224 "tracker-view.c"
		GtkWidget* _tmp4_ = NULL;
		GtkTreePath* _tmp5_ = NULL;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp4_ = self->priv->view;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp5_ = path;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		gtk_tree_view_expand_row (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_tree_view_get_type (), GtkTreeView), _tmp5_, FALSE);
#line 233 "tracker-view.c"
	}
}


static gboolean tracker_view_row_selection_func (TrackerView* self, GtkTreeSelection* selection, GtkTreeModel* model, GtkTreePath* path, gboolean path_selected) {
	gboolean result = FALSE;
	GtkTreePath* _tmp0_ = NULL;
	gint _tmp1_ = 0;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (selection != NULL, FALSE);
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (model != NULL, FALSE);
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (path != NULL, FALSE);
#line 77 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = path;
#line 77 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = gtk_tree_path_get_depth (_tmp0_);
#line 77 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp1_ == 1) {
#line 79 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		result = FALSE;
#line 79 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		return result;
#line 260 "tracker-view.c"
	}
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	result = TRUE;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return result;
#line 266 "tracker-view.c"
}


static void tracker_view_real_unmap (GtkWidget* base) {
	TrackerView * self;
	TrackerResultStore* _tmp0_ = NULL;
	TrackerResultStore* _tmp1_ = NULL;
#line 85 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	self = (TrackerView*) base;
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = tracker_view_get_store (self);
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = _tmp0_;
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp1_ != NULL) {
#line 282 "tracker-view.c"
		TrackerResultStore* _tmp2_ = NULL;
		TrackerResultStore* _tmp3_ = NULL;
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp2_ = tracker_view_get_store (self);
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp3_ = _tmp2_;
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		tracker_result_store_cancel_search (_tmp3_);
#line 291 "tracker-view.c"
	}
#line 90 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	GTK_WIDGET_CLASS (tracker_view_parent_class)->unmap ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
#line 295 "tracker-view.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return self ? g_object_ref (self) : NULL;
#line 302 "tracker-view.c"
}


static void _tracker_view_store_row_changed_gtk_tree_model_row_changed (GtkTreeModel* _sender, GtkTreePath* path, GtkTreeIter* iter, gpointer self) {
#line 100 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_store_row_changed ((TrackerView*) self, _sender, path, iter);
#line 309 "tracker-view.c"
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1412 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1413 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	result = self;
#line 1413 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	return result;
#line 321 "tracker-view.c"
}


TrackerView* tracker_view_construct (GType object_type, TrackerViewDisplay* _display, TrackerResultStore* store) {
	TrackerView * self = NULL;
	TrackerViewDisplay* _tmp0_ = NULL;
	TrackerResultStore* _tmp1_ = NULL;
	TrackerViewDisplay _tmp6_ = 0;
	TrackerViewDisplay _tmp29_ = 0;
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	self = (TrackerView*) g_object_new (object_type, NULL);
#line 94 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_scrolled_window_set_policy ((GtkScrolledWindow*) self, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = _display;
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_set_display (self, *_tmp0_);
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = store;
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp1_ != NULL) {
#line 343 "tracker-view.c"
		TrackerResultStore* _tmp2_ = NULL;
		TrackerResultStore* _tmp3_ = NULL;
		TrackerResultStore* _tmp4_ = NULL;
		TrackerResultStore* _tmp5_ = NULL;
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp2_ = store;
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp3_ = _g_object_ref0 (_tmp2_);
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_object_unref0 (self->priv->_store);
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		self->priv->_store = _tmp3_;
#line 100 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp4_ = store;
#line 100 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_signal_connect_object ((GtkTreeModel*) _tmp4_, "row-changed", (GCallback) _tracker_view_store_row_changed_gtk_tree_model_row_changed, self, 0);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp5_ = store;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_debug ("tracker-view.vala:101: using store:%p", _tmp5_);
#line 364 "tracker-view.c"
	}
#line 104 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp6_ = self->priv->_display;
#line 104 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	switch (_tmp6_) {
#line 104 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_NO_RESULTS:
#line 372 "tracker-view.c"
		{
			GtkLabel* l = NULL;
			GtkLabel* _tmp7_ = NULL;
			GtkLabel* _tmp8_ = NULL;
			gchar* results = NULL;
			const gchar* _tmp9_ = NULL;
			gchar* _tmp10_ = NULL;
			gchar* help_views = NULL;
			const gchar* _tmp11_ = NULL;
			gchar* _tmp12_ = NULL;
			gchar* help_search = NULL;
			const gchar* _tmp13_ = NULL;
			gchar* _tmp14_ = NULL;
			gchar* markup = NULL;
			const gchar* _tmp15_ = NULL;
			const gchar* _tmp16_ = NULL;
			const gchar* _tmp17_ = NULL;
			const gchar* _tmp18_ = NULL;
			const gchar* _tmp19_ = NULL;
			const gchar* _tmp20_ = NULL;
			gchar* _tmp21_ = NULL;
			GtkLabel* _tmp22_ = NULL;
			GtkLabel* _tmp23_ = NULL;
			const gchar* _tmp24_ = NULL;
			GtkLabel* _tmp25_ = NULL;
			GtkWidget* _tmp26_ = NULL;
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp7_ = (GtkLabel*) gtk_label_new ("");
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			g_object_ref_sink (_tmp7_);
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (l);
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			l = _tmp7_;
#line 109 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp8_ = l;
#line 109 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			gtk_label_set_justify (_tmp8_, GTK_JUSTIFY_CENTER);
#line 111 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp9_ = _ ("No Search Results");
#line 111 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp10_ = g_strdup (_tmp9_);
#line 111 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			results = _tmp10_;
#line 112 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp11_ = _ ("Select the view on the toolbar for the content you want, e.g. everythi" \
"ng, files or just images");
#line 112 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp12_ = g_strdup (_tmp11_);
#line 112 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			help_views = _tmp12_;
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp13_ = _ ("Start to search using the entry box above");
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp14_ = g_strdup (_tmp13_);
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			help_search = _tmp14_;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp15_ = results;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp16_ = string_to_string (_tmp15_);
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp17_ = help_views;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp18_ = string_to_string (_tmp17_);
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp19_ = help_search;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp20_ = string_to_string (_tmp19_);
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp21_ = g_strconcat ("<big>", _tmp16_, "</big>\n\n", _tmp18_, "\n\n", _tmp20_, NULL);
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			markup = _tmp21_;
#line 116 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp22_ = l;
#line 116 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			gtk_label_set_use_markup (_tmp22_, TRUE);
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp23_ = l;
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp24_ = markup;
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			gtk_label_set_markup (_tmp23_, _tmp24_);
#line 119 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp25_ = l;
#line 119 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp26_ = _g_object_ref0 ((GtkWidget*) _tmp25_);
#line 119 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (self->priv->view);
#line 119 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			self->priv->view = _tmp26_;
#line 120 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (markup);
#line 120 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (help_search);
#line 120 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (help_views);
#line 120 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (results);
#line 120 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (l);
#line 120 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 475 "tracker-view.c"
		}
#line 104 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_CATEGORIES:
#line 104 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_FILE_LIST:
#line 481 "tracker-view.c"
		{
			GtkTreeView* _tmp27_ = NULL;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp27_ = (GtkTreeView*) gtk_tree_view_new ();
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			g_object_ref_sink (_tmp27_);
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (self->priv->view);
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			self->priv->view = (GtkWidget*) _tmp27_;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 494 "tracker-view.c"
		}
#line 104 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_FILE_ICONS:
#line 498 "tracker-view.c"
		{
			GtkIconView* _tmp28_ = NULL;
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp28_ = (GtkIconView*) gtk_icon_view_new ();
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			g_object_ref_sink (_tmp28_);
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (self->priv->view);
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			self->priv->view = (GtkWidget*) _tmp28_;
#line 129 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 511 "tracker-view.c"
		}
		default:
#line 104 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		break;
#line 516 "tracker-view.c"
	}
#line 132 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp29_ = self->priv->_display;
#line 132 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp29_ == TRACKER_VIEW_DISPLAY_NO_RESULTS) {
#line 522 "tracker-view.c"
		GtkWidget* _tmp30_ = NULL;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp30_ = self->priv->view;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		gtk_container_add ((GtkContainer*) self, _tmp30_);
#line 528 "tracker-view.c"
	} else {
		GtkWidget* _tmp31_ = NULL;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp31_ = self->priv->view;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		gtk_container_add ((GtkContainer*) self, _tmp31_);
#line 136 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		tracker_view_setup_model (self);
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		tracker_view_setup_menus (self);
#line 539 "tracker-view.c"
	}
#line 140 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	GTK_WIDGET_CLASS (tracker_view_parent_class)->show_all ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return self;
#line 545 "tracker-view.c"
}


TrackerView* tracker_view_new (TrackerViewDisplay* _display, TrackerResultStore* store) {
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return tracker_view_construct (TRACKER_TYPE_VIEW, _display, store);
#line 552 "tracker-view.c"
}


static void _tracker_view_background_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self) {
#line 188 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_background_renderer_func ((TrackerView*) self, cell_layout, cell, tree_model, iter);
#line 559 "tracker-view.c"
}


static void _tracker_view_text_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self) {
#line 189 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_text_renderer_func ((TrackerView*) self, cell_layout, cell, tree_model, iter);
#line 566 "tracker-view.c"
}


static void _tracker_view_file_date_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self) {
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_file_date_renderer_func ((TrackerView*) self, cell_layout, cell, tree_model, iter);
#line 573 "tracker-view.c"
}


static void _tracker_view_file_size_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self) {
#line 207 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_file_size_renderer_func ((TrackerView*) self, cell_layout, cell, tree_model, iter);
#line 580 "tracker-view.c"
}


static gboolean _tracker_view_row_selection_func_gtk_tree_selection_func (GtkTreeSelection* selection, GtkTreeModel* model, GtkTreePath* path, gboolean path_currently_selected, gpointer self) {
	gboolean result;
	result = tracker_view_row_selection_func ((TrackerView*) self, selection, model, path, path_currently_selected);
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return result;
#line 589 "tracker-view.c"
}


static void _tracker_view_category_detail_renderer_func_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self) {
#line 266 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_category_detail_renderer_func ((TrackerView*) self, cell_layout, cell, tree_model, iter);
#line 596 "tracker-view.c"
}


static void tracker_view_setup_model (TrackerView* self) {
	TrackerViewDisplay _tmp0_ = 0;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = self->priv->_display;
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	switch (_tmp0_) {
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_FILE_ICONS:
#line 610 "tracker-view.c"
		{
			{
				GtkIconView* iv = NULL;
				GtkWidget* _tmp1_ = NULL;
				GtkIconView* _tmp2_ = NULL;
				GtkIconView* _tmp3_ = NULL;
				TrackerResultStore* _tmp4_ = NULL;
				TrackerResultStore* _tmp5_ = NULL;
				GtkIconView* _tmp6_ = NULL;
				GtkIconView* _tmp7_ = NULL;
				GtkIconView* _tmp8_ = NULL;
				GtkIconView* _tmp9_ = NULL;
				GtkIconView* _tmp10_ = NULL;
				GtkIconView* _tmp11_ = NULL;
				GtkIconView* _tmp12_ = NULL;
				GtkIconView* _tmp13_ = NULL;
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp1_ = self->priv->view;
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_icon_view_get_type (), GtkIconView));
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				iv = _tmp2_;
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp3_ = iv;
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp4_ = tracker_view_get_store (self);
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp5_ = _tmp4_;
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_icon_view_set_model (_tmp3_, (GtkTreeModel*) _tmp5_);
#line 149 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp6_ = iv;
#line 149 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_icon_view_set_item_width (_tmp6_, 128);
#line 150 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp7_ = iv;
#line 150 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_icon_view_set_item_padding (_tmp7_, 1);
#line 151 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp8_ = iv;
#line 151 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_icon_view_set_row_spacing (_tmp8_, 2);
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp9_ = iv;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_icon_view_set_column_spacing (_tmp9_, 2);
#line 153 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp10_ = iv;
#line 153 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_icon_view_set_selection_mode (_tmp10_, GTK_SELECTION_SINGLE);
#line 154 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp11_ = iv;
#line 154 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_icon_view_set_pixbuf_column (_tmp11_, 6);
#line 155 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp12_ = iv;
#line 155 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_icon_view_set_text_column (_tmp12_, -1);
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp13_ = iv;
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_icon_view_set_tooltip_column (_tmp13_, 5);
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (iv);
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 677 "tracker-view.c"
			}
		}
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_FILE_LIST:
#line 682 "tracker-view.c"
		{
			{
				GtkTreeViewColumn* col = NULL;
				GtkTreeView* tv = NULL;
				GtkWidget* _tmp14_ = NULL;
				GtkTreeView* _tmp15_ = NULL;
				GtkTreeView* _tmp16_ = NULL;
				TrackerResultStore* _tmp17_ = NULL;
				TrackerResultStore* _tmp18_ = NULL;
				GtkTreeView* _tmp19_ = NULL;
				GtkTreeView* _tmp20_ = NULL;
				GtkTreeView* _tmp21_ = NULL;
				GtkTreeView* _tmp22_ = NULL;
				GtkCellRendererPixbuf* renderer1 = NULL;
				GtkCellRendererPixbuf* _tmp23_ = NULL;
				GtkCellRendererText* renderer2 = NULL;
				GtkCellRendererText* _tmp24_ = NULL;
				GtkTreeViewColumn* _tmp25_ = NULL;
				GtkTreeViewColumn* _tmp26_ = NULL;
				GtkTreeViewColumn* _tmp27_ = NULL;
				GtkCellRendererPixbuf* _tmp28_ = NULL;
				GtkTreeViewColumn* _tmp29_ = NULL;
				GtkCellRendererPixbuf* _tmp30_ = NULL;
				GtkCellRendererPixbuf* _tmp31_ = NULL;
				GtkCellRendererPixbuf* _tmp32_ = NULL;
				GtkTreeViewColumn* _tmp33_ = NULL;
				GtkCellRendererText* _tmp34_ = NULL;
				GtkCellRendererText* _tmp35_ = NULL;
				GtkCellRendererText* _tmp36_ = NULL;
				GtkTreeViewColumn* _tmp37_ = NULL;
				const gchar* _tmp38_ = NULL;
				GtkTreeViewColumn* _tmp39_ = NULL;
				GtkTreeViewColumn* _tmp40_ = NULL;
				GtkTreeViewColumn* _tmp41_ = NULL;
				GtkCellRendererPixbuf* _tmp42_ = NULL;
				GtkTreeViewColumn* _tmp43_ = NULL;
				GtkCellRendererText* _tmp44_ = NULL;
				GtkTreeView* _tmp45_ = NULL;
				GtkTreeViewColumn* _tmp46_ = NULL;
				GtkCellRendererText* renderer3 = NULL;
				GtkCellRendererText* _tmp47_ = NULL;
				GtkCellRendererText* _tmp48_ = NULL;
				GtkTreeViewColumn* _tmp49_ = NULL;
				GtkTreeViewColumn* _tmp50_ = NULL;
				GtkTreeViewColumn* _tmp51_ = NULL;
				GtkCellRendererText* _tmp52_ = NULL;
				GtkTreeViewColumn* _tmp53_ = NULL;
				const gchar* _tmp54_ = NULL;
				GtkTreeViewColumn* _tmp55_ = NULL;
				GtkCellRendererText* _tmp56_ = NULL;
				GtkTreeView* _tmp57_ = NULL;
				GtkTreeViewColumn* _tmp58_ = NULL;
				GtkCellRendererText* renderer4 = NULL;
				GtkCellRendererText* _tmp59_ = NULL;
				GtkCellRendererText* _tmp60_ = NULL;
				GtkTreeViewColumn* _tmp61_ = NULL;
				GtkTreeViewColumn* _tmp62_ = NULL;
				GtkTreeViewColumn* _tmp63_ = NULL;
				GtkCellRendererText* _tmp64_ = NULL;
				GtkTreeViewColumn* _tmp65_ = NULL;
				const gchar* _tmp66_ = NULL;
				GtkTreeViewColumn* _tmp67_ = NULL;
				GtkCellRendererText* _tmp68_ = NULL;
				GtkTreeView* _tmp69_ = NULL;
				GtkTreeViewColumn* _tmp70_ = NULL;
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp14_ = self->priv->view;
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_tree_view_get_type (), GtkTreeView));
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				tv = _tmp15_;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp16_ = tv;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp17_ = tracker_view_get_store (self);
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp18_ = _tmp17_;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_model (_tmp16_, (GtkTreeModel*) _tmp18_);
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp19_ = tv;
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_tooltip_column (_tmp19_, 6);
#line 167 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp20_ = tv;
#line 167 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_rules_hint (_tmp20_, FALSE);
#line 168 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp21_ = tv;
#line 168 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_grid_lines (_tmp21_, GTK_TREE_VIEW_GRID_LINES_VERTICAL);
#line 169 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp22_ = tv;
#line 169 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_headers_visible (_tmp22_, TRUE);
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp23_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new ();
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp23_);
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				renderer1 = _tmp23_;
#line 172 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp24_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 172 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp24_);
#line 172 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				renderer2 = _tmp24_;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp25_ = gtk_tree_view_column_new ();
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp25_);
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (col);
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				col = _tmp25_;
#line 175 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp26_ = col;
#line 175 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_sizing (_tmp26_, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
#line 176 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp27_ = col;
#line 176 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp28_ = renderer1;
#line 176 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp27_, (GtkCellRenderer*) _tmp28_, FALSE);
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp29_ = col;
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp30_ = renderer1;
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_add_attribute ((GtkCellLayout*) _tmp29_, (GtkCellRenderer*) _tmp30_, "pixbuf", 7);
#line 178 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp31_ = renderer1;
#line 178 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_set ((GtkCellRenderer*) _tmp31_, "xpad", (guint) 5, NULL);
#line 179 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp32_ = renderer1;
#line 179 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_set ((GtkCellRenderer*) _tmp32_, "ypad", (guint) 5, NULL);
#line 181 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp33_ = col;
#line 181 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp34_ = renderer2;
#line 181 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp33_, (GtkCellRenderer*) _tmp34_, TRUE);
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp35_ = renderer2;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_renderer_text_set_fixed_height_from_font (_tmp35_, 2);
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp36_ = renderer2;
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_set (_tmp36_, "ellipsize", PANGO_ELLIPSIZE_MIDDLE, NULL);
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp37_ = col;
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp38_ = _ ("File");
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_title (_tmp37_, _tmp38_);
#line 186 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp39_ = col;
#line 186 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_resizable (_tmp39_, TRUE);
#line 187 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp40_ = col;
#line 187 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_expand (_tmp40_, TRUE);
#line 188 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp41_ = col;
#line 188 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp42_ = renderer1;
#line 188 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp41_, (GtkCellRenderer*) _tmp42_, _tracker_view_background_renderer_func_gtk_cell_layout_data_func, g_object_ref (self), g_object_unref);
#line 189 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp43_ = col;
#line 189 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp44_ = renderer2;
#line 189 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp43_, (GtkCellRenderer*) _tmp44_, _tracker_view_text_renderer_func_gtk_cell_layout_data_func, g_object_ref (self), g_object_unref);
#line 190 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp45_ = tv;
#line 190 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp46_ = col;
#line 190 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_append_column (_tmp45_, _tmp46_);
#line 192 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp47_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 192 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp47_);
#line 192 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				renderer3 = _tmp47_;
#line 193 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp48_ = renderer3;
#line 193 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_renderer_text_set_fixed_height_from_font (_tmp48_, 2);
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp49_ = gtk_tree_view_column_new ();
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp49_);
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (col);
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				col = _tmp49_;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp50_ = col;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_sizing (_tmp50_, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
#line 196 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp51_ = col;
#line 196 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp52_ = renderer3;
#line 196 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp51_, (GtkCellRenderer*) _tmp52_, TRUE);
#line 197 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp53_ = col;
#line 197 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp54_ = _ ("Last Changed");
#line 197 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_title (_tmp53_, _tmp54_);
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp55_ = col;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp56_ = renderer3;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp55_, (GtkCellRenderer*) _tmp56_, _tracker_view_file_date_renderer_func_gtk_cell_layout_data_func, g_object_ref (self), g_object_unref);
#line 199 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp57_ = tv;
#line 199 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp58_ = col;
#line 199 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_append_column (_tmp57_, _tmp58_);
#line 201 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp59_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 201 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp59_);
#line 201 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				renderer4 = _tmp59_;
#line 202 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp60_ = renderer4;
#line 202 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_renderer_text_set_fixed_height_from_font (_tmp60_, 2);
#line 203 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp61_ = gtk_tree_view_column_new ();
#line 203 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp61_);
#line 203 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (col);
#line 203 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				col = _tmp61_;
#line 204 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp62_ = col;
#line 204 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_sizing (_tmp62_, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp63_ = col;
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp64_ = renderer4;
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp63_, (GtkCellRenderer*) _tmp64_, TRUE);
#line 206 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp65_ = col;
#line 206 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp66_ = _ ("Size");
#line 206 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_title (_tmp65_, _tmp66_);
#line 207 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp67_ = col;
#line 207 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp68_ = renderer4;
#line 207 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp67_, (GtkCellRenderer*) _tmp68_, _tracker_view_file_size_renderer_func_gtk_cell_layout_data_func, g_object_ref (self), g_object_unref);
#line 208 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp69_ = tv;
#line 208 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp70_ = col;
#line 208 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_append_column (_tmp69_, _tmp70_);
#line 210 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (renderer4);
#line 210 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (renderer3);
#line 210 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (renderer2);
#line 210 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (renderer1);
#line 210 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (tv);
#line 210 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (col);
#line 210 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 974 "tracker-view.c"
			}
		}
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_CATEGORIES:
#line 979 "tracker-view.c"
		{
			{
				GtkTreeViewColumn* col = NULL;
				GtkTreeView* tv = NULL;
				GtkWidget* _tmp71_ = NULL;
				GtkTreeView* _tmp72_ = NULL;
				GtkTreeSelection* selection = NULL;
				GtkTreeView* _tmp73_ = NULL;
				TrackerResultStore* _tmp74_ = NULL;
				TrackerResultStore* _tmp75_ = NULL;
				GtkTreeView* _tmp76_ = NULL;
				GtkTreeView* _tmp77_ = NULL;
				GtkTreeView* _tmp78_ = NULL;
				GtkTreeView* _tmp79_ = NULL;
				GtkTreeView* _tmp80_ = NULL;
				GtkTreeView* _tmp81_ = NULL;
				GtkTreeSelection* _tmp82_ = NULL;
				GtkTreeSelection* _tmp83_ = NULL;
				GtkTreeSelection* _tmp84_ = NULL;
				GtkTreeViewColumn* _tmp85_ = NULL;
				GtkTreeViewColumn* _tmp86_ = NULL;
				GtkTreeViewColumn* _tmp87_ = NULL;
				GtkCellRendererPixbuf* renderer1 = NULL;
				GtkCellRendererPixbuf* _tmp88_ = NULL;
				GtkTreeViewColumn* _tmp89_ = NULL;
				GtkCellRendererPixbuf* _tmp90_ = NULL;
				GtkTreeViewColumn* _tmp91_ = NULL;
				GtkCellRendererPixbuf* _tmp92_ = NULL;
				GtkTreeViewColumn* _tmp93_ = NULL;
				GtkCellRendererPixbuf* _tmp94_ = NULL;
				GtkCellRendererPixbuf* _tmp95_ = NULL;
				GtkCellRendererPixbuf* _tmp96_ = NULL;
				GtkCellRendererText* renderer2 = NULL;
				GtkCellRendererText* _tmp97_ = NULL;
				GtkTreeViewColumn* _tmp98_ = NULL;
				GtkCellRendererText* _tmp99_ = NULL;
				GtkTreeViewColumn* _tmp100_ = NULL;
				GtkCellRendererText* _tmp101_ = NULL;
				GtkCellRendererText* _tmp102_ = NULL;
				GtkCellRendererText* _tmp103_ = NULL;
				GtkTreeView* _tmp104_ = NULL;
				GtkTreeViewColumn* _tmp105_ = NULL;
				GtkCellRendererText* renderer4 = NULL;
				GtkCellRendererText* _tmp106_ = NULL;
				GtkCellRendererText* _tmp107_ = NULL;
				GtkCellRendererText* _tmp108_ = NULL;
				GtkCellRendererText* _tmp109_ = NULL;
				GtkTreeViewColumn* _tmp110_ = NULL;
				GtkTreeViewColumn* _tmp111_ = NULL;
				GtkTreeViewColumn* _tmp112_ = NULL;
				GtkTreeViewColumn* _tmp113_ = NULL;
				GtkCellRendererText* _tmp114_ = NULL;
				GtkTreeViewColumn* _tmp115_ = NULL;
				GtkCellRendererText* _tmp116_ = NULL;
				GtkTreeView* _tmp117_ = NULL;
				GtkTreeViewColumn* _tmp118_ = NULL;
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp71_ = self->priv->view;
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp72_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_tree_view_get_type (), GtkTreeView));
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				tv = _tmp72_;
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp73_ = tv;
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp74_ = tracker_view_get_store (self);
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp75_ = _tmp74_;
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_model (_tmp73_, (GtkTreeModel*) _tmp75_);
#line 219 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp76_ = tv;
#line 219 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_tooltip_column (_tmp76_, 5);
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp77_ = tv;
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_rules_hint (_tmp77_, FALSE);
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp78_ = tv;
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_grid_lines (_tmp78_, GTK_TREE_VIEW_GRID_LINES_NONE);
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp79_ = tv;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_headers_visible (_tmp79_, FALSE);
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp80_ = tv;
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_set_show_expanders (_tmp80_, FALSE);
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp81_ = tv;
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp82_ = gtk_tree_view_get_selection (_tmp81_);
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp83_ = _g_object_ref0 (_tmp82_);
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (selection);
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				selection = _tmp83_;
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp84_ = selection;
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_selection_set_select_function (_tmp84_, _tracker_view_row_selection_func_gtk_tree_selection_func, g_object_ref (self), g_object_unref);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp85_ = gtk_tree_view_column_new ();
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp85_);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (col);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				col = _tmp85_;
#line 229 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp86_ = col;
#line 229 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_sizing (_tmp86_, GTK_TREE_VIEW_COLUMN_FIXED);
#line 230 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp87_ = col;
#line 230 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_expand (_tmp87_, TRUE);
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp88_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new ();
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp88_);
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				renderer1 = _tmp88_;
#line 233 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp89_ = col;
#line 233 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp90_ = renderer1;
#line 233 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp89_, (GtkCellRenderer*) _tmp90_, FALSE);
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp91_ = col;
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp92_ = renderer1;
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_add_attribute ((GtkCellLayout*) _tmp91_, (GtkCellRenderer*) _tmp92_, "pixbuf", 6);
#line 235 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp93_ = col;
#line 235 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp94_ = renderer1;
#line 235 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp93_, (GtkCellRenderer*) _tmp94_, _tracker_view_background_renderer_func_gtk_cell_layout_data_func, g_object_ref (self), g_object_unref);
#line 236 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp95_ = renderer1;
#line 236 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_set ((GtkCellRenderer*) _tmp95_, "xpad", (guint) 5, NULL);
#line 237 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp96_ = renderer1;
#line 237 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_set ((GtkCellRenderer*) _tmp96_, "ypad", (guint) 5, NULL);
#line 239 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp97_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 239 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp97_);
#line 239 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				renderer2 = _tmp97_;
#line 240 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp98_ = col;
#line 240 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp99_ = renderer2;
#line 240 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp98_, (GtkCellRenderer*) _tmp99_, TRUE);
#line 241 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp100_ = col;
#line 241 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp101_ = renderer2;
#line 241 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp100_, (GtkCellRenderer*) _tmp101_, _tracker_view_text_renderer_func_gtk_cell_layout_data_func, g_object_ref (self), g_object_unref);
#line 242 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp102_ = renderer2;
#line 242 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_renderer_text_set_fixed_height_from_font (_tmp102_, 2);
#line 243 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp103_ = renderer2;
#line 243 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_set (_tmp103_, "ellipsize", PANGO_ELLIPSIZE_MIDDLE, NULL);
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp104_ = tv;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp105_ = col;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_append_column (_tmp104_, _tmp105_);
#line 257 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp106_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 257 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp106_);
#line 257 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				renderer4 = _tmp106_;
#line 258 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp107_ = renderer4;
#line 258 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_renderer_text_set_fixed_height_from_font (_tmp107_, 2);
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp108_ = renderer4;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_set (_tmp108_, "alignment", PANGO_ALIGN_RIGHT, NULL);
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp109_ = renderer4;
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_set ((GtkCellRenderer*) _tmp109_, "xalign", (gfloat) 1, NULL);
#line 262 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp110_ = gtk_tree_view_column_new ();
#line 262 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				g_object_ref_sink (_tmp110_);
#line 262 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (col);
#line 262 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				col = _tmp110_;
#line 263 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp111_ = col;
#line 263 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_min_width (_tmp111_, 80);
#line 264 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp112_ = col;
#line 264 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_column_set_sizing (_tmp112_, GTK_TREE_VIEW_COLUMN_FIXED);
#line 265 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp113_ = col;
#line 265 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp114_ = renderer4;
#line 265 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp113_, (GtkCellRenderer*) _tmp114_, TRUE);
#line 266 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp115_ = col;
#line 266 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp116_ = renderer4;
#line 266 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp115_, (GtkCellRenderer*) _tmp116_, _tracker_view_category_detail_renderer_func_gtk_cell_layout_data_func, g_object_ref (self), g_object_unref);
#line 267 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp117_ = tv;
#line 267 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp118_ = col;
#line 267 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				gtk_tree_view_append_column (_tmp117_, _tmp118_);
#line 269 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (renderer4);
#line 269 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (renderer2);
#line 269 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (renderer1);
#line 269 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (selection);
#line 269 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (tv);
#line 269 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_object_unref0 (col);
#line 269 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 1230 "tracker-view.c"
			}
		}
		default:
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		break;
#line 1236 "tracker-view.c"
	}
}


static void tracker_view_background_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter) {
	GdkColor color = {0};
	GtkStyle* style = NULL;
	GtkTreePath* path = NULL;
	GtkWidget* _tmp0_ = NULL;
	GtkStyle* _tmp1_ = NULL;
	GtkStyle* _tmp2_ = NULL;
	GtkStyle* _tmp3_ = NULL;
	GdkColor* _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	GdkColor _tmp5_ = {0};
	gint sum_normal = 0;
	GdkColor _tmp6_ = {0};
	guint16 _tmp7_ = 0U;
	GdkColor _tmp8_ = {0};
	guint16 _tmp9_ = 0U;
	GdkColor _tmp10_ = {0};
	guint16 _tmp11_ = 0U;
	GtkStyle* _tmp12_ = NULL;
	GdkColor* _tmp13_ = NULL;
	gint _tmp13__length1 = 0;
	GdkColor _tmp14_ = {0};
	gint sum_selected = 0;
	GdkColor _tmp15_ = {0};
	guint16 _tmp16_ = 0U;
	GdkColor _tmp17_ = {0};
	guint16 _tmp18_ = 0U;
	GdkColor _tmp19_ = {0};
	guint16 _tmp20_ = 0U;
	GtkStyle* _tmp21_ = NULL;
	GdkColor* _tmp22_ = NULL;
	gint _tmp22__length1 = 0;
	GdkColor _tmp23_ = {0};
	gint _tmp24_ = 0;
	gint _tmp25_ = 0;
	GtkTreeModel* _tmp56_ = NULL;
	GtkTreeIter _tmp57_ = {0};
	GtkTreePath* _tmp58_ = NULL;
	GtkTreePath* _tmp59_ = NULL;
	gint _tmp60_ = 0;
	gint* _tmp61_ = NULL;
	gint _tmp62_ = 0;
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell_layout != NULL);
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell != NULL);
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (tree_model != NULL);
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (iter != NULL);
#line 282 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = self->priv->view;
#line 282 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = gtk_widget_get_style (_tmp0_);
#line 282 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 282 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (style);
#line 282 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	style = _tmp2_;
#line 284 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp3_ = style;
#line 284 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp4_ = _tmp3_->base;
#line 284 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp4__length1 = -1;
#line 284 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp5_ = _tmp4_[GTK_STATE_SELECTED];
#line 284 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	color = _tmp5_;
#line 285 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp6_ = color;
#line 285 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp7_ = _tmp6_.red;
#line 285 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp8_ = color;
#line 285 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp9_ = _tmp8_.green;
#line 285 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp10_ = color;
#line 285 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp11_ = _tmp10_.blue;
#line 285 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	sum_normal = (gint) ((_tmp7_ + _tmp9_) + _tmp11_);
#line 286 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp12_ = style;
#line 286 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp13_ = _tmp12_->base;
#line 286 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp13__length1 = -1;
#line 286 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp14_ = _tmp13_[GTK_STATE_NORMAL];
#line 286 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	color = _tmp14_;
#line 287 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp15_ = color;
#line 287 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp16_ = _tmp15_.red;
#line 287 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp17_ = color;
#line 287 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp18_ = _tmp17_.green;
#line 287 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp19_ = color;
#line 287 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp20_ = _tmp19_.blue;
#line 287 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	sum_selected = (gint) ((_tmp16_ + _tmp18_) + _tmp20_);
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp21_ = style;
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp22_ = _tmp21_->text_aa;
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp22__length1 = -1;
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp23_ = _tmp22_[GTK_STATE_INSENSITIVE];
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	color = _tmp23_;
#line 290 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp24_ = sum_normal;
#line 290 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp25_ = sum_selected;
#line 290 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp24_ < _tmp25_) {
#line 1367 "tracker-view.c"
		GdkColor _tmp26_ = {0};
		guint16 _tmp27_ = 0U;
		GtkStyle* _tmp28_ = NULL;
		GdkColor _tmp29_ = {0};
		guint16 _tmp30_ = 0U;
		GdkColor _tmp31_ = {0};
		guint16 _tmp32_ = 0U;
		GtkStyle* _tmp33_ = NULL;
		GdkColor _tmp34_ = {0};
		guint16 _tmp35_ = 0U;
		GdkColor _tmp36_ = {0};
		guint16 _tmp37_ = 0U;
		GtkStyle* _tmp38_ = NULL;
		GdkColor _tmp39_ = {0};
		guint16 _tmp40_ = 0U;
#line 292 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp26_ = color;
#line 292 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp27_ = _tmp26_.red;
#line 292 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp28_ = style;
#line 292 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp29_ = _tmp28_->white;
#line 292 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp30_ = _tmp29_.red;
#line 292 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		color.red = (guint16) ((_tmp27_ + _tmp30_) / 2);
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp31_ = color;
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp32_ = _tmp31_.green;
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp33_ = style;
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp34_ = _tmp33_->white;
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp35_ = _tmp34_.green;
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		color.green = (guint16) ((_tmp32_ + _tmp35_) / 2);
#line 294 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp36_ = color;
#line 294 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp37_ = _tmp36_.blue;
#line 294 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp38_ = style;
#line 294 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp39_ = _tmp38_->white;
#line 294 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp40_ = _tmp39_.blue;
#line 294 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		color.blue = (guint16) ((_tmp37_ + _tmp40_) / 2);
#line 1419 "tracker-view.c"
	} else {
		GdkColor _tmp41_ = {0};
		guint16 _tmp42_ = 0U;
		GtkStyle* _tmp43_ = NULL;
		GdkColor _tmp44_ = {0};
		guint16 _tmp45_ = 0U;
		GdkColor _tmp46_ = {0};
		guint16 _tmp47_ = 0U;
		GtkStyle* _tmp48_ = NULL;
		GdkColor _tmp49_ = {0};
		guint16 _tmp50_ = 0U;
		GdkColor _tmp51_ = {0};
		guint16 _tmp52_ = 0U;
		GtkStyle* _tmp53_ = NULL;
		GdkColor _tmp54_ = {0};
		guint16 _tmp55_ = 0U;
#line 297 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp41_ = color;
#line 297 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp42_ = _tmp41_.red;
#line 297 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp43_ = style;
#line 297 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp44_ = _tmp43_->black;
#line 297 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp45_ = _tmp44_.red;
#line 297 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		color.red = (guint16) ((_tmp42_ + _tmp45_) / 2);
#line 298 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp46_ = color;
#line 298 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp47_ = _tmp46_.green;
#line 298 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp48_ = style;
#line 298 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp49_ = _tmp48_->black;
#line 298 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp50_ = _tmp49_.green;
#line 298 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		color.green = (guint16) ((_tmp47_ + _tmp50_) / 2);
#line 299 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp51_ = color;
#line 299 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp52_ = _tmp51_.blue;
#line 299 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp53_ = style;
#line 299 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp54_ = _tmp53_->black;
#line 299 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp55_ = _tmp54_.blue;
#line 299 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		color.blue = (guint16) ((_tmp52_ + _tmp55_) / 2);
#line 1472 "tracker-view.c"
	}
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp56_ = tree_model;
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp57_ = *iter;
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp58_ = gtk_tree_model_get_path (_tmp56_, &_tmp57_);
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_gtk_tree_path_free0 (path);
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	path = _tmp58_;
#line 305 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp59_ = path;
#line 305 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp61_ = gtk_tree_path_get_indices_with_depth (_tmp59_, &_tmp60_);
#line 305 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp62_ = _tmp61_[0];
#line 305 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if ((_tmp62_ % 2) != 0) {
#line 1492 "tracker-view.c"
		GtkCellRenderer* _tmp63_ = NULL;
		GdkColor _tmp64_ = {0};
#line 306 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp63_ = cell;
#line 306 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp64_ = color;
#line 306 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_object_set ((GObject*) _tmp63_, "cell-background-gdk", &_tmp64_, NULL);
#line 1501 "tracker-view.c"
	} else {
		GtkCellRenderer* _tmp65_ = NULL;
#line 308 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp65_ = cell;
#line 308 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_object_set ((GObject*) _tmp65_, "cell-background-gdk", NULL, NULL);
#line 1508 "tracker-view.c"
	}
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_gtk_tree_path_free0 (path);
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (style);
#line 1514 "tracker-view.c"
}


static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
	gchar* result = NULL;
	GError * _inner_error_ = NULL;
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (old != NULL, NULL);
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (replacement != NULL, NULL);
#line 1527 "tracker-view.c"
	{
		GRegex* regex = NULL;
		const gchar* _tmp0_ = NULL;
		gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
		GRegex* _tmp3_ = NULL;
		GRegex* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		GRegex* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp0_ = old;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp1_ = g_regex_escape_string (_tmp0_, -1);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp1_;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp4_ = _tmp3_;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_g_free0 (_tmp2_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		regex = _tmp4_;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1558 "tracker-view.c"
				goto __catch31_g_regex_error;
			}
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			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 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			return NULL;
#line 1567 "tracker-view.c"
		}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp6_ = regex;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp7_ = replacement;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp5_ = _tmp8_;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1583 "tracker-view.c"
				goto __catch31_g_regex_error;
			}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			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 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
			return NULL;
#line 1594 "tracker-view.c"
		}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp9_ = _tmp5_;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp5_ = NULL;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		result = _tmp9_;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_g_free0 (_tmp5_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		return result;
#line 1608 "tracker-view.c"
	}
	goto __finally31;
	__catch31_g_regex_error:
	{
		GError* e = NULL;
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		e = _inner_error_;
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_inner_error_ = NULL;
#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		g_assert_not_reached ();
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_g_error_free0 (e);
#line 1622 "tracker-view.c"
	}
	__finally31:
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		g_clear_error (&_inner_error_);
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		return NULL;
#line 1633 "tracker-view.c"
	}
}


static void tracker_view_text_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter) {
	gchar* text = NULL;
	gchar* subtext = NULL;
	gchar* markup = NULL;
	gint n_children = 0;
	GtkCellLayout* _tmp0_ = NULL;
	GtkCellRenderer* _tmp1_ = NULL;
	GtkTreeModel* _tmp2_ = NULL;
	GtkTreeIter _tmp3_ = {0};
	GtkTreeModel* _tmp4_ = NULL;
	GtkTreeIter _tmp5_ = {0};
	gint _tmp6_ = 0;
	gint _tmp7_ = 0;
	GtkCellRenderer* _tmp48_ = NULL;
	const gchar* _tmp49_ = NULL;
#line 312 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 312 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell_layout != NULL);
#line 312 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell != NULL);
#line 312 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (tree_model != NULL);
#line 312 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (iter != NULL);
#line 317 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	markup = NULL;
#line 320 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = cell_layout;
#line 320 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = cell;
#line 320 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp2_ = tree_model;
#line 320 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp3_ = *iter;
#line 320 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_background_renderer_func (self, _tmp0_, _tmp1_, _tmp2_, &_tmp3_);
#line 321 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp4_ = tree_model;
#line 321 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp5_ = *iter;
#line 321 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp6_ = gtk_tree_model_iter_n_children (_tmp4_, &_tmp5_);
#line 321 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	n_children = _tmp6_;
#line 323 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp7_ = n_children;
#line 323 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp7_ > 0) {
#line 1687 "tracker-view.c"
		TrackerQueryType type = 0;
		gchar* cat = NULL;
		GtkTreeModel* _tmp8_ = NULL;
		GtkTreeIter _tmp9_ = {0};
		TrackerQueryType _tmp10_ = 0;
		const gchar* _tmp27_ = NULL;
		gint _tmp28_ = 0;
		const gchar* _tmp29_ = NULL;
		gchar* _tmp30_ = NULL;
#line 326 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		cat = NULL;
#line 328 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp8_ = tree_model;
#line 328 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp9_ = *iter;
#line 328 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		gtk_tree_model_get (_tmp8_, &_tmp9_, 7, &type, -1, -1);
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp10_ = type;
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		switch (_tmp10_) {
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			case TRACKER_QUERY_TYPE_APPLICATIONS:
#line 1711 "tracker-view.c"
			{
				const gchar* _tmp11_ = NULL;
				gchar* _tmp12_ = NULL;
#line 331 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp11_ = _ ("Applications");
#line 331 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp12_ = g_strdup (_tmp11_);
#line 331 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (cat);
#line 331 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				cat = _tmp12_;
#line 332 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 1725 "tracker-view.c"
			}
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			case TRACKER_QUERY_TYPE_MUSIC:
#line 1729 "tracker-view.c"
			{
				const gchar* _tmp13_ = NULL;
				gchar* _tmp14_ = NULL;
#line 334 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp13_ = _ ("Music");
#line 334 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp14_ = g_strdup (_tmp13_);
#line 334 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (cat);
#line 334 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				cat = _tmp14_;
#line 335 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 1743 "tracker-view.c"
			}
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			case TRACKER_QUERY_TYPE_IMAGES:
#line 1747 "tracker-view.c"
			{
				const gchar* _tmp15_ = NULL;
				gchar* _tmp16_ = NULL;
#line 337 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp15_ = _ ("Images");
#line 337 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp16_ = g_strdup (_tmp15_);
#line 337 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (cat);
#line 337 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				cat = _tmp16_;
#line 338 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 1761 "tracker-view.c"
			}
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			case TRACKER_QUERY_TYPE_VIDEOS:
#line 1765 "tracker-view.c"
			{
				const gchar* _tmp17_ = NULL;
				gchar* _tmp18_ = NULL;
#line 340 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp17_ = _ ("Videos");
#line 340 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp18_ = g_strdup (_tmp17_);
#line 340 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (cat);
#line 340 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				cat = _tmp18_;
#line 341 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 1779 "tracker-view.c"
			}
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			case TRACKER_QUERY_TYPE_DOCUMENTS:
#line 1783 "tracker-view.c"
			{
				const gchar* _tmp19_ = NULL;
				gchar* _tmp20_ = NULL;
#line 343 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp19_ = _ ("Documents");
#line 343 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp20_ = g_strdup (_tmp19_);
#line 343 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (cat);
#line 343 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				cat = _tmp20_;
#line 344 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 1797 "tracker-view.c"
			}
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			case TRACKER_QUERY_TYPE_MAIL:
#line 1801 "tracker-view.c"
			{
				const gchar* _tmp21_ = NULL;
				gchar* _tmp22_ = NULL;
#line 346 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp21_ = _ ("Mail");
#line 346 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp22_ = g_strdup (_tmp21_);
#line 346 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (cat);
#line 346 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				cat = _tmp22_;
#line 347 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 1815 "tracker-view.c"
			}
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			case TRACKER_QUERY_TYPE_FOLDERS:
#line 1819 "tracker-view.c"
			{
				const gchar* _tmp23_ = NULL;
				gchar* _tmp24_ = NULL;
#line 349 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp23_ = _ ("Folders");
#line 349 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp24_ = g_strdup (_tmp23_);
#line 349 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (cat);
#line 349 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				cat = _tmp24_;
#line 350 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 1833 "tracker-view.c"
			}
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			case TRACKER_QUERY_TYPE_BOOKMARKS:
#line 1837 "tracker-view.c"
			{
				const gchar* _tmp25_ = NULL;
				gchar* _tmp26_ = NULL;
#line 352 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp25_ = _ ("Bookmarks");
#line 352 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp26_ = g_strdup (_tmp25_);
#line 352 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (cat);
#line 352 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				cat = _tmp26_;
#line 353 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				break;
#line 1851 "tracker-view.c"
			}
			default:
#line 329 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 1856 "tracker-view.c"
		}
#line 356 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp27_ = cat;
#line 356 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp28_ = n_children;
#line 356 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp29_ = _ ("Items");
#line 356 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp30_ = g_strdup_printf ("<b><big>%s</big></b> <small>(%d %s)</small>", _tmp27_, _tmp28_, _tmp29_);
#line 356 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_free0 (markup);
#line 356 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		markup = _tmp30_;
#line 323 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_free0 (cat);
#line 1872 "tracker-view.c"
	} else {
		GtkTreeModel* _tmp31_ = NULL;
		GtkTreeIter _tmp32_ = {0};
		const gchar* _tmp33_ = NULL;
#line 359 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp31_ = tree_model;
#line 359 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp32_ = *iter;
#line 359 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		gtk_tree_model_get (_tmp31_, &_tmp32_, 2, &text, 3, &subtext, -1, -1);
#line 361 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp33_ = text;
#line 361 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		if (_tmp33_ != NULL) {
#line 1887 "tracker-view.c"
			const gchar* _tmp34_ = NULL;
			gchar* _tmp35_ = NULL;
			const gchar* _tmp36_ = NULL;
#line 362 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp34_ = text;
#line 362 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp35_ = g_markup_escape_text (_tmp34_, (gssize) -1);
#line 362 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (markup);
#line 362 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			markup = _tmp35_;
#line 364 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp36_ = subtext;
#line 364 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			if (_tmp36_ != NULL) {
#line 1903 "tracker-view.c"
				const gchar* _tmp37_ = NULL;
				gchar* _tmp38_ = NULL;
				const gchar* _tmp39_ = NULL;
				const gchar* _tmp40_ = NULL;
				gchar* _tmp41_ = NULL;
				gchar* _tmp42_ = NULL;
				gchar* _tmp43_ = NULL;
				gchar* _tmp44_ = NULL;
				gchar* _tmp45_ = NULL;
#line 365 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp37_ = subtext;
#line 365 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp38_ = string_replace (_tmp37_, "\n", " ");
#line 365 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (subtext);
#line 365 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				subtext = _tmp38_;
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp39_ = markup;
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp40_ = subtext;
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp41_ = g_markup_escape_text (_tmp40_, (gssize) -1);
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp42_ = _tmp41_;
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp43_ = g_strdup_printf ("\n<small><span color='grey'>%s</span></small>", _tmp42_);
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp44_ = _tmp43_;
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_tmp45_ = g_strconcat (_tmp39_, _tmp44_, NULL);
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (markup);
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				markup = _tmp45_;
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (_tmp44_);
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
				_g_free0 (_tmp42_);
#line 1943 "tracker-view.c"
			}
		} else {
			const gchar* _tmp46_ = NULL;
			gchar* _tmp47_ = NULL;
#line 369 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp46_ = _ ("Loading…");
#line 369 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp47_ = g_strdup_printf ("<span color='grey'>%s</span>\n", _tmp46_);
#line 369 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (markup);
#line 369 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			markup = _tmp47_;
#line 1956 "tracker-view.c"
		}
	}
#line 373 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp48_ = cell;
#line 373 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp49_ = markup;
#line 373 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_set ((GObject*) _tmp48_, "markup", _tmp49_, NULL);
#line 312 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_free0 (markup);
#line 312 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_free0 (subtext);
#line 312 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_free0 (text);
#line 1971 "tracker-view.c"
}


static void tracker_view_file_size_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter) {
	gchar* size = NULL;
	GtkCellLayout* _tmp0_ = NULL;
	GtkCellRenderer* _tmp1_ = NULL;
	GtkTreeModel* _tmp2_ = NULL;
	GtkTreeIter _tmp3_ = {0};
	GtkTreeModel* _tmp4_ = NULL;
	GtkTreeIter _tmp5_ = {0};
	const gchar* _tmp6_ = NULL;
	GtkCellRenderer* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
#line 376 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 376 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell_layout != NULL);
#line 376 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell != NULL);
#line 376 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (tree_model != NULL);
#line 376 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (iter != NULL);
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = cell_layout;
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = cell;
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp2_ = tree_model;
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp3_ = *iter;
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_background_renderer_func (self, _tmp0_, _tmp1_, _tmp2_, &_tmp3_);
#line 383 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp4_ = tree_model;
#line 383 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp5_ = *iter;
#line 383 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_tree_model_get (_tmp4_, &_tmp5_, 4, &size, -1, -1);
#line 385 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp6_ = size;
#line 385 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp6_ != NULL) {
#line 2016 "tracker-view.c"
		const gchar* _tmp7_ = NULL;
		gint _tmp8_ = 0;
		gchar* _tmp9_ = NULL;
#line 386 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp7_ = size;
#line 386 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp8_ = atoi (_tmp7_);
#line 386 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp9_ = g_format_size_full ((guint64) _tmp8_, G_FORMAT_SIZE_DEFAULT);
#line 386 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_free0 (size);
#line 386 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		size = _tmp9_;
#line 2030 "tracker-view.c"
	}
#line 389 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp10_ = cell;
#line 389 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp11_ = size;
#line 389 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_set ((GObject*) _tmp10_, "text", _tmp11_, NULL);
#line 376 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_free0 (size);
#line 2040 "tracker-view.c"
}


static void tracker_view_file_date_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter) {
	gchar* date = NULL;
	GtkCellLayout* _tmp0_ = NULL;
	GtkCellRenderer* _tmp1_ = NULL;
	GtkTreeModel* _tmp2_ = NULL;
	GtkTreeIter _tmp3_ = {0};
	GtkTreeModel* _tmp4_ = NULL;
	GtkTreeIter _tmp5_ = {0};
	const gchar* _tmp6_ = NULL;
	GtkCellRenderer* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
#line 392 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 392 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell_layout != NULL);
#line 392 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell != NULL);
#line 392 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (tree_model != NULL);
#line 392 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (iter != NULL);
#line 398 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = cell_layout;
#line 398 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = cell;
#line 398 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp2_ = tree_model;
#line 398 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp3_ = *iter;
#line 398 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_background_renderer_func (self, _tmp0_, _tmp1_, _tmp2_, &_tmp3_);
#line 399 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp4_ = tree_model;
#line 399 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp5_ = *iter;
#line 399 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_tree_model_get (_tmp4_, &_tmp5_, 5, &date, -1, -1);
#line 401 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp6_ = date;
#line 401 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp6_ != NULL) {
#line 2085 "tracker-view.c"
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
#line 402 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp7_ = date;
#line 402 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp8_ = tracker_time_format_from_iso8601 (_tmp7_);
#line 402 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_free0 (date);
#line 402 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		date = _tmp8_;
#line 2096 "tracker-view.c"
	}
#line 405 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp9_ = cell;
#line 405 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp10_ = date;
#line 405 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_set ((GObject*) _tmp9_, "text", _tmp10_, NULL);
#line 392 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_free0 (date);
#line 2106 "tracker-view.c"
}


static void tracker_view_category_detail_renderer_func (TrackerView* self, GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter) {
	TrackerQueryType category = 0;
	gchar* markup = NULL;
	gchar* detail = NULL;
	GtkCellLayout* _tmp0_ = NULL;
	GtkCellRenderer* _tmp1_ = NULL;
	GtkTreeModel* _tmp2_ = NULL;
	GtkTreeIter _tmp3_ = {0};
	GtkTreeModel* _tmp4_ = NULL;
	GtkTreeIter _tmp5_ = {0};
	const gchar* _tmp6_ = NULL;
	TrackerQueryType _tmp8_ = 0;
	const gchar* _tmp22_ = NULL;
	gchar* _tmp23_ = NULL;
	gchar* _tmp24_ = NULL;
	gchar* _tmp25_ = NULL;
	GtkCellRenderer* _tmp26_ = NULL;
	const gchar* _tmp27_ = NULL;
#line 408 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 408 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell_layout != NULL);
#line 408 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (cell != NULL);
#line 408 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (tree_model != NULL);
#line 408 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (iter != NULL);
#line 413 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	markup = NULL;
#line 416 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = cell_layout;
#line 416 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = cell;
#line 416 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp2_ = tree_model;
#line 416 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp3_ = *iter;
#line 416 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_background_renderer_func (self, _tmp0_, _tmp1_, _tmp2_, &_tmp3_);
#line 417 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp4_ = tree_model;
#line 417 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp5_ = *iter;
#line 417 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_tree_model_get (_tmp4_, &_tmp5_, 4, &detail, 7, &category, -1, -1);
#line 419 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp6_ = detail;
#line 419 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp6_ == NULL) {
#line 2160 "tracker-view.c"
		GtkCellRenderer* _tmp7_ = NULL;
#line 420 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp7_ = cell;
#line 420 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_object_set ((GObject*) _tmp7_, "markup", NULL, NULL);
#line 421 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_free0 (detail);
#line 421 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_free0 (markup);
#line 421 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		return;
#line 2172 "tracker-view.c"
	}
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp8_ = category;
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	switch (_tmp8_) {
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_QUERY_TYPE_FOLDERS:
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_QUERY_TYPE_MAIL:
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_QUERY_TYPE_BOOKMARKS:
#line 2184 "tracker-view.c"
		{
			const gchar* _tmp9_ = NULL;
			gchar* _tmp10_ = NULL;
#line 428 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp9_ = detail;
#line 428 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp10_ = tracker_time_format_from_iso8601 (_tmp9_);
#line 428 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (detail);
#line 428 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			detail = _tmp10_;
#line 429 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 2198 "tracker-view.c"
		}
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_QUERY_TYPE_MUSIC:
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_QUERY_TYPE_VIDEOS:
#line 2204 "tracker-view.c"
		{
			const gchar* _tmp11_ = NULL;
			gchar* _tmp12_ = NULL;
#line 432 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp11_ = detail;
#line 432 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp12_ = tracker_time_format_from_seconds (_tmp11_);
#line 432 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (detail);
#line 432 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			detail = _tmp12_;
#line 433 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 2218 "tracker-view.c"
		}
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_QUERY_TYPE_DOCUMENTS:
#line 2222 "tracker-view.c"
		{
			const gchar* _tmp13_ = NULL;
			gint _tmp14_ = 0;
			const gchar* _tmp15_ = NULL;
			const gchar* _tmp16_ = NULL;
			gint _tmp17_ = 0;
			gchar* _tmp18_ = NULL;
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp13_ = detail;
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp14_ = atoi (_tmp13_);
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp15_ = ngettext ("%d Page", "%d Pages", (gulong) _tmp14_);
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp16_ = detail;
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp17_ = atoi (_tmp16_);
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp18_ = g_strdup_printf (_tmp15_, _tmp17_);
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (detail);
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			detail = _tmp18_;
#line 436 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 2248 "tracker-view.c"
		}
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_QUERY_TYPE_IMAGES:
#line 2252 "tracker-view.c"
		{
			const gchar* _tmp19_ = NULL;
			gint _tmp20_ = 0;
			gchar* _tmp21_ = NULL;
#line 438 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp19_ = detail;
#line 438 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp20_ = atoi (_tmp19_);
#line 438 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp21_ = g_format_size_full ((guint64) _tmp20_, G_FORMAT_SIZE_DEFAULT);
#line 438 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_free0 (detail);
#line 438 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			detail = _tmp21_;
#line 439 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 2269 "tracker-view.c"
		}
		default:
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		break;
#line 2274 "tracker-view.c"
	}
#line 442 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp22_ = detail;
#line 442 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp23_ = g_markup_escape_text (_tmp22_, (gssize) -1);
#line 442 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp24_ = _tmp23_;
#line 442 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp25_ = g_strdup_printf ("<span color='grey'><small>%s</small></span>", _tmp24_);
#line 442 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_free0 (markup);
#line 442 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	markup = _tmp25_;
#line 442 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_free0 (_tmp24_);
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp26_ = cell;
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp27_ = markup;
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_set ((GObject*) _tmp26_, "markup", _tmp27_, NULL);
#line 408 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_free0 (detail);
#line 408 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_free0 (markup);
#line 2300 "tracker-view.c"
}


static gboolean _tracker_view_view_button_press_event_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
	gboolean result;
	result = tracker_view_view_button_press_event ((TrackerView*) self, _sender, event);
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return result;
#line 2309 "tracker-view.c"
}


static void _tracker_view_context_menu_directory_clicked_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 453 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_context_menu_directory_clicked ((TrackerView*) self);
#line 2316 "tracker-view.c"
}


static void _tracker_view_context_menu_tags_clicked_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 460 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_context_menu_tags_clicked ((TrackerView*) self);
#line 2323 "tracker-view.c"
}


static void tracker_view_setup_menus (TrackerView* self) {
	GtkWidget* _tmp0_ = NULL;
	GtkMenu* _tmp1_ = NULL;
	GtkMenuItem* item = NULL;
	const gchar* _tmp2_ = NULL;
	GtkMenuItem* _tmp3_ = NULL;
	GtkMenuItem* _tmp4_ = NULL;
	GtkMenu* _tmp5_ = NULL;
	GtkMenuItem* _tmp6_ = NULL;
	GtkSeparatorMenuItem* separator = NULL;
	GtkSeparatorMenuItem* _tmp7_ = NULL;
	GtkMenu* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	GtkMenuItem* _tmp10_ = NULL;
	GtkMenuItem* _tmp11_ = NULL;
	GtkMenu* _tmp12_ = NULL;
	GtkMenuItem* _tmp13_ = NULL;
	GtkMenu* _tmp14_ = NULL;
#line 446 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = self->priv->view;
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_signal_connect_object (_tmp0_, "button-press-event", (GCallback) _tracker_view_view_button_press_event_gtk_widget_button_press_event, self, 0);
#line 450 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = (GtkMenu*) gtk_menu_new ();
#line 450 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_ref_sink (_tmp1_);
#line 450 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (self->priv->context_menu);
#line 450 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	self->priv->context_menu = _tmp1_;
#line 452 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp2_ = _ ("_Show Parent Directory");
#line 452 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp3_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_tmp2_);
#line 452 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_ref_sink (_tmp3_);
#line 452 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	item = _tmp3_;
#line 453 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp4_ = item;
#line 453 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_signal_connect_object (_tmp4_, "activate", (GCallback) _tracker_view_context_menu_directory_clicked_gtk_menu_item_activate, self, 0);
#line 454 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp5_ = self->priv->context_menu;
#line 454 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp6_ = item;
#line 454 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_menu_shell_append ((GtkMenuShell*) _tmp5_, (GtkWidget*) _tmp6_);
#line 456 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp7_ = (GtkSeparatorMenuItem*) gtk_separator_menu_item_new ();
#line 456 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_ref_sink (_tmp7_);
#line 456 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	separator = _tmp7_;
#line 457 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp8_ = self->priv->context_menu;
#line 457 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_menu_shell_append ((GtkMenuShell*) _tmp8_, (GtkWidget*) ((GtkMenuItem*) separator));
#line 459 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp9_ = _ ("_Tags…");
#line 459 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp10_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_tmp9_);
#line 459 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_ref_sink (_tmp10_);
#line 459 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (item);
#line 459 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	item = _tmp10_;
#line 460 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp11_ = item;
#line 460 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_signal_connect_object (_tmp11_, "activate", (GCallback) _tracker_view_context_menu_tags_clicked_gtk_menu_item_activate, self, 0);
#line 461 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp12_ = self->priv->context_menu;
#line 461 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp13_ = item;
#line 461 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_menu_shell_append ((GtkMenuShell*) _tmp12_, (GtkWidget*) _tmp13_);
#line 463 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp14_ = self->priv->context_menu;
#line 463 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp14_);
#line 446 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (separator);
#line 446 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (item);
#line 2415 "tracker-view.c"
}


static gboolean tracker_view_view_button_press_event (TrackerView* self, GtkWidget* widget, GdkEventButton* event) {
	gboolean result = FALSE;
	GdkEventButton* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
#line 466 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 466 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 466 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 467 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = event;
#line 467 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = _tmp0_->button;
#line 467 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp1_ == ((guint) 3)) {
#line 2435 "tracker-view.c"
		GtkTreePath* _tmp2_ = NULL;
		GtkTreePath* _tmp3_ = NULL;
		gboolean _tmp4_ = FALSE;
#line 468 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp2_ = tracker_view_get_selected_path (self);
#line 468 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp3_ = _tmp2_;
#line 468 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp4_ = _tmp3_ != NULL;
#line 468 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_gtk_tree_path_free0 (_tmp3_);
#line 468 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		if (_tmp4_) {
#line 2449 "tracker-view.c"
			GtkMenu* _tmp5_ = NULL;
			GdkEventButton* _tmp6_ = NULL;
			guint _tmp7_ = 0U;
			GdkEventButton* _tmp8_ = NULL;
			guint32 _tmp9_ = 0U;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp5_ = self->priv->context_menu;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp6_ = event;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp7_ = _tmp6_->button;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp8_ = event;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp9_ = _tmp8_->time;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			gtk_menu_popup (_tmp5_, NULL, NULL, NULL, NULL, _tmp7_, _tmp9_);
#line 2467 "tracker-view.c"
		}
	}
#line 473 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	result = FALSE;
#line 473 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return result;
#line 2474 "tracker-view.c"
}


static GtkTreeModel* tracker_view_get_model (TrackerView* self) {
	GtkTreeModel* result = NULL;
	TrackerViewDisplay _tmp0_ = 0;
#line 476 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 477 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = self->priv->_display;
#line 477 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	switch (_tmp0_) {
#line 477 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_CATEGORIES:
#line 477 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_FILE_LIST:
#line 2491 "tracker-view.c"
		{
			GtkTreeView* v = NULL;
			GtkWidget* _tmp1_ = NULL;
			GtkTreeView* _tmp2_ = NULL;
			GtkTreeView* _tmp3_ = NULL;
			GtkTreeModel* _tmp4_ = NULL;
			GtkTreeModel* _tmp5_ = NULL;
#line 480 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp1_ = self->priv->view;
#line 480 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_tree_view_get_type (), GtkTreeView));
#line 480 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			v = _tmp2_;
#line 481 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp3_ = v;
#line 481 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp4_ = gtk_tree_view_get_model (_tmp3_);
#line 481 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp5_ = _g_object_ref0 (_tmp4_);
#line 481 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			result = _tmp5_;
#line 481 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (v);
#line 481 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			return result;
#line 2517 "tracker-view.c"
		}
#line 477 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_FILE_ICONS:
#line 2521 "tracker-view.c"
		{
			GtkIconView* v = NULL;
			GtkWidget* _tmp6_ = NULL;
			GtkIconView* _tmp7_ = NULL;
			GtkIconView* _tmp8_ = NULL;
			GtkTreeModel* _tmp9_ = NULL;
			GtkTreeModel* _tmp10_ = NULL;
#line 484 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp6_ = self->priv->view;
#line 484 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_icon_view_get_type (), GtkIconView));
#line 484 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			v = _tmp7_;
#line 485 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp8_ = v;
#line 485 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp9_ = gtk_icon_view_get_model (_tmp8_);
#line 485 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp10_ = _g_object_ref0 (_tmp9_);
#line 485 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			result = _tmp10_;
#line 485 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (v);
#line 485 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			return result;
#line 2547 "tracker-view.c"
		}
		default:
		{
#line 487 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 2553 "tracker-view.c"
		}
	}
#line 490 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	result = NULL;
#line 490 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return result;
#line 2560 "tracker-view.c"
}


static gpointer _gtk_tree_path_copy0 (gpointer self) {
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return self ? gtk_tree_path_copy (self) : NULL;
#line 2567 "tracker-view.c"
}


static void _gtk_tree_path_free0_ (gpointer var) {
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	(var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL));
#line 2574 "tracker-view.c"
}


static void _g_list_free__gtk_tree_path_free0_ (GList* self) {
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_list_foreach (self, (GFunc) _gtk_tree_path_free0_, NULL);
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_list_free (self);
#line 2583 "tracker-view.c"
}


static GtkTreePath* tracker_view_get_selected_path (TrackerView* self) {
	GtkTreePath* result = NULL;
	TrackerViewDisplay _tmp0_ = 0;
#line 493 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 494 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = self->priv->_display;
#line 494 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	switch (_tmp0_) {
#line 494 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_CATEGORIES:
#line 494 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_FILE_LIST:
#line 2600 "tracker-view.c"
		{
			GtkTreeView* v = NULL;
			GtkWidget* _tmp1_ = NULL;
			GtkTreeView* _tmp2_ = NULL;
			GtkTreeSelection* s = NULL;
			GtkTreeView* _tmp3_ = NULL;
			GtkTreeSelection* _tmp4_ = NULL;
			GtkTreeSelection* _tmp5_ = NULL;
			GList* selected = NULL;
			GtkTreeSelection* _tmp6_ = NULL;
			GList* _tmp7_ = NULL;
			GList* _tmp8_ = NULL;
			gconstpointer _tmp9_ = NULL;
			GtkTreePath* _tmp10_ = NULL;
#line 497 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp1_ = self->priv->view;
#line 497 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_tree_view_get_type (), GtkTreeView));
#line 497 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			v = _tmp2_;
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp3_ = v;
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp4_ = gtk_tree_view_get_selection (_tmp3_);
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp5_ = _g_object_ref0 (_tmp4_);
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			s = _tmp5_;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp6_ = s;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp7_ = gtk_tree_selection_get_selected_rows (_tmp6_, NULL);
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			selected = _tmp7_;
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp8_ = selected;
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp9_ = g_list_nth_data (_tmp8_, (guint) 0);
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp10_ = _gtk_tree_path_copy0 ((GtkTreePath*) _tmp9_);
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			result = _tmp10_;
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			__g_list_free__gtk_tree_path_free0_0 (selected);
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (s);
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (v);
#line 501 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			return result;
#line 2651 "tracker-view.c"
		}
#line 494 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY_FILE_ICONS:
#line 2655 "tracker-view.c"
		{
			GtkIconView* v = NULL;
			GtkWidget* _tmp11_ = NULL;
			GtkIconView* _tmp12_ = NULL;
			GList* selected = NULL;
			GtkIconView* _tmp13_ = NULL;
			GList* _tmp14_ = NULL;
			GList* _tmp15_ = NULL;
			gconstpointer _tmp16_ = NULL;
			GtkTreePath* _tmp17_ = NULL;
#line 504 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp11_ = self->priv->view;
#line 504 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp12_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_icon_view_get_type (), GtkIconView));
#line 504 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			v = _tmp12_;
#line 505 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp13_ = v;
#line 505 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp14_ = gtk_icon_view_get_selected_items (_tmp13_);
#line 505 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			selected = _tmp14_;
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp15_ = selected;
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp16_ = g_list_nth_data (_tmp15_, (guint) 0);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_tmp17_ = _gtk_tree_path_copy0 ((GtkTreePath*) _tmp16_);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			result = _tmp17_;
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			__g_list_free__gtk_tree_path_free0_0 (selected);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			_g_object_unref0 (v);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			return result;
#line 2692 "tracker-view.c"
		}
		default:
		{
#line 510 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
			break;
#line 2698 "tracker-view.c"
		}
	}
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	result = NULL;
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return result;
#line 2705 "tracker-view.c"
}


static void tracker_view_context_menu_directory_clicked (TrackerView* self) {
	GtkTreeModel* model = NULL;
	GtkTreeModel* _tmp0_ = NULL;
	GtkTreePath* path = NULL;
	GtkTreePath* _tmp1_ = NULL;
#line 516 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 517 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = tracker_view_get_model (self);
#line 517 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	model = _tmp0_;
#line 518 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = tracker_view_get_selected_path (self);
#line 518 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	path = _tmp1_;
#line 520 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_model_launch_selected_parent_dir (model, path, 1);
#line 516 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_gtk_tree_path_free0 (path);
#line 516 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (model);
#line 2730 "tracker-view.c"
}


static Block5Data* block5_data_ref (Block5Data* _data5_) {
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_atomic_int_inc (&_data5_->_ref_count_);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return _data5_;
#line 2739 "tracker-view.c"
}


static void block5_data_unref (void * _userdata_) {
	Block5Data* _data5_;
	_data5_ = (Block5Data*) _userdata_;
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
#line 2748 "tracker-view.c"
		TrackerView* self;
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		self = _data5_->self;
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_object_unref0 (_data5_->dialog);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_object_unref0 (self);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_slice_free (Block5Data, _data5_);
#line 2758 "tracker-view.c"
	}
}


static void __lambda7_ (Block5Data* _data5_) {
	TrackerView* self;
	GtkDialog* _tmp0_ = NULL;
#line 546 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	self = _data5_->self;
#line 547 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = _data5_->dialog;
#line 547 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp0_);
#line 2772 "tracker-view.c"
}


static void ___lambda7__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 546 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	__lambda7_ (self);
#line 2779 "tracker-view.c"
}


static void _g_free0_ (gpointer var) {
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	var = (g_free (var), NULL);
#line 2786 "tracker-view.c"
}


static void _g_list_free__g_free0_ (GList* self) {
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_list_foreach (self, (GFunc) _g_free0_, NULL);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_list_free (self);
#line 2795 "tracker-view.c"
}


static void tracker_view_context_menu_tags_clicked (TrackerView* self) {
	Block5Data* _data5_;
	GtkTreeModel* model = NULL;
	GtkTreeModel* _tmp0_ = NULL;
	GtkTreePath* path = NULL;
	GtkTreePath* _tmp1_ = NULL;
	GtkTreeIter iter = {0};
	GtkTreeModel* _tmp2_ = NULL;
	GtkTreePath* _tmp3_ = NULL;
	GtkTreeIter _tmp4_ = {0};
	const gchar* uri = NULL;
	GtkTreeModel* _tmp5_ = NULL;
	GtkTreeIter _tmp6_ = {0};
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	GtkWidget* _tmp10_ = NULL;
	GtkDialog* _tmp11_ = NULL;
	GtkDialog* _tmp12_ = NULL;
	GtkDialog* _tmp13_ = NULL;
	GtkDialog* _tmp14_ = NULL;
	GList* files = NULL;
	const gchar* _tmp15_ = NULL;
	gchar* _tmp16_ = NULL;
	GtkBox* vbox = NULL;
	GList* _tmp17_ = NULL;
	TrackerTagsView* _tmp18_ = NULL;
	GtkBox* content = NULL;
	GtkDialog* _tmp19_ = NULL;
	GtkBox* _tmp20_ = NULL;
	GtkBox* _tmp21_ = NULL;
	GtkBox* _tmp22_ = NULL;
	GtkBox* _tmp23_ = NULL;
	GtkBox* _tmp24_ = NULL;
	GtkDialog* _tmp25_ = NULL;
	GtkDialog* _tmp26_ = NULL;
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_data5_ = g_slice_new0 (Block5Data);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_data5_->_ref_count_ = 1;
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_data5_->self = g_object_ref (self);
#line 524 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = tracker_view_get_model (self);
#line 524 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	model = _tmp0_;
#line 525 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp1_ = tracker_view_get_selected_path (self);
#line 525 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	path = _tmp1_;
#line 527 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp2_ = model;
#line 527 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp3_ = path;
#line 527 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_tree_model_get_iter (_tmp2_, &_tmp4_, _tmp3_);
#line 527 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	iter = _tmp4_;
#line 530 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp5_ = model;
#line 530 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp6_ = iter;
#line 530 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_tree_model_get (_tmp5_, &_tmp6_, 1, &uri, -1);
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp7_ = uri;
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp7_ == NULL) {
#line 533 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_gtk_tree_path_free0 (path);
#line 533 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_g_object_unref0 (model);
#line 533 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		block5_data_unref (_data5_);
#line 533 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_data5_ = NULL;
#line 533 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		return;
#line 2879 "tracker-view.c"
	}
#line 536 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp8_ = uri;
#line 536 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_debug ("tracker-view.vala:536: Showing tags dialog for uri:'%s'", _tmp8_);
#line 539 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp9_ = _ ("Tags");
#line 539 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp10_ = gtk_widget_get_toplevel ((GtkWidget*) self);
#line 539 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp11_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, "_Close", GTK_RESPONSE_CLOSE, NULL, NULL);
#line 539 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_ref_sink (_tmp11_);
#line 539 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_data5_->dialog = _tmp11_;
#line 544 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp12_ = _data5_->dialog;
#line 544 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_window_set_default_size ((GtkWindow*) _tmp12_, 400, 300);
#line 545 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp13_ = _data5_->dialog;
#line 545 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp13_, (guint) 12);
#line 546 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp14_ = _data5_->dialog;
#line 546 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_signal_connect_data (_tmp14_, "response", (GCallback) ___lambda7__gtk_dialog_response, block5_data_ref (_data5_), (GClosureNotify) block5_data_unref, 0);
#line 550 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	files = NULL;
#line 551 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp15_ = uri;
#line 551 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp16_ = g_strdup (_tmp15_);
#line 551 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	files = g_list_prepend (files, _tmp16_);
#line 552 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp17_ = files;
#line 552 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	files = NULL;
#line 552 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp18_ = tracker_tags_view_new (_tmp17_);
#line 552 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_ref_sink (_tmp18_);
#line 552 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	vbox = (GtkBox*) _tmp18_;
#line 554 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp19_ = _data5_->dialog;
#line 554 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp20_ = (GtkBox*) gtk_dialog_get_content_area (_tmp19_);
#line 554 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp21_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp20_, gtk_box_get_type ()) ? ((GtkBox*) _tmp20_) : NULL);
#line 554 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	content = _tmp21_;
#line 555 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp22_ = content;
#line 555 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp23_ = vbox;
#line 555 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_box_pack_start (_tmp22_, (GtkWidget*) _tmp23_, TRUE, TRUE, (guint) 6);
#line 556 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp24_ = content;
#line 556 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_box_set_spacing (_tmp24_, 10);
#line 558 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp25_ = _data5_->dialog;
#line 558 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget));
#line 559 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp26_ = _data5_->dialog;
#line 559 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	gtk_dialog_run (_tmp26_);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (content);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (vbox);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	__g_list_free__g_free0_0 (files);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_gtk_tree_path_free0 (path);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (model);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	block5_data_unref (_data5_);
#line 523 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_data5_ = NULL;
#line 2965 "tracker-view.c"
}


TrackerViewDisplay tracker_view_get_display (TrackerView* self) {
	TrackerViewDisplay result;
	TrackerViewDisplay _tmp0_ = 0;
#line 31 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 31 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = self->priv->_display;
#line 31 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	result = _tmp0_;
#line 31 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return result;
#line 2980 "tracker-view.c"
}


static void tracker_view_set_display (TrackerView* self, TrackerViewDisplay value) {
	TrackerViewDisplay _tmp0_ = 0;
#line 32 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 32 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = value;
#line 32 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	self->priv->_display = _tmp0_;
#line 32 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_notify ((GObject *) self, "display");
#line 2994 "tracker-view.c"
}


TrackerResultStore* tracker_view_get_store (TrackerView* self) {
	TrackerResultStore* result;
	TrackerResultStore* _tmp0_ = NULL;
#line 37 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = self->priv->_store;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	result = _tmp0_;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	return result;
#line 3009 "tracker-view.c"
}


void tracker_view_set_store (TrackerView* self, TrackerResultStore* value) {
	TrackerResultStore* _tmp0_ = NULL;
	TrackerResultStore* _tmp3_ = NULL;
	TrackerResultStore* _tmp4_ = NULL;
	TrackerResultStore* _tmp5_ = NULL;
	TrackerViewDisplay _tmp8_ = 0;
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_return_if_fail (self != NULL);
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp0_ = self->priv->_store;
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp0_ != NULL) {
#line 3025 "tracker-view.c"
		TrackerResultStore* _tmp1_ = NULL;
		guint _tmp2_ = 0U;
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp1_ = self->priv->_store;
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_signal_parse_name ("row-changed", GTK_TYPE_TREE_MODEL, &_tmp2_, NULL, FALSE);
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_signal_handlers_disconnect_matched ((GtkTreeModel*) _tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _tracker_view_store_row_changed_gtk_tree_model_row_changed, self);
#line 3034 "tracker-view.c"
	}
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp3_ = value;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (self->priv->_store);
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	self->priv->_store = _tmp4_;
#line 47 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp5_ = self->priv->_store;
#line 47 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp5_ != NULL) {
#line 3048 "tracker-view.c"
		TrackerResultStore* _tmp6_ = NULL;
		TrackerResultStore* _tmp7_ = NULL;
#line 48 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp6_ = self->priv->_store;
#line 48 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_debug ("tracker-view.vala:48: using store:%p", _tmp6_);
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp7_ = self->priv->_store;
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_signal_connect_object ((GtkTreeModel*) _tmp7_, "row-changed", (GCallback) _tracker_view_store_row_changed_gtk_tree_model_row_changed, self, 0);
#line 3059 "tracker-view.c"
	}
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_tmp8_ = self->priv->_display;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	if (_tmp8_ != TRACKER_VIEW_DISPLAY_FILE_ICONS) {
#line 3065 "tracker-view.c"
		GtkWidget* _tmp9_ = NULL;
		TrackerResultStore* _tmp10_ = NULL;
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp9_ = self->priv->view;
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp10_ = self->priv->_store;
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		gtk_tree_view_set_model (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_tree_view_get_type (), GtkTreeView), (GtkTreeModel*) _tmp10_);
#line 3074 "tracker-view.c"
	} else {
		GtkWidget* _tmp11_ = NULL;
		TrackerResultStore* _tmp12_ = NULL;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp11_ = self->priv->view;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		_tmp12_ = self->priv->_store;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		gtk_icon_view_set_model (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_icon_view_get_type (), GtkIconView), (GtkTreeModel*) _tmp12_);
#line 3084 "tracker-view.c"
	}
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_notify ((GObject *) self, "store");
#line 3088 "tracker-view.c"
}


static void tracker_view_class_init (TrackerViewClass * klass) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	tracker_view_parent_class = g_type_class_peek_parent (klass);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_type_class_add_private (klass, sizeof (TrackerViewPrivate));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	((GtkWidgetClass *) klass)->unmap = tracker_view_real_unmap;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_tracker_view_get_property;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_tracker_view_set_property;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_view_finalize;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_VIEW_DISPLAY, g_param_spec_enum ("display", "display", "display", TRACKER_VIEW_TYPE_DISPLAY, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_VIEW_STORE, g_param_spec_object ("store", "store", "store", TRACKER_TYPE_RESULT_STORE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 3109 "tracker-view.c"
}


static void tracker_view_instance_init (TrackerView * self) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	self->priv = TRACKER_VIEW_GET_PRIVATE (self);
#line 60 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	self->priv->view = NULL;
#line 3118 "tracker-view.c"
}


static void tracker_view_finalize (GObject* obj) {
	TrackerView * self;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_TYPE_VIEW, TrackerView);
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (self->priv->_store);
#line 60 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (self->priv->view);
#line 61 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	_g_object_unref0 (self->priv->context_menu);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	G_OBJECT_CLASS (tracker_view_parent_class)->finalize (obj);
#line 3134 "tracker-view.c"
}


GType tracker_view_get_type (void) {
	static volatile gsize tracker_view_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_view_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerView), 0, (GInstanceInitFunc) tracker_view_instance_init, NULL };
		GType tracker_view_type_id;
		tracker_view_type_id = g_type_register_static (gtk_scrolled_window_get_type (), "TrackerView", &g_define_type_info, 0);
		g_once_init_leave (&tracker_view_type_id__volatile, tracker_view_type_id);
	}
	return tracker_view_type_id__volatile;
}


static void _vala_tracker_view_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	TrackerView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_TYPE_VIEW, TrackerView);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	switch (property_id) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_value_set_enum (value, tracker_view_get_display (self));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_STORE:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		g_value_set_object (value, tracker_view_get_store (self));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		break;
#line 3167 "tracker-view.c"
		default:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		break;
#line 3173 "tracker-view.c"
	}
}


static void _vala_tracker_view_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	TrackerView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_TYPE_VIEW, TrackerView);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
	switch (property_id) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_DISPLAY:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		tracker_view_set_display (self, g_value_get_enum (value));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		case TRACKER_VIEW_STORE:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		tracker_view_set_store (self, g_value_get_object (value));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		break;
#line 3195 "tracker-view.c"
		default:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-view.vala"
		break;
#line 3201 "tracker-view.c"
	}
}



