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

/*
 * Copyright (C) 2010 Michal Hruby <michal.mhr@gmail.com>
 * Copyright (C) 2010 Alberto Aldegheri <albyrock87+dev@gmail.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 3 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, see <http://www.gnu.org/licenses/>.
 *
 * Authored by Alberto Aldegheri <albyrock87+dev@gmail.com>
 *
 */

#include <gtk/gtk.h>
#include <glib-object.h>
#include <glib.h>
#include <synapse-core.h>
#include <gee.h>
#include <gdk/gdk.h>
#include <cairo-gobject.h>
#include <stdlib.h>
#include <string.h>
#include <pango/pango.h>
#include <float.h>
#include <math.h>

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

#define SYNAPSE_GUI_TYPE_IVIEW (synapse_gui_iview_get_type ())
#define SYNAPSE_GUI_IVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_IVIEW, SynapseGuiIView))
#define SYNAPSE_GUI_IS_IVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_IVIEW))
#define SYNAPSE_GUI_IVIEW_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SYNAPSE_GUI_TYPE_IVIEW, SynapseGuiIViewIface))

typedef struct _SynapseGuiIView SynapseGuiIView;
typedef struct _SynapseGuiIViewIface SynapseGuiIViewIface;

#define SYNAPSE_GUI_TYPE_ENTRY (synapse_gui_entry_get_type ())
#define SYNAPSE_GUI_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_ENTRY, SynapseGuiEntry))
#define SYNAPSE_GUI_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_ENTRY, SynapseGuiEntryClass))
#define SYNAPSE_GUI_IS_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_ENTRY))
#define SYNAPSE_GUI_IS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_ENTRY))
#define SYNAPSE_GUI_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_ENTRY, SynapseGuiEntryClass))

typedef struct _SynapseGuiEntry SynapseGuiEntry;
typedef struct _SynapseGuiEntryClass SynapseGuiEntryClass;

#define SYNAPSE_GUI_TYPE_MODEL (synapse_gui_model_get_type ())
#define SYNAPSE_GUI_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_MODEL, SynapseGuiModel))
#define SYNAPSE_GUI_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_MODEL, SynapseGuiModelClass))
#define SYNAPSE_GUI_IS_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_MODEL))
#define SYNAPSE_GUI_IS_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_MODEL))
#define SYNAPSE_GUI_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_MODEL, SynapseGuiModelClass))

typedef struct _SynapseGuiModel SynapseGuiModel;
typedef struct _SynapseGuiModelClass SynapseGuiModelClass;

#define SYNAPSE_GUI_TYPE_ICONTROLLER (synapse_gui_icontroller_get_type ())
#define SYNAPSE_GUI_ICONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_ICONTROLLER, SynapseGuiIController))
#define SYNAPSE_GUI_IS_ICONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_ICONTROLLER))
#define SYNAPSE_GUI_ICONTROLLER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SYNAPSE_GUI_TYPE_ICONTROLLER, SynapseGuiIControllerIface))

typedef struct _SynapseGuiIController SynapseGuiIController;
typedef struct _SynapseGuiIControllerIface SynapseGuiIControllerIface;

#define SYNAPSE_GUI_TYPE_KEY_COMBO_CONFIG (synapse_gui_key_combo_config_get_type ())
#define SYNAPSE_GUI_KEY_COMBO_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_KEY_COMBO_CONFIG, SynapseGuiKeyComboConfig))
#define SYNAPSE_GUI_KEY_COMBO_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_KEY_COMBO_CONFIG, SynapseGuiKeyComboConfigClass))
#define SYNAPSE_GUI_IS_KEY_COMBO_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_KEY_COMBO_CONFIG))
#define SYNAPSE_GUI_IS_KEY_COMBO_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_KEY_COMBO_CONFIG))
#define SYNAPSE_GUI_KEY_COMBO_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_KEY_COMBO_CONFIG, SynapseGuiKeyComboConfigClass))

typedef struct _SynapseGuiKeyComboConfig SynapseGuiKeyComboConfig;
typedef struct _SynapseGuiKeyComboConfigClass SynapseGuiKeyComboConfigClass;

#define SYNAPSE_GUI_TYPE_CATEGORY_CONFIG (synapse_gui_category_config_get_type ())
#define SYNAPSE_GUI_CATEGORY_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_CATEGORY_CONFIG, SynapseGuiCategoryConfig))
#define SYNAPSE_GUI_CATEGORY_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_CATEGORY_CONFIG, SynapseGuiCategoryConfigClass))
#define SYNAPSE_GUI_IS_CATEGORY_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_CATEGORY_CONFIG))
#define SYNAPSE_GUI_IS_CATEGORY_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_CATEGORY_CONFIG))
#define SYNAPSE_GUI_CATEGORY_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_CATEGORY_CONFIG, SynapseGuiCategoryConfigClass))

typedef struct _SynapseGuiCategoryConfig SynapseGuiCategoryConfig;
typedef struct _SynapseGuiCategoryConfigClass SynapseGuiCategoryConfigClass;

#define SYNAPSE_GUI_TYPE_VIEW (synapse_gui_view_get_type ())
#define SYNAPSE_GUI_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_VIEW, SynapseGuiView))
#define SYNAPSE_GUI_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_VIEW, SynapseGuiViewClass))
#define SYNAPSE_GUI_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_VIEW))
#define SYNAPSE_GUI_IS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_VIEW))
#define SYNAPSE_GUI_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_VIEW, SynapseGuiViewClass))

typedef struct _SynapseGuiView SynapseGuiView;
typedef struct _SynapseGuiViewClass SynapseGuiViewClass;
typedef struct _SynapseGuiViewPrivate SynapseGuiViewPrivate;

#define SYNAPSE_GUI_UTILS_TYPE_COLOR_HELPER (synapse_gui_utils_color_helper_get_type ())
#define SYNAPSE_GUI_UTILS_COLOR_HELPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_UTILS_TYPE_COLOR_HELPER, SynapseGuiUtilsColorHelper))
#define SYNAPSE_GUI_UTILS_COLOR_HELPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_UTILS_TYPE_COLOR_HELPER, SynapseGuiUtilsColorHelperClass))
#define SYNAPSE_GUI_UTILS_IS_COLOR_HELPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_UTILS_TYPE_COLOR_HELPER))
#define SYNAPSE_GUI_UTILS_IS_COLOR_HELPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_UTILS_TYPE_COLOR_HELPER))
#define SYNAPSE_GUI_UTILS_COLOR_HELPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_UTILS_TYPE_COLOR_HELPER, SynapseGuiUtilsColorHelperClass))

typedef struct _SynapseGuiUtilsColorHelper SynapseGuiUtilsColorHelper;
typedef struct _SynapseGuiUtilsColorHelperClass SynapseGuiUtilsColorHelperClass;

#define SYNAPSE_GUI_TYPE_HTEXT_SELECTOR (synapse_gui_htext_selector_get_type ())
#define SYNAPSE_GUI_HTEXT_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_HTEXT_SELECTOR, SynapseGuiHTextSelector))
#define SYNAPSE_GUI_HTEXT_SELECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_HTEXT_SELECTOR, SynapseGuiHTextSelectorClass))
#define SYNAPSE_GUI_IS_HTEXT_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_HTEXT_SELECTOR))
#define SYNAPSE_GUI_IS_HTEXT_SELECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_HTEXT_SELECTOR))
#define SYNAPSE_GUI_HTEXT_SELECTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_HTEXT_SELECTOR, SynapseGuiHTextSelectorClass))

typedef struct _SynapseGuiHTextSelector SynapseGuiHTextSelector;
typedef struct _SynapseGuiHTextSelectorClass SynapseGuiHTextSelectorClass;

#define SYNAPSE_GUI_TYPE_FAKE_BUTTON (synapse_gui_fake_button_get_type ())
#define SYNAPSE_GUI_FAKE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_FAKE_BUTTON, SynapseGuiFakeButton))
#define SYNAPSE_GUI_FAKE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_FAKE_BUTTON, SynapseGuiFakeButtonClass))
#define SYNAPSE_GUI_IS_FAKE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_FAKE_BUTTON))
#define SYNAPSE_GUI_IS_FAKE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_FAKE_BUTTON))
#define SYNAPSE_GUI_FAKE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_FAKE_BUTTON, SynapseGuiFakeButtonClass))

typedef struct _SynapseGuiFakeButton SynapseGuiFakeButton;
typedef struct _SynapseGuiFakeButtonClass SynapseGuiFakeButtonClass;

#define SYNAPSE_GUI_TYPE_MENU_BUTTON (synapse_gui_menu_button_get_type ())
#define SYNAPSE_GUI_MENU_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_MENU_BUTTON, SynapseGuiMenuButton))
#define SYNAPSE_GUI_MENU_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_MENU_BUTTON, SynapseGuiMenuButtonClass))
#define SYNAPSE_GUI_IS_MENU_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_MENU_BUTTON))
#define SYNAPSE_GUI_IS_MENU_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_MENU_BUTTON))
#define SYNAPSE_GUI_MENU_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_MENU_BUTTON, SynapseGuiMenuButtonClass))

typedef struct _SynapseGuiMenuButton SynapseGuiMenuButton;
typedef struct _SynapseGuiMenuButtonClass SynapseGuiMenuButtonClass;

#define SYNAPSE_GUI_TYPE_VIEW_DOISH (synapse_gui_view_doish_get_type ())
#define SYNAPSE_GUI_VIEW_DOISH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_VIEW_DOISH, SynapseGuiViewDoish))
#define SYNAPSE_GUI_VIEW_DOISH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_VIEW_DOISH, SynapseGuiViewDoishClass))
#define SYNAPSE_GUI_IS_VIEW_DOISH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_VIEW_DOISH))
#define SYNAPSE_GUI_IS_VIEW_DOISH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_VIEW_DOISH))
#define SYNAPSE_GUI_VIEW_DOISH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_VIEW_DOISH, SynapseGuiViewDoishClass))

typedef struct _SynapseGuiViewDoish SynapseGuiViewDoish;
typedef struct _SynapseGuiViewDoishClass SynapseGuiViewDoishClass;
typedef struct _SynapseGuiViewDoishPrivate SynapseGuiViewDoishPrivate;

#define SYNAPSE_GUI_TYPE_NAMED_ICON (synapse_gui_named_icon_get_type ())
#define SYNAPSE_GUI_NAMED_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_NAMED_ICON, SynapseGuiNamedIcon))
#define SYNAPSE_GUI_NAMED_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_NAMED_ICON, SynapseGuiNamedIconClass))
#define SYNAPSE_GUI_IS_NAMED_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_NAMED_ICON))
#define SYNAPSE_GUI_IS_NAMED_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_NAMED_ICON))
#define SYNAPSE_GUI_NAMED_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_NAMED_ICON, SynapseGuiNamedIconClass))

typedef struct _SynapseGuiNamedIcon SynapseGuiNamedIcon;
typedef struct _SynapseGuiNamedIconClass SynapseGuiNamedIconClass;

#define SYNAPSE_GUI_TYPE_SMART_LABEL (synapse_gui_smart_label_get_type ())
#define SYNAPSE_GUI_SMART_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_SMART_LABEL, SynapseGuiSmartLabel))
#define SYNAPSE_GUI_SMART_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_SMART_LABEL, SynapseGuiSmartLabelClass))
#define SYNAPSE_GUI_IS_SMART_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_SMART_LABEL))
#define SYNAPSE_GUI_IS_SMART_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_SMART_LABEL))
#define SYNAPSE_GUI_SMART_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_SMART_LABEL, SynapseGuiSmartLabelClass))

typedef struct _SynapseGuiSmartLabel SynapseGuiSmartLabel;
typedef struct _SynapseGuiSmartLabelClass SynapseGuiSmartLabelClass;

#define SYNAPSE_GUI_TYPE_SELECTION_CONTAINER (synapse_gui_selection_container_get_type ())
#define SYNAPSE_GUI_SELECTION_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_SELECTION_CONTAINER, SynapseGuiSelectionContainer))
#define SYNAPSE_GUI_SELECTION_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_SELECTION_CONTAINER, SynapseGuiSelectionContainerClass))
#define SYNAPSE_GUI_IS_SELECTION_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_SELECTION_CONTAINER))
#define SYNAPSE_GUI_IS_SELECTION_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_SELECTION_CONTAINER))
#define SYNAPSE_GUI_SELECTION_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_SELECTION_CONTAINER, SynapseGuiSelectionContainerClass))

typedef struct _SynapseGuiSelectionContainer SynapseGuiSelectionContainer;
typedef struct _SynapseGuiSelectionContainerClass SynapseGuiSelectionContainerClass;

#define SYNAPSE_GUI_TYPE_RESULT_BOX (synapse_gui_result_box_get_type ())
#define SYNAPSE_GUI_RESULT_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_RESULT_BOX, SynapseGuiResultBox))
#define SYNAPSE_GUI_RESULT_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_RESULT_BOX, SynapseGuiResultBoxClass))
#define SYNAPSE_GUI_IS_RESULT_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_RESULT_BOX))
#define SYNAPSE_GUI_IS_RESULT_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_RESULT_BOX))
#define SYNAPSE_GUI_RESULT_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_RESULT_BOX, SynapseGuiResultBoxClass))

typedef struct _SynapseGuiResultBox SynapseGuiResultBox;
typedef struct _SynapseGuiResultBoxClass SynapseGuiResultBoxClass;

#define SYNAPSE_GUI_TYPE_MENU_THROBBER (synapse_gui_menu_throbber_get_type ())
#define SYNAPSE_GUI_MENU_THROBBER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_MENU_THROBBER, SynapseGuiMenuThrobber))
#define SYNAPSE_GUI_MENU_THROBBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_MENU_THROBBER, SynapseGuiMenuThrobberClass))
#define SYNAPSE_GUI_IS_MENU_THROBBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_MENU_THROBBER))
#define SYNAPSE_GUI_IS_MENU_THROBBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_MENU_THROBBER))
#define SYNAPSE_GUI_MENU_THROBBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_MENU_THROBBER, SynapseGuiMenuThrobberClass))

typedef struct _SynapseGuiMenuThrobber SynapseGuiMenuThrobber;
typedef struct _SynapseGuiMenuThrobberClass SynapseGuiMenuThrobberClass;
enum  {
	SYNAPSE_GUI_VIEW_DOISH_0_PROPERTY,
	SYNAPSE_GUI_VIEW_DOISH_NUM_PROPERTIES
};
static GParamSpec* synapse_gui_view_doish_properties[SYNAPSE_GUI_VIEW_DOISH_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef enum  {
	SYNAPSE_GUI_SMART_LABEL_SIZE_XX_SMALL,
	SYNAPSE_GUI_SMART_LABEL_SIZE_X_SMALL,
	SYNAPSE_GUI_SMART_LABEL_SIZE_SMALL,
	SYNAPSE_GUI_SMART_LABEL_SIZE_MEDIUM,
	SYNAPSE_GUI_SMART_LABEL_SIZE_LARGE,
	SYNAPSE_GUI_SMART_LABEL_SIZE_X_LARGE,
	SYNAPSE_GUI_SMART_LABEL_SIZE_XX_LARGE
} SynapseGuiSmartLabelSize;

#define SYNAPSE_GUI_SMART_LABEL_TYPE_SIZE (synapse_gui_smart_label_size_get_type ())

#define SYNAPSE_GUI_TYPE_SENSITIVE_WIDGET (synapse_gui_sensitive_widget_get_type ())
#define SYNAPSE_GUI_SENSITIVE_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_SENSITIVE_WIDGET, SynapseGuiSensitiveWidget))
#define SYNAPSE_GUI_SENSITIVE_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_SENSITIVE_WIDGET, SynapseGuiSensitiveWidgetClass))
#define SYNAPSE_GUI_IS_SENSITIVE_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_SENSITIVE_WIDGET))
#define SYNAPSE_GUI_IS_SENSITIVE_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_SENSITIVE_WIDGET))
#define SYNAPSE_GUI_SENSITIVE_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_SENSITIVE_WIDGET, SynapseGuiSensitiveWidgetClass))

typedef struct _SynapseGuiSensitiveWidget SynapseGuiSensitiveWidget;
typedef struct _SynapseGuiSensitiveWidgetClass SynapseGuiSensitiveWidgetClass;

#define SYNAPSE_GUI_TYPE_CLONE_WIDGET (synapse_gui_clone_widget_get_type ())
#define SYNAPSE_GUI_CLONE_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYNAPSE_GUI_TYPE_CLONE_WIDGET, SynapseGuiCloneWidget))
#define SYNAPSE_GUI_CLONE_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYNAPSE_GUI_TYPE_CLONE_WIDGET, SynapseGuiCloneWidgetClass))
#define SYNAPSE_GUI_IS_CLONE_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYNAPSE_GUI_TYPE_CLONE_WIDGET))
#define SYNAPSE_GUI_IS_CLONE_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYNAPSE_GUI_TYPE_CLONE_WIDGET))
#define SYNAPSE_GUI_CLONE_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYNAPSE_GUI_TYPE_CLONE_WIDGET, SynapseGuiCloneWidgetClass))

typedef struct _SynapseGuiCloneWidget SynapseGuiCloneWidget;
typedef struct _SynapseGuiCloneWidgetClass SynapseGuiCloneWidgetClass;
typedef struct _SynapseGuiModelPrivate SynapseGuiModelPrivate;
typedef enum  {
	SYNAPSE_GUI_SEARCHING_FOR_SOURCES,
	SYNAPSE_GUI_SEARCHING_FOR_ACTIONS,
	SYNAPSE_GUI_SEARCHING_FOR_TARGETS,
	SYNAPSE_GUI_SEARCHING_FOR_COUNT
} SynapseGuiSearchingFor;

#define SYNAPSE_GUI_TYPE_SEARCHING_FOR (synapse_gui_searching_for_get_type ())
typedef enum  {
	SYNAPSE_GUI_STYLE_TYPE_BG,
	SYNAPSE_GUI_STYLE_TYPE_FG,
	SYNAPSE_GUI_STYLE_TYPE_BASE,
	SYNAPSE_GUI_STYLE_TYPE_TEXT
} SynapseGuiStyleType;

#define SYNAPSE_GUI_TYPE_STYLE_TYPE (synapse_gui_style_type_get_type ())
typedef enum  {
	SYNAPSE_GUI_MOD_NORMAL,
	SYNAPSE_GUI_MOD_LIGHTER,
	SYNAPSE_GUI_MOD_LIGHTEST,
	SYNAPSE_GUI_MOD_DARKER,
	SYNAPSE_GUI_MOD_DARKEST,
	SYNAPSE_GUI_MOD_INVERTED
} SynapseGuiMod;

#define SYNAPSE_GUI_TYPE_MOD (synapse_gui_mod_get_type ())
#define _cairo_pattern_destroy0(var) ((var == NULL) ? NULL : (var = (cairo_pattern_destroy (var), NULL)))
#define _synapse_gui_entry_unref0(var) ((var == NULL) ? NULL : (var = (synapse_gui_entry_unref (var), NULL)))
#define _g_param_spec_unref0(var) ((var == NULL) ? NULL : (var = (g_param_spec_unref (var), NULL)))

struct _SynapseGuiIControllerIface {
	GTypeInterface parent_iface;
	void (*key_press_event) (SynapseGuiIController* self, GdkEventKey* event);
	void (*category_changed_event) (SynapseGuiIController* self, gint category_index);
	void (*fire_focus_context_switch_event) (SynapseGuiIController* self);
	void (*fire_focus) (SynapseGuiIController* self);
	void (*selected_index_changed_event) (SynapseGuiIController* self, gint focus_index);
	void (*set_view) (SynapseGuiIController* self, GType view_type);
	void (*summon_or_vanish) (SynapseGuiIController* self);
	gboolean (*is_in_initial_state) (SynapseGuiIController* self);
	gboolean (*searched_for_recent) (SynapseGuiIController* self);
	SynapseDataSink* (*get_data_sink) (SynapseGuiIController* self);
	void (*set_data_sink) (SynapseGuiIController* self, SynapseDataSink* value);
	SynapseGuiKeyComboConfig* (*get_key_combo_config) (SynapseGuiIController* self);
	void (*set_key_combo_config) (SynapseGuiIController* self, SynapseGuiKeyComboConfig* value);
	SynapseGuiCategoryConfig* (*get_category_config) (SynapseGuiIController* self);
	void (*set_category_config) (SynapseGuiIController* self, SynapseGuiCategoryConfig* value);
};

struct _SynapseGuiIViewIface {
	GTypeInterface parent_iface;
	void (*summon) (SynapseGuiIView* self);
	void (*vanish) (SynapseGuiIView* self);
	void (*summon_or_vanish) (SynapseGuiIView* self);
	void (*update_focused_source) (SynapseGuiIView* self, SynapseGuiEntry* m);
	void (*update_focused_action) (SynapseGuiIView* self, SynapseGuiEntry* m);
	void (*update_focused_target) (SynapseGuiIView* self, SynapseGuiEntry* m);
	void (*update_sources) (SynapseGuiIView* self, GeeList* list);
	void (*update_actions) (SynapseGuiIView* self, GeeList* list);
	void (*update_targets) (SynapseGuiIView* self, GeeList* list);
	void (*update_selected_category) (SynapseGuiIView* self);
	void (*update_searching_for) (SynapseGuiIView* self);
	gboolean (*is_list_visible) (SynapseGuiIView* self);
	void (*set_list_visible) (SynapseGuiIView* self, gboolean visible);
	void (*set_throbber_visible) (SynapseGuiIView* self, gboolean visible);
	SynapseGuiModel* (*get_controller_model) (SynapseGuiIView* self);
	void (*set_controller_model) (SynapseGuiIView* self, SynapseGuiModel* value);
	SynapseGuiIController* (*get_controller) (SynapseGuiIView* self);
	void (*set_controller) (SynapseGuiIView* self, SynapseGuiIController* value);
};

struct _SynapseGuiView {
	GtkWindow parent_instance;
	SynapseGuiViewPrivate * priv;
	gboolean is_kwin;
	SynapseGuiUtilsColorHelper* ch;
	SynapseGuiHTextSelector* flag_selector;
	SynapseGuiMenuButton* menu;
	GtkLabel* spacer;
	gint BORDER_RADIUS;
	gint SHADOW_SIZE;
	GtkStateFlags bg_state;
	gboolean cache_enabled;
	GeeMap* bg_cache;
	SynapseGuiModel* model;
};

struct _SynapseGuiViewClass {
	GtkWindowClass parent_class;
	void (*build_ui) (SynapseGuiView* self);
	void (*paint_background) (SynapseGuiView* self, cairo_t* ctx);
	void (*summon) (SynapseGuiView* self);
	void (*vanish) (SynapseGuiView* self);
	void (*summon_or_vanish) (SynapseGuiView* self);
	void (*update_focused_source) (SynapseGuiView* self, SynapseGuiEntry* m);
	void (*update_focused_action) (SynapseGuiView* self, SynapseGuiEntry* m);
	void (*update_focused_target) (SynapseGuiView* self, SynapseGuiEntry* m);
	void (*update_sources) (SynapseGuiView* self, GeeList* list);
	void (*update_actions) (SynapseGuiView* self, GeeList* list);
	void (*update_targets) (SynapseGuiView* self, GeeList* list);
	void (*update_selected_category) (SynapseGuiView* self);
	void (*update_searching_for) (SynapseGuiView* self);
	gboolean (*is_list_visible) (SynapseGuiView* self);
	void (*set_list_visible) (SynapseGuiView* self, gboolean visible);
	void (*set_throbber_visible) (SynapseGuiView* self, gboolean visible);
};

struct _SynapseGuiViewDoish {
	SynapseGuiView parent_instance;
	SynapseGuiViewDoishPrivate * priv;
};

struct _SynapseGuiViewDoishClass {
	SynapseGuiViewClass parent_class;
};

struct _SynapseGuiViewDoishPrivate {
	SynapseGuiNamedIcon* source_icon;
	SynapseGuiNamedIcon* action_icon;
	SynapseGuiNamedIcon* target_icon;
	SynapseGuiSmartLabel* source_label;
	SynapseGuiSmartLabel* action_label;
	SynapseGuiSmartLabel* target_label;
	SynapseGuiSmartLabel* description_label;
	SynapseGuiSelectionContainer* results_container;
	SynapseGuiResultBox* results_sources;
	SynapseGuiResultBox* results_actions;
	SynapseGuiResultBox* results_targets;
	SynapseGuiMenuThrobber* menuthrobber;
	GtkBox* target_container;
	GtkBox* container;
	GtkBox* spane;
	GtkBox* apane;
	GtkBox* tpane;
	GtkLabel* sp1;
	GtkLabel* sp2;
};

struct _SynapseGuiModel {
	GObject parent_instance;
	SynapseGuiModelPrivate * priv;
	gchar** query;
	gint query_length1;
	GeeList** results;
	gint results_length1;
	SynapseGuiEntry** focus;
	gint focus_length1;
	gint selected_category;
	SynapseGuiSearchingFor searching_for;
};

struct _SynapseGuiModelClass {
	GObjectClass parent_class;
};

static gint SynapseGuiViewDoish_private_offset;
static gpointer synapse_gui_view_doish_parent_class = NULL;
VALA_EXTERN gchar* synapse_gui_icontroller_TYPE_TO_SEARCH;
VALA_EXTERN gchar* synapse_gui_icontroller_DOWN_TO_SEE_RECENT;
VALA_EXTERN gchar* synapse_gui_icontroller_NO_RECENT_ACTIVITIES;
VALA_EXTERN gchar* synapse_gui_icontroller_SEARCHING;
VALA_EXTERN gchar* synapse_gui_icontroller_NO_RESULTS;

VALA_EXTERN gpointer synapse_gui_entry_ref (gpointer instance);
VALA_EXTERN void synapse_gui_entry_unref (gpointer instance);
VALA_EXTERN GParamSpec* synapse_gui_param_spec_entry (const gchar* name,
                                          const gchar* nick,
                                          const gchar* blurb,
                                          GType object_type,
                                          GParamFlags flags);
VALA_EXTERN void synapse_gui_value_set_entry (GValue* value,
                                  gpointer v_object);
VALA_EXTERN void synapse_gui_value_take_entry (GValue* value,
                                   gpointer v_object);
VALA_EXTERN gpointer synapse_gui_value_get_entry (const GValue* value);
VALA_EXTERN GType synapse_gui_entry_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiEntry, synapse_gui_entry_unref)
VALA_EXTERN GType synapse_gui_model_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiModel, g_object_unref)
VALA_EXTERN GType synapse_gui_key_combo_config_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiKeyComboConfig, g_object_unref)
VALA_EXTERN GType synapse_gui_category_config_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiCategoryConfig, g_object_unref)
VALA_EXTERN GType synapse_gui_icontroller_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiIController, g_object_unref)
VALA_EXTERN GType synapse_gui_iview_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiIView, g_object_unref)
VALA_EXTERN GType synapse_gui_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiView, g_object_unref)
VALA_EXTERN gpointer synapse_gui_utils_color_helper_ref (gpointer instance);
VALA_EXTERN void synapse_gui_utils_color_helper_unref (gpointer instance);
VALA_EXTERN GParamSpec* synapse_gui_utils_param_spec_color_helper (const gchar* name,
                                                       const gchar* nick,
                                                       const gchar* blurb,
                                                       GType object_type,
                                                       GParamFlags flags);
VALA_EXTERN void synapse_gui_utils_value_set_color_helper (GValue* value,
                                               gpointer v_object);
VALA_EXTERN void synapse_gui_utils_value_take_color_helper (GValue* value,
                                                gpointer v_object);
VALA_EXTERN gpointer synapse_gui_utils_value_get_color_helper (const GValue* value);
VALA_EXTERN GType synapse_gui_utils_color_helper_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiUtilsColorHelper, synapse_gui_utils_color_helper_unref)
VALA_EXTERN GType synapse_gui_htext_selector_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiHTextSelector, g_object_unref)
VALA_EXTERN GType synapse_gui_fake_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiFakeButton, g_object_unref)
VALA_EXTERN GType synapse_gui_menu_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiMenuButton, g_object_unref)
VALA_EXTERN GType synapse_gui_view_doish_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiViewDoish, g_object_unref)
VALA_EXTERN GType synapse_gui_named_icon_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiNamedIcon, g_object_unref)
VALA_EXTERN GType synapse_gui_smart_label_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiSmartLabel, g_object_unref)
VALA_EXTERN GType synapse_gui_selection_container_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiSelectionContainer, g_object_unref)
VALA_EXTERN GType synapse_gui_result_box_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiResultBox, g_object_unref)
VALA_EXTERN GType synapse_gui_menu_throbber_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiMenuThrobber, g_object_unref)
VALA_EXTERN void synapse_gui_view_build_ui (SynapseGuiView* self);
VALA_EXTERN gboolean synapse_gui_view_is_list_visible (SynapseGuiView* self);
VALA_EXTERN void synapse_gui_view_set_list_visible (SynapseGuiView* self,
                                        gboolean visible);
VALA_EXTERN void synapse_gui_view_set_throbber_visible (SynapseGuiView* self,
                                            gboolean visible);
VALA_EXTERN void synapse_gui_view_update_searching_for (SynapseGuiView* self);
VALA_EXTERN void synapse_gui_view_update_selected_category (SynapseGuiView* self);
VALA_EXTERN void synapse_gui_view_paint_background (SynapseGuiView* self,
                                        cairo_t* ctx);
VALA_EXTERN void synapse_gui_view_update_focused_source (SynapseGuiView* self,
                                             SynapseGuiEntry* m);
VALA_EXTERN void synapse_gui_view_update_focused_action (SynapseGuiView* self,
                                             SynapseGuiEntry* m);
VALA_EXTERN void synapse_gui_view_update_focused_target (SynapseGuiView* self,
                                             SynapseGuiEntry* m);
VALA_EXTERN void synapse_gui_view_update_sources (SynapseGuiView* self,
                                      GeeList* list);
VALA_EXTERN void synapse_gui_view_update_actions (SynapseGuiView* self,
                                      GeeList* list);
VALA_EXTERN void synapse_gui_view_update_targets (SynapseGuiView* self,
                                      GeeList* list);
static void synapse_gui_view_doish_real_style_updated (GtkWidget* base);
VALA_EXTERN GType synapse_gui_smart_label_size_get_type (void) G_GNUC_CONST ;
VALA_EXTERN SynapseGuiSmartLabelSize synapse_gui_smart_label_string_to_size (const gchar* sizename);
VALA_EXTERN void synapse_gui_smart_label_set_size (SynapseGuiSmartLabel* self,
                                       SynapseGuiSmartLabelSize value);
VALA_EXTERN void synapse_gui_smart_label_set_min_size (SynapseGuiSmartLabel* self,
                                           SynapseGuiSmartLabelSize value);
static void synapse_gui_view_doish_real_build_ui (SynapseGuiView* base);
VALA_EXTERN SynapseGuiNamedIcon* synapse_gui_named_icon_new (void);
VALA_EXTERN SynapseGuiNamedIcon* synapse_gui_named_icon_construct (GType object_type);
VALA_EXTERN void synapse_gui_named_icon_set_icon_name (SynapseGuiNamedIcon* self,
                                           const gchar* name,
                                           GtkIconSize size);
VALA_EXTERN void synapse_gui_named_icon_clear (SynapseGuiNamedIcon* self);
VALA_EXTERN SynapseGuiSmartLabel* synapse_gui_smart_label_new (void);
VALA_EXTERN SynapseGuiSmartLabel* synapse_gui_smart_label_construct (GType object_type);
VALA_EXTERN void synapse_gui_smart_label_set_ellipsize (SynapseGuiSmartLabel* self,
                                            PangoEllipsizeMode mode);
VALA_EXTERN void synapse_gui_smart_label_set_animation_enabled (SynapseGuiSmartLabel* self,
                                                    gboolean b);
VALA_EXTERN SynapseGuiMenuThrobber* synapse_gui_menu_throbber_new (void);
VALA_EXTERN SynapseGuiMenuThrobber* synapse_gui_menu_throbber_construct (GType object_type);
VALA_EXTERN void synapse_gui_htext_selector_set_selected_markup (SynapseGuiHTextSelector* self,
                                                     const gchar* value);
VALA_EXTERN void synapse_gui_htext_selector_set_unselected_markup (SynapseGuiHTextSelector* self,
                                                       const gchar* value);
VALA_EXTERN GType synapse_gui_sensitive_widget_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiSensitiveWidget, g_object_unref)
VALA_EXTERN SynapseGuiSensitiveWidget* synapse_gui_sensitive_widget_new (GtkWidget* widget);
VALA_EXTERN SynapseGuiSensitiveWidget* synapse_gui_sensitive_widget_construct (GType object_type,
                                                                   GtkWidget* widget);
VALA_EXTERN void synapse_gui_view_make_draggable (SynapseGuiView* self,
                                      GtkEventBox* obj);
VALA_EXTERN SynapseGuiCloneWidget* synapse_gui_clone_widget_new (GtkWidget* to_clone);
VALA_EXTERN SynapseGuiCloneWidget* synapse_gui_clone_widget_construct (GType object_type,
                                                           GtkWidget* to_clone);
VALA_EXTERN GType synapse_gui_clone_widget_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SynapseGuiCloneWidget, g_object_unref)
VALA_EXTERN void synapse_gui_view_prepare_results_container (SynapseGuiView* self,
                                                 SynapseGuiSelectionContainer** results_container,
                                                 SynapseGuiResultBox** results_sources,
                                                 SynapseGuiResultBox** results_actions,
                                                 SynapseGuiResultBox** results_targets,
                                                 GtkStateFlags state_type,
                                                 gboolean add_to_container);
static gboolean synapse_gui_view_doish_real_is_list_visible (SynapseGuiView* base);
static void synapse_gui_view_doish_real_set_list_visible (SynapseGuiView* base,
                                                   gboolean visible);
static void synapse_gui_view_doish_real_set_throbber_visible (SynapseGuiView* base,
                                                       gboolean visible);
VALA_EXTERN void synapse_gui_menu_throbber_set_active (SynapseGuiMenuThrobber* self,
                                           gboolean value);
static void synapse_gui_view_doish_real_update_searching_for (SynapseGuiView* base);
static void synapse_gui_view_doish_update_labels (SynapseGuiViewDoish* self);
VALA_EXTERN void synapse_gui_selection_container_select_child (SynapseGuiSelectionContainer* self,
                                                   gint i);
VALA_EXTERN GType synapse_gui_searching_for_get_type (void) G_GNUC_CONST ;
static void synapse_gui_view_doish_real_update_selected_category (SynapseGuiView* base);
VALA_EXTERN void synapse_gui_htext_selector_set_selected (SynapseGuiHTextSelector* self,
                                              gint value);
static void synapse_gui_view_doish_real_paint_background (SynapseGuiView* base,
                                                   cairo_t* ctx);
VALA_EXTERN void synapse_gui_utils_cairo_make_shadow_for_rect (cairo_t* ctx,
                                                   gdouble x1,
                                                   gdouble y1,
                                                   gdouble w,
                                                   gdouble h,
                                                   gdouble rad,
                                                   gdouble r,
                                                   gdouble g,
                                                   gdouble b,
                                                   gdouble size);
VALA_EXTERN GType synapse_gui_style_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType synapse_gui_mod_get_type (void) G_GNUC_CONST ;
VALA_EXTERN void synapse_gui_utils_color_helper_set_source_rgba (SynapseGuiUtilsColorHelper* self,
                                                     cairo_t* ctx,
                                                     gdouble alpha,
                                                     SynapseGuiStyleType t,
                                                     GtkStateFlags st,
                                                     SynapseGuiMod mod);
VALA_EXTERN void synapse_gui_utils_color_helper_get_color_colorized (SynapseGuiUtilsColorHelper* self,
                                                         gdouble* red,
                                                         gdouble* green,
                                                         gdouble* blue,
                                                         SynapseGuiStyleType t,
                                                         GtkStateFlags st,
                                                         SynapseGuiMod mod);
VALA_EXTERN void synapse_gui_utils_cairo_rounded_rect (cairo_t* ctx,
                                           gdouble x,
                                           gdouble y,
                                           gdouble w,
                                           gdouble h,
                                           gdouble r);
VALA_EXTERN SynapseGuiEntry* synapse_gui_model_get_actual_focus (SynapseGuiModel* self);
VALA_EXTERN gconstpointer synapse_gui_entry_get_value (SynapseGuiEntry* self);
VALA_EXTERN SynapseGuiIController* synapse_gui_iview_get_controller (SynapseGuiIView* self);
VALA_EXTERN gboolean synapse_gui_icontroller_is_in_initial_state (SynapseGuiIController* self);
VALA_EXTERN void synapse_gui_smart_label_set_text (SynapseGuiSmartLabel* self,
                                       const gchar* s);
VALA_EXTERN gboolean synapse_gui_icontroller_searched_for_recent (SynapseGuiIController* self);
VALA_EXTERN gboolean synapse_gui_menu_throbber_get_active (SynapseGuiMenuThrobber* self);
VALA_EXTERN gchar* synapse_gui_utils_get_printable_description (SynapseMatch* match);
VALA_EXTERN gboolean synapse_gui_model_needs_target (SynapseGuiModel* self);
static void synapse_gui_view_doish_real_update_focused_source (SynapseGuiView* base,
                                                        SynapseGuiEntry* m);
VALA_EXTERN void synapse_gui_result_box_move_selection_to_index (SynapseGuiResultBox* self,
                                                     gint i);
VALA_EXTERN gconstpointer synapse_gui_entry_get_key (SynapseGuiEntry* self);
VALA_EXTERN void synapse_gui_smart_label_set_markup (SynapseGuiSmartLabel* self,
                                         const gchar* m);
VALA_EXTERN gchar* synapse_gui_utils_markup_string_with_search (const gchar* text,
                                                    const gchar* pattern,
                                                    const gchar* size,
                                                    gboolean show_not_found);
static void synapse_gui_view_doish_real_update_focused_action (SynapseGuiView* base,
                                                        SynapseGuiEntry* m);
static void synapse_gui_view_doish_real_update_focused_target (SynapseGuiView* base,
                                                        SynapseGuiEntry* m);
static void synapse_gui_view_doish_real_update_sources (SynapseGuiView* base,
                                                 GeeList* list);
VALA_EXTERN void synapse_gui_result_box_update_matches (SynapseGuiResultBox* self,
                                            GeeList* rs);
static void synapse_gui_view_doish_real_update_actions (SynapseGuiView* base,
                                                 GeeList* list);
static void synapse_gui_view_doish_real_update_targets (SynapseGuiView* base,
                                                 GeeList* list);
VALA_EXTERN SynapseGuiViewDoish* synapse_gui_view_doish_new (void);
VALA_EXTERN SynapseGuiViewDoish* synapse_gui_view_doish_construct (GType object_type);
VALA_EXTERN SynapseGuiView* synapse_gui_view_new (void);
VALA_EXTERN SynapseGuiView* synapse_gui_view_construct (GType object_type);
static GObject * synapse_gui_view_doish_constructor (GType type,
                                              guint n_construct_properties,
                                              GObjectConstructParam * construct_properties);
static void synapse_gui_view_doish_finalize (GObject * obj);
static GType synapse_gui_view_doish_get_type_once (void);

static inline gpointer
synapse_gui_view_doish_get_instance_private (SynapseGuiViewDoish* self)
{
	return G_STRUCT_MEMBER_P (self, SynapseGuiViewDoish_private_offset);
}

static void
synapse_gui_view_doish_real_style_updated (GtkWidget* base)
{
	SynapseGuiViewDoish * self;
	gint spacing = 0;
	gint icon_size = 0;
	gchar* tmax = NULL;
	gchar* tmin = NULL;
	gchar* dmax = NULL;
	gchar* dmin = NULL;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	GtkLabel* _tmp6_;
	GtkLabel* _tmp7_;
	SynapseGuiNamedIcon* _tmp8_;
	SynapseGuiNamedIcon* _tmp9_;
	SynapseGuiNamedIcon* _tmp10_;
	GtkLabel* _tmp11_;
	SynapseGuiSmartLabel* _tmp12_;
	SynapseGuiSmartLabel* _tmp13_;
	SynapseGuiSmartLabel* _tmp14_;
	SynapseGuiSmartLabel* _tmp15_;
	SynapseGuiSmartLabel* _tmp16_;
	SynapseGuiSmartLabel* _tmp17_;
	SynapseGuiSmartLabel* _tmp18_;
	SynapseGuiSmartLabel* _tmp19_;
#line 65 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 67 "view-doish.vala"
	GTK_WIDGET_CLASS (synapse_gui_view_doish_parent_class)->style_updated ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, SYNAPSE_GUI_TYPE_VIEW, SynapseGuiView));
#line 71 "view-doish.vala"
	gtk_widget_style_get ((GtkWidget*) self, "pane-spacing", &_tmp0_, "icon-size", &_tmp1_, "title-size", &_tmp2_, "title-min-size", &_tmp3_, "description-size", &_tmp4_, "description-min-size", &_tmp5_, NULL);
#line 71 "view-doish.vala"
	spacing = _tmp0_;
#line 71 "view-doish.vala"
	icon_size = _tmp1_;
#line 71 "view-doish.vala"
	_g_free0 (tmax);
#line 71 "view-doish.vala"
	tmax = _tmp2_;
#line 71 "view-doish.vala"
	_g_free0 (tmin);
#line 71 "view-doish.vala"
	tmin = _tmp3_;
#line 71 "view-doish.vala"
	_g_free0 (dmax);
#line 71 "view-doish.vala"
	dmax = _tmp4_;
#line 71 "view-doish.vala"
	_g_free0 (dmin);
#line 71 "view-doish.vala"
	dmin = _tmp5_;
#line 75 "view-doish.vala"
	_tmp6_ = self->priv->sp1;
#line 75 "view-doish.vala"
	gtk_widget_set_size_request ((GtkWidget*) _tmp6_, spacing, -1);
#line 76 "view-doish.vala"
	_tmp7_ = self->priv->sp2;
#line 76 "view-doish.vala"
	gtk_widget_set_size_request ((GtkWidget*) _tmp7_, spacing, -1);
#line 78 "view-doish.vala"
	_tmp8_ = self->priv->source_icon;
#line 78 "view-doish.vala"
	gtk_image_set_pixel_size ((GtkImage*) _tmp8_, icon_size);
#line 79 "view-doish.vala"
	_tmp9_ = self->priv->action_icon;
#line 79 "view-doish.vala"
	gtk_image_set_pixel_size ((GtkImage*) _tmp9_, icon_size);
#line 80 "view-doish.vala"
	_tmp10_ = self->priv->target_icon;
#line 80 "view-doish.vala"
	gtk_image_set_pixel_size ((GtkImage*) _tmp10_, icon_size);
#line 81 "view-doish.vala"
	_tmp11_ = ((SynapseGuiView*) self)->spacer;
#line 81 "view-doish.vala"
	gtk_widget_set_size_request ((GtkWidget*) _tmp11_, 1, ((SynapseGuiView*) self)->SHADOW_SIZE + ((SynapseGuiView*) self)->BORDER_RADIUS);
#line 82 "view-doish.vala"
	_tmp12_ = self->priv->source_label;
#line 82 "view-doish.vala"
	synapse_gui_smart_label_set_size (_tmp12_, synapse_gui_smart_label_string_to_size (tmax));
#line 83 "view-doish.vala"
	_tmp13_ = self->priv->source_label;
#line 83 "view-doish.vala"
	synapse_gui_smart_label_set_min_size (_tmp13_, synapse_gui_smart_label_string_to_size (tmin));
#line 84 "view-doish.vala"
	_tmp14_ = self->priv->action_label;
#line 84 "view-doish.vala"
	synapse_gui_smart_label_set_size (_tmp14_, synapse_gui_smart_label_string_to_size (tmax));
#line 85 "view-doish.vala"
	_tmp15_ = self->priv->action_label;
#line 85 "view-doish.vala"
	synapse_gui_smart_label_set_min_size (_tmp15_, synapse_gui_smart_label_string_to_size (tmin));
#line 86 "view-doish.vala"
	_tmp16_ = self->priv->target_label;
#line 86 "view-doish.vala"
	synapse_gui_smart_label_set_size (_tmp16_, synapse_gui_smart_label_string_to_size (tmax));
#line 87 "view-doish.vala"
	_tmp17_ = self->priv->target_label;
#line 87 "view-doish.vala"
	synapse_gui_smart_label_set_min_size (_tmp17_, synapse_gui_smart_label_string_to_size (tmin));
#line 88 "view-doish.vala"
	_tmp18_ = self->priv->description_label;
#line 88 "view-doish.vala"
	synapse_gui_smart_label_set_size (_tmp18_, synapse_gui_smart_label_string_to_size (dmax));
#line 89 "view-doish.vala"
	_tmp19_ = self->priv->description_label;
#line 89 "view-doish.vala"
	synapse_gui_smart_label_set_min_size (_tmp19_, synapse_gui_smart_label_string_to_size (dmin));
#line 65 "view-doish.vala"
	_g_free0 (dmin);
#line 65 "view-doish.vala"
	_g_free0 (dmax);
#line 65 "view-doish.vala"
	_g_free0 (tmin);
#line 65 "view-doish.vala"
	_g_free0 (tmax);
#line 768 "view-doish.c"
}

static gpointer
_g_object_ref0 (gpointer self)
{
#line 166 "view-doish.vala"
	return self ? g_object_ref (self) : NULL;
#line 776 "view-doish.c"
}

static void
synapse_gui_view_doish_real_build_ui (SynapseGuiView* base)
{
	SynapseGuiViewDoish * self;
	SynapseGuiNamedIcon* _tmp0_;
	SynapseGuiNamedIcon* _tmp1_;
	SynapseGuiNamedIcon* _tmp2_;
	SynapseGuiNamedIcon* _tmp3_;
	SynapseGuiNamedIcon* _tmp4_;
	SynapseGuiNamedIcon* _tmp5_;
	SynapseGuiNamedIcon* _tmp6_;
	SynapseGuiNamedIcon* _tmp7_;
	SynapseGuiNamedIcon* _tmp8_;
	SynapseGuiNamedIcon* _tmp9_;
	SynapseGuiNamedIcon* _tmp10_;
	SynapseGuiNamedIcon* _tmp11_;
	SynapseGuiSmartLabel* _tmp12_;
	SynapseGuiSmartLabel* _tmp13_;
	SynapseGuiSmartLabel* _tmp14_;
	SynapseGuiSmartLabel* _tmp15_;
	SynapseGuiSmartLabel* _tmp16_;
	SynapseGuiSmartLabel* _tmp17_;
	SynapseGuiSmartLabel* _tmp18_;
	SynapseGuiSmartLabel* _tmp19_;
	SynapseGuiSmartLabel* _tmp20_;
	SynapseGuiSmartLabel* _tmp21_;
	SynapseGuiSmartLabel* _tmp22_;
	SynapseGuiSmartLabel* _tmp23_;
	SynapseGuiSmartLabel* _tmp24_;
	SynapseGuiSmartLabel* _tmp25_;
	SynapseGuiSmartLabel* _tmp26_;
	SynapseGuiSmartLabel* _tmp27_;
	SynapseGuiSmartLabel* _tmp28_;
	SynapseGuiSmartLabel* _tmp29_;
	SynapseGuiSmartLabel* _tmp30_;
	SynapseGuiSmartLabel* _tmp31_;
	SynapseGuiSmartLabel* _tmp32_;
	SynapseGuiSmartLabel* _tmp33_;
	SynapseGuiSmartLabel* _tmp34_;
	GtkBox* categories_hbox = NULL;
	GtkBox* _tmp35_;
	SynapseGuiMenuThrobber* _tmp36_;
	SynapseGuiMenuThrobber* _tmp37_;
	SynapseGuiMenuThrobber* _tmp38_;
	SynapseGuiMenuButton* _tmp39_;
	SynapseGuiMenuThrobber* _tmp40_;
	SynapseGuiHTextSelector* _tmp41_;
	SynapseGuiMenuThrobber* _tmp42_;
	SynapseGuiHTextSelector* _tmp43_;
	SynapseGuiHTextSelector* _tmp44_;
	SynapseGuiHTextSelector* _tmp45_;
	GtkBox* hbox_panes = NULL;
	GtkBox* _tmp46_;
	GtkLabel* _tmp47_;
	GtkLabel* _tmp48_;
	GtkBox* _tmp49_;
	GtkBox* _tmp50_;
	SynapseGuiSensitiveWidget* sensitive = NULL;
	SynapseGuiNamedIcon* _tmp51_;
	SynapseGuiSensitiveWidget* _tmp52_;
	SynapseGuiSensitiveWidget* _tmp53_;
	GtkBox* _tmp54_;
	SynapseGuiSensitiveWidget* _tmp55_;
	GtkBox* _tmp56_;
	SynapseGuiSmartLabel* _tmp57_;
	GtkBox* _tmp58_;
	GtkBox* _tmp59_;
	GtkBox* _tmp60_;
	SynapseGuiNamedIcon* _tmp61_;
	GtkBox* _tmp62_;
	SynapseGuiSmartLabel* _tmp63_;
	GtkBox* _tmp64_;
	GtkLabel* _tmp65_;
	GtkBox* _tmp66_;
	GtkBox* _tmp67_;
	GtkBox* _tmp68_;
	SynapseGuiNamedIcon* _tmp69_;
	SynapseGuiSensitiveWidget* _tmp70_;
	SynapseGuiSensitiveWidget* _tmp71_;
	GtkBox* _tmp72_;
	SynapseGuiSensitiveWidget* _tmp73_;
	GtkBox* _tmp74_;
	SynapseGuiSmartLabel* _tmp75_;
	GtkBox* _tmp76_;
	GtkBox* hb = NULL;
	GtkBox* _tmp77_;
	GtkLabel* _tmp78_;
	GtkBox* _tmp79_;
	GtkBox* _tmp80_;
	SynapseGuiCloneWidget* _tmp81_;
	SynapseGuiCloneWidget* _tmp82_;
	GtkBox* _tmp83_;
	GtkBox* _tmp84_;
	GtkLabel* _tmp85_;
	GtkLabel* _tmp86_;
	SynapseGuiSelectionContainer* _tmp87_ = NULL;
	SynapseGuiResultBox* _tmp88_ = NULL;
	SynapseGuiResultBox* _tmp89_ = NULL;
	SynapseGuiResultBox* _tmp90_ = NULL;
	GtkBox* _tmp91_;
	GtkBox* _tmp92_;
	GtkBox* _tmp93_;
	GtkBox* _tmp94_;
	SynapseGuiSmartLabel* _tmp95_;
	GtkBox* _tmp96_;
	GtkLabel* _tmp97_;
	GtkBox* _tmp98_;
	SynapseGuiSelectionContainer* _tmp99_;
	GtkBox* main_container = NULL;
	GtkBox* _tmp100_;
	GtkBox* _tmp101_;
	GtkBox* _tmp102_;
	SynapseGuiSelectionContainer* _tmp103_;
#line 119 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 122 "view-doish.vala"
	_tmp0_ = synapse_gui_named_icon_new ();
#line 122 "view-doish.vala"
	g_object_ref_sink (_tmp0_);
#line 122 "view-doish.vala"
	_g_object_unref0 (self->priv->source_icon);
#line 122 "view-doish.vala"
	self->priv->source_icon = _tmp0_;
#line 123 "view-doish.vala"
	_tmp1_ = synapse_gui_named_icon_new ();
#line 123 "view-doish.vala"
	g_object_ref_sink (_tmp1_);
#line 123 "view-doish.vala"
	_g_object_unref0 (self->priv->action_icon);
#line 123 "view-doish.vala"
	self->priv->action_icon = _tmp1_;
#line 124 "view-doish.vala"
	_tmp2_ = synapse_gui_named_icon_new ();
#line 124 "view-doish.vala"
	g_object_ref_sink (_tmp2_);
#line 124 "view-doish.vala"
	_g_object_unref0 (self->priv->target_icon);
#line 124 "view-doish.vala"
	self->priv->target_icon = _tmp2_;
#line 125 "view-doish.vala"
	_tmp3_ = self->priv->source_icon;
#line 125 "view-doish.vala"
	synapse_gui_named_icon_set_icon_name (_tmp3_, "search", GTK_ICON_SIZE_DND);
#line 126 "view-doish.vala"
	_tmp4_ = self->priv->action_icon;
#line 126 "view-doish.vala"
	synapse_gui_named_icon_clear (_tmp4_);
#line 127 "view-doish.vala"
	_tmp5_ = self->priv->target_icon;
#line 127 "view-doish.vala"
	synapse_gui_named_icon_set_icon_name (_tmp5_, "", GTK_ICON_SIZE_DND);
#line 129 "view-doish.vala"
	_tmp6_ = self->priv->source_icon;
#line 129 "view-doish.vala"
	gtk_image_set_pixel_size ((GtkImage*) _tmp6_, 128);
#line 130 "view-doish.vala"
	_tmp7_ = self->priv->source_icon;
#line 130 "view-doish.vala"
	g_object_set ((GtkMisc*) _tmp7_, "xpad", 15, NULL);
#line 131 "view-doish.vala"
	_tmp8_ = self->priv->action_icon;
#line 131 "view-doish.vala"
	gtk_image_set_pixel_size ((GtkImage*) _tmp8_, 128);
#line 132 "view-doish.vala"
	_tmp9_ = self->priv->action_icon;
#line 132 "view-doish.vala"
	g_object_set ((GtkMisc*) _tmp9_, "xpad", 15, NULL);
#line 133 "view-doish.vala"
	_tmp10_ = self->priv->target_icon;
#line 133 "view-doish.vala"
	gtk_image_set_pixel_size ((GtkImage*) _tmp10_, 128);
#line 134 "view-doish.vala"
	_tmp11_ = self->priv->target_icon;
#line 134 "view-doish.vala"
	g_object_set ((GtkMisc*) _tmp11_, "xpad", 15, NULL);
#line 137 "view-doish.vala"
	_tmp12_ = synapse_gui_smart_label_new ();
#line 137 "view-doish.vala"
	g_object_ref_sink (_tmp12_);
#line 137 "view-doish.vala"
	_g_object_unref0 (self->priv->source_label);
#line 137 "view-doish.vala"
	self->priv->source_label = _tmp12_;
#line 138 "view-doish.vala"
	_tmp13_ = self->priv->source_label;
#line 138 "view-doish.vala"
	synapse_gui_smart_label_set_ellipsize (_tmp13_, PANGO_ELLIPSIZE_END);
#line 139 "view-doish.vala"
	_tmp14_ = self->priv->source_label;
#line 139 "view-doish.vala"
	synapse_gui_smart_label_set_size (_tmp14_, SYNAPSE_GUI_SMART_LABEL_SIZE_MEDIUM);
#line 140 "view-doish.vala"
	_tmp15_ = self->priv->source_label;
#line 140 "view-doish.vala"
	synapse_gui_smart_label_set_min_size (_tmp15_, SYNAPSE_GUI_SMART_LABEL_SIZE_SMALL);
#line 141 "view-doish.vala"
	_tmp16_ = self->priv->source_label;
#line 141 "view-doish.vala"
	gtk_widget_set_state_flags ((GtkWidget*) _tmp16_, GTK_STATE_FLAG_SELECTED, FALSE);
#line 142 "view-doish.vala"
	_tmp17_ = self->priv->source_label;
#line 142 "view-doish.vala"
	g_object_set ((GtkMisc*) _tmp17_, "xalign", 0.5f, NULL);
#line 143 "view-doish.vala"
	_tmp18_ = synapse_gui_smart_label_new ();
#line 143 "view-doish.vala"
	g_object_ref_sink (_tmp18_);
#line 143 "view-doish.vala"
	_g_object_unref0 (self->priv->action_label);
#line 143 "view-doish.vala"
	self->priv->action_label = _tmp18_;
#line 144 "view-doish.vala"
	_tmp19_ = self->priv->action_label;
#line 144 "view-doish.vala"
	synapse_gui_smart_label_set_ellipsize (_tmp19_, PANGO_ELLIPSIZE_END);
#line 145 "view-doish.vala"
	_tmp20_ = self->priv->action_label;
#line 145 "view-doish.vala"
	synapse_gui_smart_label_set_size (_tmp20_, SYNAPSE_GUI_SMART_LABEL_SIZE_MEDIUM);
#line 146 "view-doish.vala"
	_tmp21_ = self->priv->action_label;
#line 146 "view-doish.vala"
	synapse_gui_smart_label_set_min_size (_tmp21_, SYNAPSE_GUI_SMART_LABEL_SIZE_SMALL);
#line 147 "view-doish.vala"
	_tmp22_ = self->priv->action_label;
#line 147 "view-doish.vala"
	gtk_widget_set_state_flags ((GtkWidget*) _tmp22_, GTK_STATE_FLAG_SELECTED, FALSE);
#line 148 "view-doish.vala"
	_tmp23_ = self->priv->action_label;
#line 148 "view-doish.vala"
	g_object_set ((GtkMisc*) _tmp23_, "xalign", 0.5f, NULL);
#line 149 "view-doish.vala"
	_tmp24_ = synapse_gui_smart_label_new ();
#line 149 "view-doish.vala"
	g_object_ref_sink (_tmp24_);
#line 149 "view-doish.vala"
	_g_object_unref0 (self->priv->target_label);
#line 149 "view-doish.vala"
	self->priv->target_label = _tmp24_;
#line 150 "view-doish.vala"
	_tmp25_ = self->priv->target_label;
#line 150 "view-doish.vala"
	synapse_gui_smart_label_set_ellipsize (_tmp25_, PANGO_ELLIPSIZE_END);
#line 151 "view-doish.vala"
	_tmp26_ = self->priv->target_label;
#line 151 "view-doish.vala"
	synapse_gui_smart_label_set_size (_tmp26_, SYNAPSE_GUI_SMART_LABEL_SIZE_MEDIUM);
#line 152 "view-doish.vala"
	_tmp27_ = self->priv->target_label;
#line 152 "view-doish.vala"
	synapse_gui_smart_label_set_min_size (_tmp27_, SYNAPSE_GUI_SMART_LABEL_SIZE_SMALL);
#line 153 "view-doish.vala"
	_tmp28_ = self->priv->target_label;
#line 153 "view-doish.vala"
	gtk_widget_set_state_flags ((GtkWidget*) _tmp28_, GTK_STATE_FLAG_SELECTED, FALSE);
#line 154 "view-doish.vala"
	_tmp29_ = self->priv->target_label;
#line 154 "view-doish.vala"
	g_object_set ((GtkMisc*) _tmp29_, "xalign", 0.5f, NULL);
#line 155 "view-doish.vala"
	_tmp30_ = synapse_gui_smart_label_new ();
#line 155 "view-doish.vala"
	g_object_ref_sink (_tmp30_);
#line 155 "view-doish.vala"
	_g_object_unref0 (self->priv->description_label);
#line 155 "view-doish.vala"
	self->priv->description_label = _tmp30_;
#line 156 "view-doish.vala"
	_tmp31_ = self->priv->description_label;
#line 156 "view-doish.vala"
	synapse_gui_smart_label_set_size (_tmp31_, SYNAPSE_GUI_SMART_LABEL_SIZE_SMALL);
#line 157 "view-doish.vala"
	_tmp32_ = self->priv->description_label;
#line 157 "view-doish.vala"
	synapse_gui_smart_label_set_animation_enabled (_tmp32_, TRUE);
#line 158 "view-doish.vala"
	_tmp33_ = self->priv->description_label;
#line 158 "view-doish.vala"
	gtk_widget_set_state_flags ((GtkWidget*) _tmp33_, GTK_STATE_FLAG_SELECTED, FALSE);
#line 159 "view-doish.vala"
	_tmp34_ = self->priv->description_label;
#line 159 "view-doish.vala"
	g_object_set ((GtkMisc*) _tmp34_, "xalign", 0.5f, NULL);
#line 162 "view-doish.vala"
	_tmp35_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
#line 162 "view-doish.vala"
	g_object_ref_sink (_tmp35_);
#line 162 "view-doish.vala"
	categories_hbox = _tmp35_;
#line 164 "view-doish.vala"
	_tmp36_ = synapse_gui_menu_throbber_new ();
#line 164 "view-doish.vala"
	g_object_ref_sink (_tmp36_);
#line 164 "view-doish.vala"
	_g_object_unref0 (self->priv->menuthrobber);
#line 164 "view-doish.vala"
	self->priv->menuthrobber = _tmp36_;
#line 165 "view-doish.vala"
	_tmp37_ = self->priv->menuthrobber;
#line 165 "view-doish.vala"
	gtk_widget_set_state_flags ((GtkWidget*) _tmp37_, GTK_STATE_FLAG_SELECTED, FALSE);
#line 166 "view-doish.vala"
	_tmp38_ = self->priv->menuthrobber;
#line 166 "view-doish.vala"
	_tmp39_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, SYNAPSE_GUI_TYPE_MENU_BUTTON, SynapseGuiMenuButton));
#line 166 "view-doish.vala"
	_g_object_unref0 (((SynapseGuiView*) self)->menu);
#line 166 "view-doish.vala"
	((SynapseGuiView*) self)->menu = _tmp39_;
#line 167 "view-doish.vala"
	_tmp40_ = self->priv->menuthrobber;
#line 167 "view-doish.vala"
	gtk_widget_set_size_request ((GtkWidget*) _tmp40_, 14, 14);
#line 169 "view-doish.vala"
	_tmp41_ = ((SynapseGuiView*) self)->flag_selector;
#line 169 "view-doish.vala"
	gtk_box_pack_start (categories_hbox, (GtkWidget*) _tmp41_, TRUE, TRUE, (guint) 0);
#line 170 "view-doish.vala"
	_tmp42_ = self->priv->menuthrobber;
#line 170 "view-doish.vala"
	gtk_box_pack_start (categories_hbox, (GtkWidget*) _tmp42_, FALSE, TRUE, (guint) 0);
#line 172 "view-doish.vala"
	_tmp43_ = ((SynapseGuiView*) self)->flag_selector;
#line 172 "view-doish.vala"
	synapse_gui_htext_selector_set_selected_markup (_tmp43_, "<span size=\"small\"><b>%s</b></span>");
#line 173 "view-doish.vala"
	_tmp44_ = ((SynapseGuiView*) self)->flag_selector;
#line 173 "view-doish.vala"
	synapse_gui_htext_selector_set_unselected_markup (_tmp44_, "<span size=\"x-small\">%s</span>");
#line 174 "view-doish.vala"
	_tmp45_ = ((SynapseGuiView*) self)->flag_selector;
#line 174 "view-doish.vala"
	gtk_widget_set_state_flags ((GtkWidget*) _tmp45_, GTK_STATE_FLAG_SELECTED, FALSE);
#line 176 "view-doish.vala"
	_tmp46_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
#line 176 "view-doish.vala"
	g_object_ref_sink (_tmp46_);
#line 176 "view-doish.vala"
	hbox_panes = _tmp46_;
#line 179 "view-doish.vala"
	_tmp47_ = (GtkLabel*) gtk_label_new (NULL);
#line 179 "view-doish.vala"
	g_object_ref_sink (_tmp47_);
#line 179 "view-doish.vala"
	_g_object_unref0 (self->priv->sp1);
#line 179 "view-doish.vala"
	self->priv->sp1 = _tmp47_;
#line 180 "view-doish.vala"
	_tmp48_ = (GtkLabel*) gtk_label_new (NULL);
#line 180 "view-doish.vala"
	g_object_ref_sink (_tmp48_);
#line 180 "view-doish.vala"
	_g_object_unref0 (self->priv->sp2);
#line 180 "view-doish.vala"
	self->priv->sp2 = _tmp48_;
#line 183 "view-doish.vala"
	_tmp49_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 183 "view-doish.vala"
	g_object_ref_sink (_tmp49_);
#line 183 "view-doish.vala"
	_g_object_unref0 (self->priv->spane);
#line 183 "view-doish.vala"
	self->priv->spane = _tmp49_;
#line 184 "view-doish.vala"
	_tmp50_ = self->priv->spane;
#line 184 "view-doish.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp50_, (guint) 5);
#line 185 "view-doish.vala"
	_tmp51_ = self->priv->source_icon;
#line 185 "view-doish.vala"
	_tmp52_ = synapse_gui_sensitive_widget_new ((GtkWidget*) _tmp51_);
#line 185 "view-doish.vala"
	g_object_ref_sink (_tmp52_);
#line 185 "view-doish.vala"
	sensitive = _tmp52_;
#line 186 "view-doish.vala"
	_tmp53_ = sensitive;
#line 186 "view-doish.vala"
	synapse_gui_view_make_draggable ((SynapseGuiView*) self, (GtkEventBox*) _tmp53_);
#line 187 "view-doish.vala"
	_tmp54_ = self->priv->spane;
#line 187 "view-doish.vala"
	_tmp55_ = sensitive;
#line 187 "view-doish.vala"
	gtk_box_pack_start (_tmp54_, (GtkWidget*) _tmp55_, FALSE, TRUE, (guint) 0);
#line 188 "view-doish.vala"
	_tmp56_ = self->priv->spane;
#line 188 "view-doish.vala"
	_tmp57_ = self->priv->source_label;
#line 188 "view-doish.vala"
	gtk_box_pack_start (_tmp56_, (GtkWidget*) _tmp57_, FALSE, TRUE, (guint) 0);
#line 191 "view-doish.vala"
	_tmp58_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 191 "view-doish.vala"
	g_object_ref_sink (_tmp58_);
#line 191 "view-doish.vala"
	_g_object_unref0 (self->priv->apane);
#line 191 "view-doish.vala"
	self->priv->apane = _tmp58_;
#line 192 "view-doish.vala"
	_tmp59_ = self->priv->apane;
#line 192 "view-doish.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp59_, (guint) 5);
#line 193 "view-doish.vala"
	_tmp60_ = self->priv->apane;
#line 193 "view-doish.vala"
	_tmp61_ = self->priv->action_icon;
#line 193 "view-doish.vala"
	gtk_box_pack_start (_tmp60_, (GtkWidget*) _tmp61_, FALSE, TRUE, (guint) 0);
#line 194 "view-doish.vala"
	_tmp62_ = self->priv->apane;
#line 194 "view-doish.vala"
	_tmp63_ = self->priv->action_label;
#line 194 "view-doish.vala"
	gtk_box_pack_start (_tmp62_, (GtkWidget*) _tmp63_, FALSE, TRUE, (guint) 0);
#line 196 "view-doish.vala"
	_tmp64_ = self->priv->spane;
#line 196 "view-doish.vala"
	gtk_box_pack_start (hbox_panes, (GtkWidget*) _tmp64_, FALSE, TRUE, (guint) 0);
#line 197 "view-doish.vala"
	_tmp65_ = self->priv->sp1;
#line 197 "view-doish.vala"
	gtk_box_pack_start (hbox_panes, (GtkWidget*) _tmp65_, TRUE, TRUE, (guint) 0);
#line 198 "view-doish.vala"
	_tmp66_ = self->priv->apane;
#line 198 "view-doish.vala"
	gtk_box_pack_start (hbox_panes, (GtkWidget*) _tmp66_, TRUE, TRUE, (guint) 0);
#line 201 "view-doish.vala"
	_tmp67_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 201 "view-doish.vala"
	g_object_ref_sink (_tmp67_);
#line 201 "view-doish.vala"
	_g_object_unref0 (self->priv->tpane);
#line 201 "view-doish.vala"
	self->priv->tpane = _tmp67_;
#line 202 "view-doish.vala"
	_tmp68_ = self->priv->tpane;
#line 202 "view-doish.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp68_, (guint) 5);
#line 203 "view-doish.vala"
	_tmp69_ = self->priv->target_icon;
#line 203 "view-doish.vala"
	_tmp70_ = synapse_gui_sensitive_widget_new ((GtkWidget*) _tmp69_);
#line 203 "view-doish.vala"
	g_object_ref_sink (_tmp70_);
#line 203 "view-doish.vala"
	_g_object_unref0 (sensitive);
#line 203 "view-doish.vala"
	sensitive = _tmp70_;
#line 204 "view-doish.vala"
	_tmp71_ = sensitive;
#line 204 "view-doish.vala"
	synapse_gui_view_make_draggable ((SynapseGuiView*) self, (GtkEventBox*) _tmp71_);
#line 205 "view-doish.vala"
	_tmp72_ = self->priv->tpane;
#line 205 "view-doish.vala"
	_tmp73_ = sensitive;
#line 205 "view-doish.vala"
	gtk_box_pack_start (_tmp72_, (GtkWidget*) _tmp73_, FALSE, TRUE, (guint) 0);
#line 206 "view-doish.vala"
	_tmp74_ = self->priv->tpane;
#line 206 "view-doish.vala"
	_tmp75_ = self->priv->target_label;
#line 206 "view-doish.vala"
	gtk_box_pack_start (_tmp74_, (GtkWidget*) _tmp75_, FALSE, TRUE, (guint) 0);
#line 208 "view-doish.vala"
	_tmp76_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 208 "view-doish.vala"
	g_object_ref_sink (_tmp76_);
#line 208 "view-doish.vala"
	_g_object_unref0 (self->priv->target_container);
#line 208 "view-doish.vala"
	self->priv->target_container = _tmp76_;
#line 209 "view-doish.vala"
	_tmp77_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
#line 209 "view-doish.vala"
	g_object_ref_sink (_tmp77_);
#line 209 "view-doish.vala"
	hb = _tmp77_;
#line 210 "view-doish.vala"
	_tmp78_ = self->priv->sp2;
#line 210 "view-doish.vala"
	gtk_box_pack_start (hb, (GtkWidget*) _tmp78_, FALSE, TRUE, (guint) 0);
#line 211 "view-doish.vala"
	_tmp79_ = self->priv->tpane;
#line 211 "view-doish.vala"
	gtk_box_pack_start (hb, (GtkWidget*) _tmp79_, FALSE, FALSE, (guint) 0);
#line 212 "view-doish.vala"
	_tmp80_ = self->priv->target_container;
#line 212 "view-doish.vala"
	_tmp81_ = synapse_gui_clone_widget_new ((GtkWidget*) categories_hbox);
#line 212 "view-doish.vala"
	g_object_ref_sink (_tmp81_);
#line 212 "view-doish.vala"
	_tmp82_ = _tmp81_;
#line 212 "view-doish.vala"
	gtk_box_pack_start (_tmp80_, (GtkWidget*) _tmp82_, FALSE, TRUE, (guint) 0);
#line 212 "view-doish.vala"
	_g_object_unref0 (_tmp82_);
#line 213 "view-doish.vala"
	_tmp83_ = self->priv->target_container;
#line 213 "view-doish.vala"
	gtk_box_pack_start (_tmp83_, (GtkWidget*) hb, FALSE, TRUE, (guint) 5);
#line 214 "view-doish.vala"
	_tmp84_ = self->priv->target_container;
#line 214 "view-doish.vala"
	_tmp85_ = (GtkLabel*) gtk_label_new (NULL);
#line 214 "view-doish.vala"
	g_object_ref_sink (_tmp85_);
#line 214 "view-doish.vala"
	_tmp86_ = _tmp85_;
#line 214 "view-doish.vala"
	gtk_box_pack_start (_tmp84_, (GtkWidget*) _tmp86_, TRUE, TRUE, (guint) 0);
#line 214 "view-doish.vala"
	_g_object_unref0 (_tmp86_);
#line 217 "view-doish.vala"
	synapse_gui_view_prepare_results_container ((SynapseGuiView*) self, &_tmp87_, &_tmp88_, &_tmp89_, &_tmp90_, GTK_STATE_FLAG_SELECTED, TRUE);
#line 217 "view-doish.vala"
	_g_object_unref0 (self->priv->results_container);
#line 217 "view-doish.vala"
	self->priv->results_container = _tmp87_;
#line 217 "view-doish.vala"
	_g_object_unref0 (self->priv->results_sources);
#line 217 "view-doish.vala"
	self->priv->results_sources = _tmp88_;
#line 217 "view-doish.vala"
	_g_object_unref0 (self->priv->results_actions);
#line 217 "view-doish.vala"
	self->priv->results_actions = _tmp89_;
#line 217 "view-doish.vala"
	_g_object_unref0 (self->priv->results_targets);
#line 217 "view-doish.vala"
	self->priv->results_targets = _tmp90_;
#line 220 "view-doish.vala"
	_tmp91_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 220 "view-doish.vala"
	g_object_ref_sink (_tmp91_);
#line 220 "view-doish.vala"
	_g_object_unref0 (self->priv->container);
#line 220 "view-doish.vala"
	self->priv->container = _tmp91_;
#line 221 "view-doish.vala"
	_tmp92_ = self->priv->container;
#line 221 "view-doish.vala"
	gtk_box_pack_start (_tmp92_, (GtkWidget*) categories_hbox, FALSE, TRUE, (guint) 0);
#line 222 "view-doish.vala"
	_tmp93_ = self->priv->container;
#line 222 "view-doish.vala"
	gtk_box_pack_start (_tmp93_, (GtkWidget*) hbox_panes, FALSE, TRUE, (guint) 5);
#line 223 "view-doish.vala"
	_tmp94_ = self->priv->container;
#line 223 "view-doish.vala"
	_tmp95_ = self->priv->description_label;
#line 223 "view-doish.vala"
	gtk_box_pack_start (_tmp94_, (GtkWidget*) _tmp95_, FALSE, TRUE, (guint) 0);
#line 224 "view-doish.vala"
	_tmp96_ = self->priv->container;
#line 224 "view-doish.vala"
	_tmp97_ = ((SynapseGuiView*) self)->spacer;
#line 224 "view-doish.vala"
	gtk_box_pack_start (_tmp96_, (GtkWidget*) _tmp97_, FALSE, TRUE, (guint) 0);
#line 225 "view-doish.vala"
	_tmp98_ = self->priv->container;
#line 225 "view-doish.vala"
	_tmp99_ = self->priv->results_container;
#line 225 "view-doish.vala"
	gtk_box_pack_start (_tmp98_, (GtkWidget*) _tmp99_, FALSE, TRUE, (guint) 0);
#line 227 "view-doish.vala"
	_tmp100_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
#line 227 "view-doish.vala"
	g_object_ref_sink (_tmp100_);
#line 227 "view-doish.vala"
	main_container = _tmp100_;
#line 228 "view-doish.vala"
	_tmp101_ = self->priv->container;
#line 228 "view-doish.vala"
	gtk_box_pack_start (main_container, (GtkWidget*) _tmp101_, FALSE, TRUE, (guint) 0);
#line 229 "view-doish.vala"
	_tmp102_ = self->priv->target_container;
#line 229 "view-doish.vala"
	gtk_box_pack_start (main_container, (GtkWidget*) _tmp102_, FALSE, TRUE, (guint) 0);
#line 231 "view-doish.vala"
	gtk_widget_show_all ((GtkWidget*) main_container);
#line 232 "view-doish.vala"
	_tmp103_ = self->priv->results_container;
#line 232 "view-doish.vala"
	gtk_widget_hide ((GtkWidget*) _tmp103_);
#line 234 "view-doish.vala"
	gtk_container_add ((GtkContainer*) self, (GtkWidget*) main_container);
#line 119 "view-doish.vala"
	_g_object_unref0 (main_container);
#line 119 "view-doish.vala"
	_g_object_unref0 (hb);
#line 119 "view-doish.vala"
	_g_object_unref0 (sensitive);
#line 119 "view-doish.vala"
	_g_object_unref0 (hbox_panes);
#line 119 "view-doish.vala"
	_g_object_unref0 (categories_hbox);
#line 1378 "view-doish.c"
}

static gboolean
synapse_gui_view_doish_real_is_list_visible (SynapseGuiView* base)
{
	SynapseGuiViewDoish * self;
	SynapseGuiSelectionContainer* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	gboolean result;
#line 237 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 239 "view-doish.vala"
	_tmp0_ = self->priv->results_container;
#line 239 "view-doish.vala"
	_tmp1_ = gtk_widget_get_visible ((GtkWidget*) _tmp0_);
#line 239 "view-doish.vala"
	_tmp2_ = _tmp1_;
#line 239 "view-doish.vala"
	result = _tmp2_;
#line 239 "view-doish.vala"
	return result;
#line 1401 "view-doish.c"
}

static void
synapse_gui_view_doish_real_set_list_visible (SynapseGuiView* base,
                                              gboolean visible)
{
	SynapseGuiViewDoish * self;
	SynapseGuiSelectionContainer* _tmp0_;
#line 242 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 244 "view-doish.vala"
	_tmp0_ = self->priv->results_container;
#line 244 "view-doish.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp0_, visible);
#line 1416 "view-doish.c"
}

static void
synapse_gui_view_doish_real_set_throbber_visible (SynapseGuiView* base,
                                                  gboolean visible)
{
	SynapseGuiViewDoish * self;
	SynapseGuiMenuThrobber* _tmp0_;
#line 247 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 249 "view-doish.vala"
	_tmp0_ = self->priv->menuthrobber;
#line 249 "view-doish.vala"
	synapse_gui_menu_throbber_set_active (_tmp0_, visible);
#line 1431 "view-doish.c"
}

static void
synapse_gui_view_doish_real_update_searching_for (SynapseGuiView* base)
{
	SynapseGuiViewDoish * self;
	SynapseGuiSelectionContainer* _tmp0_;
	SynapseGuiModel* _tmp1_;
#line 252 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 254 "view-doish.vala"
	synapse_gui_view_doish_update_labels (self);
#line 255 "view-doish.vala"
	_tmp0_ = self->priv->results_container;
#line 255 "view-doish.vala"
	_tmp1_ = ((SynapseGuiView*) self)->model;
#line 255 "view-doish.vala"
	synapse_gui_selection_container_select_child (_tmp0_, (gint) _tmp1_->searching_for);
#line 256 "view-doish.vala"
	gtk_widget_queue_draw ((GtkWidget*) self);
#line 1452 "view-doish.c"
}

static void
synapse_gui_view_doish_real_update_selected_category (SynapseGuiView* base)
{
	SynapseGuiViewDoish * self;
	SynapseGuiHTextSelector* _tmp0_;
	SynapseGuiModel* _tmp1_;
#line 259 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 261 "view-doish.vala"
	_tmp0_ = ((SynapseGuiView*) self)->flag_selector;
#line 261 "view-doish.vala"
	_tmp1_ = ((SynapseGuiView*) self)->model;
#line 261 "view-doish.vala"
	synapse_gui_htext_selector_set_selected (_tmp0_, _tmp1_->selected_category);
#line 1469 "view-doish.c"
}

static void
synapse_gui_view_doish_real_paint_background (SynapseGuiView* base,
                                              cairo_t* ctx)
{
	SynapseGuiViewDoish * self;
	gboolean comp = FALSE;
	gdouble r = 0.0;
	gdouble b = 0.0;
	gdouble g = 0.0;
	GtkAllocation spacer_allocation = {0};
	GtkAllocation flag_selector_allocation = {0};
	GtkAllocation spane_allocation = {0};
	GtkAllocation apane_allocation = {0};
	GtkLabel* _tmp0_;
	GtkAllocation _tmp1_ = {0};
	SynapseGuiHTextSelector* _tmp2_;
	GtkAllocation _tmp3_ = {0};
	GtkBox* _tmp4_;
	GtkAllocation _tmp5_ = {0};
	GtkBox* _tmp6_;
	GtkAllocation _tmp7_ = {0};
	gboolean _tmp8_ = FALSE;
	gint width = 0;
	gint height = 0;
	GtkAllocation _tmp20_;
	cairo_pattern_t* pat = NULL;
	cairo_pattern_t* _tmp21_;
	SynapseGuiUtilsColorHelper* _tmp22_;
	cairo_pattern_t* _tmp23_;
	SynapseGuiUtilsColorHelper* _tmp24_;
	cairo_pattern_t* _tmp25_;
	GtkBox* _tmp26_;
	gboolean _tmp27_;
	gboolean _tmp28_;
	gint delta = 0;
	GtkAllocation _tmp49_;
	cairo_pattern_t* _tmp50_;
	cairo_pattern_t* _tmp51_;
	cairo_pattern_t* _tmp52_;
	cairo_pattern_t* _tmp53_;
	cairo_pattern_t* _tmp54_;
	cairo_pattern_t* _tmp55_;
	GtkAllocation _tmp56_;
	GtkAllocation _tmp57_;
	GtkAllocation _tmp58_;
	GtkAllocation _tmp59_;
	gdouble _tmp60_ = 0.0;
	SynapseGuiModel* _tmp61_;
	SynapseGuiUtilsColorHelper* _tmp62_;
	GtkAllocation _tmp63_;
	GtkAllocation _tmp64_;
	GtkAllocation _tmp65_;
	GtkAllocation _tmp66_;
	gdouble _tmp67_ = 0.0;
	SynapseGuiModel* _tmp68_;
	SynapseGuiUtilsColorHelper* _tmp69_;
#line 264 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 264 "view-doish.vala"
	g_return_if_fail (ctx != NULL);
#line 266 "view-doish.vala"
	comp = gtk_widget_is_composited ((GtkWidget*) self);
#line 267 "view-doish.vala"
	r = (gdouble) 0;
#line 267 "view-doish.vala"
	b = (gdouble) 0;
#line 267 "view-doish.vala"
	g = (gdouble) 0;
#line 271 "view-doish.vala"
	_tmp0_ = ((SynapseGuiView*) self)->spacer;
#line 271 "view-doish.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp0_, &_tmp1_);
#line 271 "view-doish.vala"
	spacer_allocation = _tmp1_;
#line 272 "view-doish.vala"
	_tmp2_ = ((SynapseGuiView*) self)->flag_selector;
#line 272 "view-doish.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp2_, &_tmp3_);
#line 272 "view-doish.vala"
	flag_selector_allocation = _tmp3_;
#line 273 "view-doish.vala"
	_tmp4_ = self->priv->spane;
#line 273 "view-doish.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp4_, &_tmp5_);
#line 273 "view-doish.vala"
	spane_allocation = _tmp5_;
#line 274 "view-doish.vala"
	_tmp6_ = self->priv->apane;
#line 274 "view-doish.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp6_, &_tmp7_);
#line 274 "view-doish.vala"
	apane_allocation = _tmp7_;
#line 276 "view-doish.vala"
	if (synapse_gui_view_is_list_visible ((SynapseGuiView*) self)) {
#line 276 "view-doish.vala"
		_tmp8_ = TRUE;
#line 1568 "view-doish.c"
	} else {
#line 276 "view-doish.vala"
		_tmp8_ = !comp;
#line 1572 "view-doish.c"
	}
#line 276 "view-doish.vala"
	if (_tmp8_) {
#line 1576 "view-doish.c"
		gboolean _tmp9_ = FALSE;
		SynapseGuiUtilsColorHelper* _tmp16_;
		GtkAllocation _tmp17_;
		GtkAllocation _tmp18_;
		GtkAllocation _tmp19_;
#line 278 "view-doish.vala"
		if (comp) {
#line 278 "view-doish.vala"
			_tmp9_ = synapse_gui_view_is_list_visible ((SynapseGuiView*) self);
#line 1586 "view-doish.c"
		} else {
#line 278 "view-doish.vala"
			_tmp9_ = FALSE;
#line 1590 "view-doish.c"
		}
#line 278 "view-doish.vala"
		if (_tmp9_) {
#line 1594 "view-doish.c"
			GtkAllocation results_container_allocation = {0};
			SynapseGuiSelectionContainer* _tmp10_;
			GtkAllocation _tmp11_ = {0};
			GtkAllocation _tmp12_;
			GtkAllocation _tmp13_;
			GtkAllocation _tmp14_;
			GtkAllocation _tmp15_;
#line 281 "view-doish.vala"
			_tmp10_ = self->priv->results_container;
#line 281 "view-doish.vala"
			gtk_widget_get_allocation ((GtkWidget*) _tmp10_, &_tmp11_);
#line 281 "view-doish.vala"
			results_container_allocation = _tmp11_;
#line 282 "view-doish.vala"
			cairo_translate (ctx, 0.5, 0.5);
#line 283 "view-doish.vala"
			cairo_set_operator (ctx, CAIRO_OPERATOR_OVER);
#line 284 "view-doish.vala"
			_tmp12_ = results_container_allocation;
#line 284 "view-doish.vala"
			_tmp13_ = results_container_allocation;
#line 284 "view-doish.vala"
			_tmp14_ = results_container_allocation;
#line 284 "view-doish.vala"
			_tmp15_ = results_container_allocation;
#line 284 "view-doish.vala"
			synapse_gui_utils_cairo_make_shadow_for_rect (ctx, (gdouble) _tmp12_.x, (gdouble) _tmp13_.y, (gdouble) (_tmp14_.width - 1), (gdouble) (_tmp15_.height - 1), (gdouble) 0, r, g, b, (gdouble) ((SynapseGuiView*) self)->SHADOW_SIZE);
#line 289 "view-doish.vala"
			cairo_translate (ctx, -0.5, -0.5);
#line 1624 "view-doish.c"
		}
#line 291 "view-doish.vala"
		cairo_set_operator (ctx, CAIRO_OPERATOR_SOURCE);
#line 292 "view-doish.vala"
		_tmp16_ = ((SynapseGuiView*) self)->ch;
#line 292 "view-doish.vala"
		synapse_gui_utils_color_helper_set_source_rgba (_tmp16_, ctx, 1.0, SYNAPSE_GUI_STYLE_TYPE_BASE, GTK_STATE_FLAG_NORMAL, SYNAPSE_GUI_MOD_NORMAL);
#line 293 "view-doish.vala"
		_tmp17_ = spacer_allocation;
#line 293 "view-doish.vala"
		_tmp18_ = spacer_allocation;
#line 293 "view-doish.vala"
		_tmp19_ = spacer_allocation;
#line 293 "view-doish.vala"
		cairo_rectangle (ctx, (gdouble) _tmp17_.x, (gdouble) (_tmp18_.y + ((SynapseGuiView*) self)->BORDER_RADIUS), (gdouble) _tmp19_.width, (gdouble) ((SynapseGuiView*) self)->SHADOW_SIZE);
#line 294 "view-doish.vala"
		cairo_fill (ctx);
#line 1642 "view-doish.c"
	}
#line 297 "view-doish.vala"
	width = gtk_widget_get_allocated_width ((GtkWidget*) self);
#line 298 "view-doish.vala"
	_tmp20_ = spacer_allocation;
#line 298 "view-doish.vala"
	height = (_tmp20_.y + ((SynapseGuiView*) self)->BORDER_RADIUS) + ((SynapseGuiView*) self)->SHADOW_SIZE;
#line 301 "view-doish.vala"
	_tmp21_ = cairo_pattern_create_linear ((gdouble) 0, (gdouble) 0, (gdouble) 0, (gdouble) height);
#line 301 "view-doish.vala"
	pat = _tmp21_;
#line 302 "view-doish.vala"
	b = 0.12;
#line 302 "view-doish.vala"
	g = b;
#line 302 "view-doish.vala"
	r = g;
#line 303 "view-doish.vala"
	_tmp22_ = ((SynapseGuiView*) self)->ch;
#line 303 "view-doish.vala"
	synapse_gui_utils_color_helper_get_color_colorized (_tmp22_, &r, &g, &b, SYNAPSE_GUI_STYLE_TYPE_BG, GTK_STATE_FLAG_SELECTED, SYNAPSE_GUI_MOD_NORMAL);
#line 304 "view-doish.vala"
	_tmp23_ = pat;
#line 304 "view-doish.vala"
	cairo_pattern_add_color_stop_rgba (_tmp23_, 0.0, r, g, b, 0.95);
#line 305 "view-doish.vala"
	b = 0.4;
#line 305 "view-doish.vala"
	g = b;
#line 305 "view-doish.vala"
	r = g;
#line 306 "view-doish.vala"
	_tmp24_ = ((SynapseGuiView*) self)->ch;
#line 306 "view-doish.vala"
	synapse_gui_utils_color_helper_get_color_colorized (_tmp24_, &r, &g, &b, SYNAPSE_GUI_STYLE_TYPE_BG, GTK_STATE_FLAG_SELECTED, SYNAPSE_GUI_MOD_NORMAL);
#line 307 "view-doish.vala"
	_tmp25_ = pat;
#line 307 "view-doish.vala"
	cairo_pattern_add_color_stop_rgba (_tmp25_, 1.0, r, g, b, 1.0);
#line 309 "view-doish.vala"
	b = 0.0;
#line 309 "view-doish.vala"
	g = b;
#line 309 "view-doish.vala"
	r = g;
#line 311 "view-doish.vala"
	_tmp26_ = self->priv->target_container;
#line 311 "view-doish.vala"
	_tmp27_ = gtk_widget_get_visible ((GtkWidget*) _tmp26_);
#line 311 "view-doish.vala"
	_tmp28_ = _tmp27_;
#line 311 "view-doish.vala"
	if (_tmp28_) {
#line 1696 "view-doish.c"
		GtkAllocation target_container_allocation = {0};
		GtkAllocation tpane_allocation = {0};
		GtkBox* _tmp29_;
		GtkAllocation _tmp30_ = {0};
		GtkBox* _tmp31_;
		GtkAllocation _tmp32_ = {0};
		GtkAllocation _tmp33_;
		GtkAllocation _tmp34_;
		GtkAllocation _tmp35_;
		GtkAllocation _tmp36_;
		GtkAllocation _tmp37_;
		GtkAllocation _tmp38_;
		GtkAllocation _tmp39_;
		GtkAllocation _tmp40_;
		GtkAllocation _tmp41_;
		cairo_pattern_t* _tmp42_;
		SynapseGuiModel* _tmp43_;
#line 314 "view-doish.vala"
		_tmp29_ = self->priv->target_container;
#line 314 "view-doish.vala"
		gtk_widget_get_allocation ((GtkWidget*) _tmp29_, &_tmp30_);
#line 314 "view-doish.vala"
		target_container_allocation = _tmp30_;
#line 315 "view-doish.vala"
		_tmp31_ = self->priv->tpane;
#line 315 "view-doish.vala"
		gtk_widget_get_allocation ((GtkWidget*) _tmp31_, &_tmp32_);
#line 315 "view-doish.vala"
		tpane_allocation = _tmp32_;
#line 317 "view-doish.vala"
		_tmp33_ = target_container_allocation;
#line 317 "view-doish.vala"
		width -= _tmp33_.width;
#line 319 "view-doish.vala"
		cairo_save (ctx);
#line 320 "view-doish.vala"
		cairo_translate (ctx, 0.5, 0.5);
#line 321 "view-doish.vala"
		cairo_set_operator (ctx, CAIRO_OPERATOR_OVER);
#line 322 "view-doish.vala"
		_tmp34_ = target_container_allocation;
#line 322 "view-doish.vala"
		_tmp35_ = tpane_allocation;
#line 322 "view-doish.vala"
		_tmp36_ = target_container_allocation;
#line 322 "view-doish.vala"
		_tmp37_ = tpane_allocation;
#line 322 "view-doish.vala"
		synapse_gui_utils_cairo_make_shadow_for_rect (ctx, (gdouble) (_tmp34_.x - ((SynapseGuiView*) self)->BORDER_RADIUS), (gdouble) _tmp35_.y, (gdouble) ((_tmp36_.width - 1) + ((SynapseGuiView*) self)->BORDER_RADIUS), (gdouble) (_tmp37_.height - 1), (gdouble) 15, r, g, b, (gdouble) ((SynapseGuiView*) self)->SHADOW_SIZE);
#line 326 "view-doish.vala"
		cairo_translate (ctx, -0.5, -0.5);
#line 327 "view-doish.vala"
		_tmp38_ = target_container_allocation;
#line 327 "view-doish.vala"
		_tmp39_ = tpane_allocation;
#line 327 "view-doish.vala"
		_tmp40_ = target_container_allocation;
#line 327 "view-doish.vala"
		_tmp41_ = tpane_allocation;
#line 327 "view-doish.vala"
		synapse_gui_utils_cairo_rounded_rect (ctx, (gdouble) (_tmp38_.x - ((SynapseGuiView*) self)->BORDER_RADIUS), (gdouble) _tmp39_.y, (gdouble) (_tmp40_.width + ((SynapseGuiView*) self)->BORDER_RADIUS), (gdouble) _tmp41_.height, (gdouble) 15);
#line 331 "view-doish.vala"
		cairo_set_operator (ctx, CAIRO_OPERATOR_SOURCE);
#line 332 "view-doish.vala"
		_tmp42_ = pat;
#line 332 "view-doish.vala"
		cairo_set_source (ctx, _tmp42_);
#line 333 "view-doish.vala"
		cairo_clip (ctx);
#line 334 "view-doish.vala"
		cairo_paint (ctx);
#line 335 "view-doish.vala"
		_tmp43_ = ((SynapseGuiView*) self)->model;
#line 335 "view-doish.vala"
		if (_tmp43_->searching_for == SYNAPSE_GUI_SEARCHING_FOR_TARGETS) {
#line 1772 "view-doish.c"
			GtkAllocation _tmp44_;
			GtkAllocation _tmp45_;
			GtkAllocation _tmp46_;
			GtkAllocation _tmp47_;
			SynapseGuiUtilsColorHelper* _tmp48_;
#line 337 "view-doish.vala"
			cairo_set_operator (ctx, CAIRO_OPERATOR_OVER);
#line 338 "view-doish.vala"
			_tmp44_ = tpane_allocation;
#line 338 "view-doish.vala"
			_tmp45_ = tpane_allocation;
#line 338 "view-doish.vala"
			_tmp46_ = tpane_allocation;
#line 338 "view-doish.vala"
			_tmp47_ = tpane_allocation;
#line 338 "view-doish.vala"
			synapse_gui_utils_cairo_rounded_rect (ctx, (gdouble) _tmp44_.x, (gdouble) _tmp45_.y, (gdouble) _tmp46_.width, (gdouble) _tmp47_.height, (gdouble) 15);
#line 343 "view-doish.vala"
			_tmp48_ = ((SynapseGuiView*) self)->ch;
#line 343 "view-doish.vala"
			synapse_gui_utils_color_helper_set_source_rgba (_tmp48_, ctx, 0.3, SYNAPSE_GUI_STYLE_TYPE_FG, GTK_STATE_FLAG_SELECTED, SYNAPSE_GUI_MOD_NORMAL);
#line 345 "view-doish.vala"
			cairo_clip (ctx);
#line 346 "view-doish.vala"
			cairo_paint (ctx);
#line 1798 "view-doish.c"
		}
#line 348 "view-doish.vala"
		cairo_restore (ctx);
#line 1802 "view-doish.c"
	}
#line 351 "view-doish.vala"
	_tmp49_ = flag_selector_allocation;
#line 351 "view-doish.vala"
	delta = _tmp49_.y - ((SynapseGuiView*) self)->BORDER_RADIUS;
#line 352 "view-doish.vala"
	if (!comp) {
#line 352 "view-doish.vala"
		delta = 0;
#line 1812 "view-doish.c"
	}
#line 354 "view-doish.vala"
	cairo_save (ctx);
#line 355 "view-doish.vala"
	cairo_translate (ctx, (gdouble) ((SynapseGuiView*) self)->SHADOW_SIZE, (gdouble) delta);
#line 356 "view-doish.vala"
	width -= ((SynapseGuiView*) self)->SHADOW_SIZE * 2;
#line 357 "view-doish.vala"
	height -= ((SynapseGuiView*) self)->SHADOW_SIZE + delta;
#line 359 "view-doish.vala"
	cairo_translate (ctx, 0.5, 0.5);
#line 360 "view-doish.vala"
	cairo_set_operator (ctx, CAIRO_OPERATOR_OVER);
#line 361 "view-doish.vala"
	synapse_gui_utils_cairo_make_shadow_for_rect (ctx, (gdouble) 0, (gdouble) 0, (gdouble) (width - 1), (gdouble) (height - 1), (gdouble) ((SynapseGuiView*) self)->BORDER_RADIUS, r, g, b, (gdouble) ((SynapseGuiView*) self)->SHADOW_SIZE);
#line 362 "view-doish.vala"
	cairo_translate (ctx, -0.5, -0.5);
#line 364 "view-doish.vala"
	synapse_gui_utils_cairo_rounded_rect (ctx, (gdouble) 0, (gdouble) 0, (gdouble) width, (gdouble) height, (gdouble) ((SynapseGuiView*) self)->BORDER_RADIUS);
#line 365 "view-doish.vala"
	_tmp50_ = pat;
#line 365 "view-doish.vala"
	cairo_set_source (ctx, _tmp50_);
#line 366 "view-doish.vala"
	cairo_set_operator (ctx, CAIRO_OPERATOR_SOURCE);
#line 367 "view-doish.vala"
	cairo_clip (ctx);
#line 368 "view-doish.vala"
	cairo_paint (ctx);
#line 371 "view-doish.vala"
	cairo_set_operator (ctx, CAIRO_OPERATOR_OVER);
#line 372 "view-doish.vala"
	cairo_new_path (ctx);
#line 373 "view-doish.vala"
	cairo_move_to (ctx, (gdouble) 0, (gdouble) 0);
#line 374 "view-doish.vala"
	cairo_rel_line_to (ctx, 0.0, height / 3.0);
#line 375 "view-doish.vala"
	cairo_rel_curve_to (ctx, width / 4.0, (-height) / 10.0, (width / 4.0) * 3.0, (-height) / 10.0, (gdouble) width, 0.0);
#line 376 "view-doish.vala"
	cairo_rel_line_to (ctx, 0.0, (-height) / 3.0);
#line 377 "view-doish.vala"
	cairo_close_path (ctx);
#line 378 "view-doish.vala"
	_tmp51_ = cairo_pattern_create_linear ((gdouble) 0, height / 10.0, (gdouble) 0, height / 3.0);
#line 378 "view-doish.vala"
	_cairo_pattern_destroy0 (pat);
#line 378 "view-doish.vala"
	pat = _tmp51_;
#line 379 "view-doish.vala"
	_tmp52_ = pat;
#line 379 "view-doish.vala"
	cairo_pattern_add_color_stop_rgba (_tmp52_, 0.0, 1.0, 1.0, 1.0, 0.0);
#line 380 "view-doish.vala"
	_tmp53_ = pat;
#line 380 "view-doish.vala"
	cairo_pattern_add_color_stop_rgba (_tmp53_, 0.7, 1.0, 1.0, 1.0, 0.4);
#line 381 "view-doish.vala"
	_tmp54_ = pat;
#line 381 "view-doish.vala"
	cairo_pattern_add_color_stop_rgba (_tmp54_, 1.0, 1.0, 1.0, 1.0, 0.9);
#line 382 "view-doish.vala"
	_tmp55_ = pat;
#line 382 "view-doish.vala"
	cairo_set_source (ctx, _tmp55_);
#line 383 "view-doish.vala"
	cairo_clip (ctx);
#line 384 "view-doish.vala"
	cairo_paint (ctx);
#line 386 "view-doish.vala"
	cairo_restore (ctx);
#line 389 "view-doish.vala"
	cairo_set_operator (ctx, CAIRO_OPERATOR_OVER);
#line 390 "view-doish.vala"
	cairo_save (ctx);
#line 391 "view-doish.vala"
	_tmp56_ = spane_allocation;
#line 391 "view-doish.vala"
	_tmp57_ = spane_allocation;
#line 391 "view-doish.vala"
	_tmp58_ = spane_allocation;
#line 391 "view-doish.vala"
	_tmp59_ = spane_allocation;
#line 391 "view-doish.vala"
	synapse_gui_utils_cairo_rounded_rect (ctx, (gdouble) _tmp56_.x, (gdouble) _tmp57_.y, (gdouble) _tmp58_.width, (gdouble) _tmp59_.height, (gdouble) 15);
#line 396 "view-doish.vala"
	_tmp61_ = ((SynapseGuiView*) self)->model;
#line 396 "view-doish.vala"
	if (_tmp61_->searching_for == SYNAPSE_GUI_SEARCHING_FOR_SOURCES) {
#line 396 "view-doish.vala"
		_tmp60_ = 0.3;
#line 1904 "view-doish.c"
	} else {
#line 396 "view-doish.vala"
		_tmp60_ = 0.08;
#line 1908 "view-doish.c"
	}
#line 396 "view-doish.vala"
	_tmp62_ = ((SynapseGuiView*) self)->ch;
#line 396 "view-doish.vala"
	synapse_gui_utils_color_helper_set_source_rgba (_tmp62_, ctx, _tmp60_, SYNAPSE_GUI_STYLE_TYPE_FG, GTK_STATE_FLAG_SELECTED, SYNAPSE_GUI_MOD_NORMAL);
#line 398 "view-doish.vala"
	cairo_clip (ctx);
#line 399 "view-doish.vala"
	cairo_paint (ctx);
#line 400 "view-doish.vala"
	cairo_restore (ctx);
#line 402 "view-doish.vala"
	cairo_save (ctx);
#line 403 "view-doish.vala"
	_tmp63_ = apane_allocation;
#line 403 "view-doish.vala"
	_tmp64_ = apane_allocation;
#line 403 "view-doish.vala"
	_tmp65_ = apane_allocation;
#line 403 "view-doish.vala"
	_tmp66_ = apane_allocation;
#line 403 "view-doish.vala"
	synapse_gui_utils_cairo_rounded_rect (ctx, (gdouble) _tmp63_.x, (gdouble) _tmp64_.y, (gdouble) _tmp65_.width, (gdouble) _tmp66_.height, (gdouble) 15);
#line 408 "view-doish.vala"
	_tmp68_ = ((SynapseGuiView*) self)->model;
#line 408 "view-doish.vala"
	if (_tmp68_->searching_for == SYNAPSE_GUI_SEARCHING_FOR_ACTIONS) {
#line 408 "view-doish.vala"
		_tmp67_ = 0.3;
#line 1938 "view-doish.c"
	} else {
#line 408 "view-doish.vala"
		_tmp67_ = 0.08;
#line 1942 "view-doish.c"
	}
#line 408 "view-doish.vala"
	_tmp69_ = ((SynapseGuiView*) self)->ch;
#line 408 "view-doish.vala"
	synapse_gui_utils_color_helper_set_source_rgba (_tmp69_, ctx, _tmp67_, SYNAPSE_GUI_STYLE_TYPE_FG, GTK_STATE_FLAG_SELECTED, SYNAPSE_GUI_MOD_NORMAL);
#line 410 "view-doish.vala"
	cairo_clip (ctx);
#line 411 "view-doish.vala"
	cairo_paint (ctx);
#line 412 "view-doish.vala"
	cairo_restore (ctx);
#line 264 "view-doish.vala"
	_cairo_pattern_destroy0 (pat);
#line 1956 "view-doish.c"
}

static void
synapse_gui_view_doish_update_labels (SynapseGuiViewDoish* self)
{
	SynapseGuiEntry* focus = NULL;
	SynapseGuiModel* _tmp0_;
	SynapseGuiEntry* _tmp1_;
	SynapseGuiEntry* _tmp2_;
	gconstpointer _tmp3_;
	gconstpointer _tmp4_;
	SynapseGuiModel* _tmp28_;
	GtkBox* _tmp31_;
	SynapseGuiModel* _tmp32_;
#line 415 "view-doish.vala"
	g_return_if_fail (self != NULL);
#line 417 "view-doish.vala"
	_tmp0_ = ((SynapseGuiView*) self)->model;
#line 417 "view-doish.vala"
	_tmp1_ = synapse_gui_model_get_actual_focus (_tmp0_);
#line 417 "view-doish.vala"
	focus = _tmp1_;
#line 418 "view-doish.vala"
	_tmp2_ = focus;
#line 418 "view-doish.vala"
	_tmp3_ = synapse_gui_entry_get_value (_tmp2_);
#line 418 "view-doish.vala"
	_tmp4_ = _tmp3_;
#line 418 "view-doish.vala"
	if (((SynapseMatch*) _tmp4_) == NULL) {
#line 1987 "view-doish.c"
		SynapseGuiIController* _tmp5_;
		SynapseGuiIController* _tmp6_;
#line 420 "view-doish.vala"
		_tmp5_ = synapse_gui_iview_get_controller ((SynapseGuiIView*) self);
#line 420 "view-doish.vala"
		_tmp6_ = _tmp5_;
#line 420 "view-doish.vala"
		if (synapse_gui_icontroller_is_in_initial_state (_tmp6_)) {
#line 1996 "view-doish.c"
			SynapseGuiSmartLabel* _tmp7_;
			const gchar* _tmp8_;
			SynapseGuiSmartLabel* _tmp9_;
			const gchar* _tmp10_;
#line 422 "view-doish.vala"
			_tmp7_ = self->priv->source_label;
#line 422 "view-doish.vala"
			_tmp8_ = synapse_gui_icontroller_TYPE_TO_SEARCH;
#line 422 "view-doish.vala"
			synapse_gui_smart_label_set_text (_tmp7_, _tmp8_);
#line 423 "view-doish.vala"
			_tmp9_ = self->priv->description_label;
#line 423 "view-doish.vala"
			_tmp10_ = synapse_gui_icontroller_DOWN_TO_SEE_RECENT;
#line 423 "view-doish.vala"
			synapse_gui_smart_label_set_text (_tmp9_, _tmp10_);
#line 2013 "view-doish.c"
		} else {
			SynapseGuiIController* _tmp11_;
			SynapseGuiIController* _tmp12_;
#line 425 "view-doish.vala"
			_tmp11_ = synapse_gui_iview_get_controller ((SynapseGuiIView*) self);
#line 425 "view-doish.vala"
			_tmp12_ = _tmp11_;
#line 425 "view-doish.vala"
			if (synapse_gui_icontroller_searched_for_recent (_tmp12_)) {
#line 2023 "view-doish.c"
				SynapseGuiSmartLabel* _tmp13_;
				const gchar* _tmp14_;
#line 427 "view-doish.vala"
				_tmp13_ = self->priv->description_label;
#line 427 "view-doish.vala"
				_tmp14_ = synapse_gui_icontroller_NO_RECENT_ACTIVITIES;
#line 427 "view-doish.vala"
				synapse_gui_smart_label_set_text (_tmp13_, _tmp14_);
#line 2032 "view-doish.c"
			} else {
				SynapseGuiMenuThrobber* _tmp15_;
				gboolean _tmp16_;
				gboolean _tmp17_;
#line 431 "view-doish.vala"
				_tmp15_ = self->priv->menuthrobber;
#line 431 "view-doish.vala"
				_tmp16_ = synapse_gui_menu_throbber_get_active (_tmp15_);
#line 431 "view-doish.vala"
				_tmp17_ = _tmp16_;
#line 431 "view-doish.vala"
				if (_tmp17_) {
#line 2045 "view-doish.c"
					SynapseGuiSmartLabel* _tmp18_;
					const gchar* _tmp19_;
#line 432 "view-doish.vala"
					_tmp18_ = self->priv->description_label;
#line 432 "view-doish.vala"
					_tmp19_ = synapse_gui_icontroller_SEARCHING;
#line 432 "view-doish.vala"
					synapse_gui_smart_label_set_text (_tmp18_, _tmp19_);
#line 2054 "view-doish.c"
				} else {
					SynapseGuiSmartLabel* _tmp20_;
					const gchar* _tmp21_;
#line 434 "view-doish.vala"
					_tmp20_ = self->priv->description_label;
#line 434 "view-doish.vala"
					_tmp21_ = synapse_gui_icontroller_NO_RESULTS;
#line 434 "view-doish.vala"
					synapse_gui_smart_label_set_text (_tmp20_, _tmp21_);
#line 2064 "view-doish.c"
				}
			}
		}
	} else {
		SynapseGuiSmartLabel* _tmp22_;
		SynapseGuiEntry* _tmp23_;
		gconstpointer _tmp24_;
		gconstpointer _tmp25_;
		gchar* _tmp26_;
		gchar* _tmp27_;
#line 439 "view-doish.vala"
		_tmp22_ = self->priv->description_label;
#line 439 "view-doish.vala"
		_tmp23_ = focus;
#line 439 "view-doish.vala"
		_tmp24_ = synapse_gui_entry_get_value (_tmp23_);
#line 439 "view-doish.vala"
		_tmp25_ = _tmp24_;
#line 439 "view-doish.vala"
		_tmp26_ = synapse_gui_utils_get_printable_description ((SynapseMatch*) _tmp25_);
#line 439 "view-doish.vala"
		_tmp27_ = _tmp26_;
#line 439 "view-doish.vala"
		synapse_gui_smart_label_set_text (_tmp22_, _tmp27_);
#line 439 "view-doish.vala"
		_g_free0 (_tmp27_);
#line 2091 "view-doish.c"
	}
#line 441 "view-doish.vala"
	_tmp28_ = ((SynapseGuiView*) self)->model;
#line 441 "view-doish.vala"
	if (_tmp28_->searching_for == SYNAPSE_GUI_SEARCHING_FOR_TARGETS) {
#line 2097 "view-doish.c"
		SynapseGuiHTextSelector* _tmp29_;
#line 443 "view-doish.vala"
		_tmp29_ = ((SynapseGuiView*) self)->flag_selector;
#line 443 "view-doish.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp29_, FALSE);
#line 2103 "view-doish.c"
	} else {
		SynapseGuiHTextSelector* _tmp30_;
#line 447 "view-doish.vala"
		_tmp30_ = ((SynapseGuiView*) self)->flag_selector;
#line 447 "view-doish.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp30_, TRUE);
#line 2110 "view-doish.c"
	}
#line 449 "view-doish.vala"
	_tmp31_ = self->priv->target_container;
#line 449 "view-doish.vala"
	_tmp32_ = ((SynapseGuiView*) self)->model;
#line 449 "view-doish.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp31_, synapse_gui_model_needs_target (_tmp32_));
#line 415 "view-doish.vala"
	_synapse_gui_entry_unref0 (focus);
#line 2120 "view-doish.c"
}

static void
synapse_gui_view_doish_real_update_focused_source (SynapseGuiView* base,
                                                   SynapseGuiEntry* m)
{
	SynapseGuiViewDoish * self;
	SynapseGuiIController* _tmp0_;
	SynapseGuiIController* _tmp1_;
	const gchar* _tmp23_ = NULL;
	gconstpointer _tmp24_;
	gconstpointer _tmp25_;
	SynapseGuiSmartLabel* _tmp30_;
	SynapseGuiModel* _tmp31_;
	gchar** _tmp32_;
	gint _tmp32__length1;
	const gchar* _tmp33_;
	gchar* _tmp34_;
	gchar* _tmp35_;
	SynapseGuiModel* _tmp36_;
#line 452 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 452 "view-doish.vala"
	g_return_if_fail (m != NULL);
#line 454 "view-doish.vala"
	_tmp0_ = synapse_gui_iview_get_controller ((SynapseGuiIView*) self);
#line 454 "view-doish.vala"
	_tmp1_ = _tmp0_;
#line 454 "view-doish.vala"
	if (synapse_gui_icontroller_is_in_initial_state (_tmp1_)) {
#line 2151 "view-doish.c"
		SynapseGuiNamedIcon* _tmp2_;
#line 454 "view-doish.vala"
		_tmp2_ = self->priv->source_icon;
#line 454 "view-doish.vala"
		synapse_gui_named_icon_set_icon_name (_tmp2_, "search", GTK_ICON_SIZE_DND);
#line 2157 "view-doish.c"
	} else {
		gconstpointer _tmp3_;
		gconstpointer _tmp4_;
#line 455 "view-doish.vala"
		_tmp3_ = synapse_gui_entry_get_value (m);
#line 455 "view-doish.vala"
		_tmp4_ = _tmp3_;
#line 455 "view-doish.vala"
		if (((SynapseMatch*) _tmp4_) == NULL) {
#line 2167 "view-doish.c"
			SynapseGuiNamedIcon* _tmp5_;
#line 455 "view-doish.vala"
			_tmp5_ = self->priv->source_icon;
#line 455 "view-doish.vala"
			synapse_gui_named_icon_set_icon_name (_tmp5_, "", GTK_ICON_SIZE_DND);
#line 2173 "view-doish.c"
		} else {
			gconstpointer _tmp6_;
			gconstpointer _tmp7_;
			gboolean _tmp8_;
			gboolean _tmp9_;
			SynapseGuiResultBox* _tmp20_;
			gconstpointer _tmp21_;
			gconstpointer _tmp22_;
#line 458 "view-doish.vala"
			_tmp6_ = synapse_gui_entry_get_value (m);
#line 458 "view-doish.vala"
			_tmp7_ = _tmp6_;
#line 458 "view-doish.vala"
			_tmp8_ = synapse_match_get_has_thumbnail ((SynapseMatch*) _tmp7_);
#line 458 "view-doish.vala"
			_tmp9_ = _tmp8_;
#line 458 "view-doish.vala"
			if (_tmp9_) {
#line 2192 "view-doish.c"
				SynapseGuiNamedIcon* _tmp10_;
				gconstpointer _tmp11_;
				gconstpointer _tmp12_;
				const gchar* _tmp13_;
				const gchar* _tmp14_;
#line 459 "view-doish.vala"
				_tmp10_ = self->priv->source_icon;
#line 459 "view-doish.vala"
				_tmp11_ = synapse_gui_entry_get_value (m);
#line 459 "view-doish.vala"
				_tmp12_ = _tmp11_;
#line 459 "view-doish.vala"
				_tmp13_ = synapse_match_get_thumbnail_path ((SynapseMatch*) _tmp12_);
#line 459 "view-doish.vala"
				_tmp14_ = _tmp13_;
#line 459 "view-doish.vala"
				synapse_gui_named_icon_set_icon_name (_tmp10_, _tmp14_, GTK_ICON_SIZE_DND);
#line 2210 "view-doish.c"
			} else {
				SynapseGuiNamedIcon* _tmp15_;
				gconstpointer _tmp16_;
				gconstpointer _tmp17_;
				const gchar* _tmp18_;
				const gchar* _tmp19_;
#line 461 "view-doish.vala"
				_tmp15_ = self->priv->source_icon;
#line 461 "view-doish.vala"
				_tmp16_ = synapse_gui_entry_get_value (m);
#line 461 "view-doish.vala"
				_tmp17_ = _tmp16_;
#line 461 "view-doish.vala"
				_tmp18_ = synapse_match_get_icon_name ((SynapseMatch*) _tmp17_);
#line 461 "view-doish.vala"
				_tmp19_ = _tmp18_;
#line 461 "view-doish.vala"
				synapse_gui_named_icon_set_icon_name (_tmp15_, _tmp19_, GTK_ICON_SIZE_DND);
#line 2229 "view-doish.c"
			}
#line 462 "view-doish.vala"
			_tmp20_ = self->priv->results_sources;
#line 462 "view-doish.vala"
			_tmp21_ = synapse_gui_entry_get_key (m);
#line 462 "view-doish.vala"
			_tmp22_ = _tmp21_;
#line 462 "view-doish.vala"
			synapse_gui_result_box_move_selection_to_index (_tmp20_, (gint) ((gintptr) _tmp22_));
#line 2239 "view-doish.c"
		}
	}
#line 464 "view-doish.vala"
	_tmp24_ = synapse_gui_entry_get_value (m);
#line 464 "view-doish.vala"
	_tmp25_ = _tmp24_;
#line 464 "view-doish.vala"
	if (((SynapseMatch*) _tmp25_) == NULL) {
#line 464 "view-doish.vala"
		_tmp23_ = "";
#line 2250 "view-doish.c"
	} else {
		gconstpointer _tmp26_;
		gconstpointer _tmp27_;
		const gchar* _tmp28_;
		const gchar* _tmp29_;
#line 464 "view-doish.vala"
		_tmp26_ = synapse_gui_entry_get_value (m);
#line 464 "view-doish.vala"
		_tmp27_ = _tmp26_;
#line 464 "view-doish.vala"
		_tmp28_ = synapse_match_get_title ((SynapseMatch*) _tmp27_);
#line 464 "view-doish.vala"
		_tmp29_ = _tmp28_;
#line 464 "view-doish.vala"
		_tmp23_ = _tmp29_;
#line 2266 "view-doish.c"
	}
#line 464 "view-doish.vala"
	_tmp30_ = self->priv->source_label;
#line 464 "view-doish.vala"
	_tmp31_ = ((SynapseGuiView*) self)->model;
#line 464 "view-doish.vala"
	_tmp32_ = _tmp31_->query;
#line 464 "view-doish.vala"
	_tmp32__length1 = _tmp31_->query_length1;
#line 464 "view-doish.vala"
	_tmp33_ = _tmp32_[SYNAPSE_GUI_SEARCHING_FOR_SOURCES];
#line 464 "view-doish.vala"
	_tmp34_ = synapse_gui_utils_markup_string_with_search (_tmp23_, _tmp33_, "", FALSE);
#line 464 "view-doish.vala"
	_tmp35_ = _tmp34_;
#line 464 "view-doish.vala"
	synapse_gui_smart_label_set_markup (_tmp30_, _tmp35_);
#line 464 "view-doish.vala"
	_g_free0 (_tmp35_);
#line 465 "view-doish.vala"
	_tmp36_ = ((SynapseGuiView*) self)->model;
#line 465 "view-doish.vala"
	if (_tmp36_->searching_for == SYNAPSE_GUI_SEARCHING_FOR_SOURCES) {
#line 465 "view-doish.vala"
		synapse_gui_view_doish_update_labels (self);
#line 2292 "view-doish.c"
	}
}

static void
synapse_gui_view_doish_real_update_focused_action (SynapseGuiView* base,
                                                   SynapseGuiEntry* m)
{
	SynapseGuiViewDoish * self;
	gboolean _tmp0_ = FALSE;
	SynapseGuiIController* _tmp1_;
	SynapseGuiIController* _tmp2_;
	const gchar* _tmp20_ = NULL;
	gconstpointer _tmp21_;
	gconstpointer _tmp22_;
	SynapseGuiSmartLabel* _tmp27_;
	SynapseGuiModel* _tmp28_;
	gchar** _tmp29_;
	gint _tmp29__length1;
	const gchar* _tmp30_;
	gchar* _tmp31_;
	gchar* _tmp32_;
	SynapseGuiModel* _tmp33_;
#line 468 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 468 "view-doish.vala"
	g_return_if_fail (m != NULL);
#line 470 "view-doish.vala"
	_tmp1_ = synapse_gui_iview_get_controller ((SynapseGuiIView*) self);
#line 470 "view-doish.vala"
	_tmp2_ = _tmp1_;
#line 470 "view-doish.vala"
	if (synapse_gui_icontroller_is_in_initial_state (_tmp2_)) {
#line 470 "view-doish.vala"
		_tmp0_ = TRUE;
#line 2327 "view-doish.c"
	} else {
		SynapseGuiModel* _tmp3_;
		SynapseGuiEntry** _tmp4_;
		gint _tmp4__length1;
		SynapseGuiEntry* _tmp5_;
		gconstpointer _tmp6_;
		gconstpointer _tmp7_;
#line 471 "view-doish.vala"
		_tmp3_ = ((SynapseGuiView*) self)->model;
#line 471 "view-doish.vala"
		_tmp4_ = _tmp3_->focus;
#line 471 "view-doish.vala"
		_tmp4__length1 = _tmp3_->focus_length1;
#line 471 "view-doish.vala"
		_tmp5_ = _tmp4_[SYNAPSE_GUI_SEARCHING_FOR_SOURCES];
#line 471 "view-doish.vala"
		_tmp6_ = synapse_gui_entry_get_value (_tmp5_);
#line 471 "view-doish.vala"
		_tmp7_ = _tmp6_;
#line 471 "view-doish.vala"
		_tmp0_ = ((SynapseMatch*) _tmp7_) == NULL;
#line 2349 "view-doish.c"
	}
#line 470 "view-doish.vala"
	if (_tmp0_) {
#line 2353 "view-doish.c"
		SynapseGuiNamedIcon* _tmp8_;
#line 473 "view-doish.vala"
		_tmp8_ = self->priv->action_icon;
#line 473 "view-doish.vala"
		synapse_gui_named_icon_clear (_tmp8_);
#line 2359 "view-doish.c"
	} else {
		gconstpointer _tmp9_;
		gconstpointer _tmp10_;
#line 475 "view-doish.vala"
		_tmp9_ = synapse_gui_entry_get_value (m);
#line 475 "view-doish.vala"
		_tmp10_ = _tmp9_;
#line 475 "view-doish.vala"
		if (((SynapseMatch*) _tmp10_) == NULL) {
#line 2369 "view-doish.c"
			SynapseGuiNamedIcon* _tmp11_;
#line 477 "view-doish.vala"
			_tmp11_ = self->priv->action_icon;
#line 477 "view-doish.vala"
			synapse_gui_named_icon_set_icon_name (_tmp11_, "", GTK_ICON_SIZE_DND);
#line 2375 "view-doish.c"
		} else {
			SynapseGuiNamedIcon* _tmp12_;
			gconstpointer _tmp13_;
			gconstpointer _tmp14_;
			const gchar* _tmp15_;
			const gchar* _tmp16_;
			SynapseGuiResultBox* _tmp17_;
			gconstpointer _tmp18_;
			gconstpointer _tmp19_;
#line 481 "view-doish.vala"
			_tmp12_ = self->priv->action_icon;
#line 481 "view-doish.vala"
			_tmp13_ = synapse_gui_entry_get_value (m);
#line 481 "view-doish.vala"
			_tmp14_ = _tmp13_;
#line 481 "view-doish.vala"
			_tmp15_ = synapse_match_get_icon_name ((SynapseMatch*) _tmp14_);
#line 481 "view-doish.vala"
			_tmp16_ = _tmp15_;
#line 481 "view-doish.vala"
			synapse_gui_named_icon_set_icon_name (_tmp12_, _tmp16_, GTK_ICON_SIZE_DND);
#line 482 "view-doish.vala"
			_tmp17_ = self->priv->results_actions;
#line 482 "view-doish.vala"
			_tmp18_ = synapse_gui_entry_get_key (m);
#line 482 "view-doish.vala"
			_tmp19_ = _tmp18_;
#line 482 "view-doish.vala"
			synapse_gui_result_box_move_selection_to_index (_tmp17_, (gint) ((gintptr) _tmp19_));
#line 2405 "view-doish.c"
		}
	}
#line 484 "view-doish.vala"
	_tmp21_ = synapse_gui_entry_get_value (m);
#line 484 "view-doish.vala"
	_tmp22_ = _tmp21_;
#line 484 "view-doish.vala"
	if (((SynapseMatch*) _tmp22_) == NULL) {
#line 484 "view-doish.vala"
		_tmp20_ = "";
#line 2416 "view-doish.c"
	} else {
		gconstpointer _tmp23_;
		gconstpointer _tmp24_;
		const gchar* _tmp25_;
		const gchar* _tmp26_;
#line 484 "view-doish.vala"
		_tmp23_ = synapse_gui_entry_get_value (m);
#line 484 "view-doish.vala"
		_tmp24_ = _tmp23_;
#line 484 "view-doish.vala"
		_tmp25_ = synapse_match_get_title ((SynapseMatch*) _tmp24_);
#line 484 "view-doish.vala"
		_tmp26_ = _tmp25_;
#line 484 "view-doish.vala"
		_tmp20_ = _tmp26_;
#line 2432 "view-doish.c"
	}
#line 484 "view-doish.vala"
	_tmp27_ = self->priv->action_label;
#line 484 "view-doish.vala"
	_tmp28_ = ((SynapseGuiView*) self)->model;
#line 484 "view-doish.vala"
	_tmp29_ = _tmp28_->query;
#line 484 "view-doish.vala"
	_tmp29__length1 = _tmp28_->query_length1;
#line 484 "view-doish.vala"
	_tmp30_ = _tmp29_[SYNAPSE_GUI_SEARCHING_FOR_ACTIONS];
#line 484 "view-doish.vala"
	_tmp31_ = synapse_gui_utils_markup_string_with_search (_tmp20_, _tmp30_, "", FALSE);
#line 484 "view-doish.vala"
	_tmp32_ = _tmp31_;
#line 484 "view-doish.vala"
	synapse_gui_smart_label_set_markup (_tmp27_, _tmp32_);
#line 484 "view-doish.vala"
	_g_free0 (_tmp32_);
#line 485 "view-doish.vala"
	_tmp33_ = ((SynapseGuiView*) self)->model;
#line 485 "view-doish.vala"
	if (_tmp33_->searching_for == SYNAPSE_GUI_SEARCHING_FOR_ACTIONS) {
#line 485 "view-doish.vala"
		synapse_gui_view_doish_update_labels (self);
#line 2458 "view-doish.c"
	}
}

static void
synapse_gui_view_doish_real_update_focused_target (SynapseGuiView* base,
                                                   SynapseGuiEntry* m)
{
	SynapseGuiViewDoish * self;
	gconstpointer _tmp0_;
	gconstpointer _tmp1_;
	const gchar* _tmp23_ = NULL;
	gconstpointer _tmp24_;
	gconstpointer _tmp25_;
	SynapseGuiSmartLabel* _tmp30_;
	SynapseGuiModel* _tmp31_;
	gchar** _tmp32_;
	gint _tmp32__length1;
	const gchar* _tmp33_;
	gchar* _tmp34_;
	gchar* _tmp35_;
	SynapseGuiModel* _tmp36_;
#line 488 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 488 "view-doish.vala"
	g_return_if_fail (m != NULL);
#line 490 "view-doish.vala"
	_tmp0_ = synapse_gui_entry_get_value (m);
#line 490 "view-doish.vala"
	_tmp1_ = _tmp0_;
#line 490 "view-doish.vala"
	if (((SynapseMatch*) _tmp1_) == NULL) {
#line 2490 "view-doish.c"
		SynapseGuiNamedIcon* _tmp2_;
#line 490 "view-doish.vala"
		_tmp2_ = self->priv->target_icon;
#line 490 "view-doish.vala"
		synapse_gui_named_icon_set_icon_name (_tmp2_, "", GTK_ICON_SIZE_DND);
#line 2496 "view-doish.c"
	} else {
		gconstpointer _tmp3_;
		gconstpointer _tmp4_;
		SynapseGuiResultBox* _tmp20_;
		gconstpointer _tmp21_;
		gconstpointer _tmp22_;
#line 493 "view-doish.vala"
		_tmp3_ = synapse_gui_entry_get_value (m);
#line 493 "view-doish.vala"
		_tmp4_ = _tmp3_;
#line 493 "view-doish.vala"
		if (G_TYPE_CHECK_INSTANCE_TYPE ((SynapseMatch*) _tmp4_, SYNAPSE_TYPE_UNKNOWN_MATCH)) {
#line 2509 "view-doish.c"
			SynapseGuiNamedIcon* _tmp5_;
#line 494 "view-doish.vala"
			_tmp5_ = self->priv->target_icon;
#line 494 "view-doish.vala"
			synapse_gui_named_icon_set_icon_name (_tmp5_, "text-plain", GTK_ICON_SIZE_DND);
#line 2515 "view-doish.c"
		} else {
			gconstpointer _tmp6_;
			gconstpointer _tmp7_;
			gboolean _tmp8_;
			gboolean _tmp9_;
#line 497 "view-doish.vala"
			_tmp6_ = synapse_gui_entry_get_value (m);
#line 497 "view-doish.vala"
			_tmp7_ = _tmp6_;
#line 497 "view-doish.vala"
			_tmp8_ = synapse_match_get_has_thumbnail ((SynapseMatch*) _tmp7_);
#line 497 "view-doish.vala"
			_tmp9_ = _tmp8_;
#line 497 "view-doish.vala"
			if (_tmp9_) {
#line 2531 "view-doish.c"
				SynapseGuiNamedIcon* _tmp10_;
				gconstpointer _tmp11_;
				gconstpointer _tmp12_;
				const gchar* _tmp13_;
				const gchar* _tmp14_;
#line 498 "view-doish.vala"
				_tmp10_ = self->priv->target_icon;
#line 498 "view-doish.vala"
				_tmp11_ = synapse_gui_entry_get_value (m);
#line 498 "view-doish.vala"
				_tmp12_ = _tmp11_;
#line 498 "view-doish.vala"
				_tmp13_ = synapse_match_get_thumbnail_path ((SynapseMatch*) _tmp12_);
#line 498 "view-doish.vala"
				_tmp14_ = _tmp13_;
#line 498 "view-doish.vala"
				synapse_gui_named_icon_set_icon_name (_tmp10_, _tmp14_, GTK_ICON_SIZE_DND);
#line 2549 "view-doish.c"
			} else {
				SynapseGuiNamedIcon* _tmp15_;
				gconstpointer _tmp16_;
				gconstpointer _tmp17_;
				const gchar* _tmp18_;
				const gchar* _tmp19_;
#line 500 "view-doish.vala"
				_tmp15_ = self->priv->target_icon;
#line 500 "view-doish.vala"
				_tmp16_ = synapse_gui_entry_get_value (m);
#line 500 "view-doish.vala"
				_tmp17_ = _tmp16_;
#line 500 "view-doish.vala"
				_tmp18_ = synapse_match_get_icon_name ((SynapseMatch*) _tmp17_);
#line 500 "view-doish.vala"
				_tmp19_ = _tmp18_;
#line 500 "view-doish.vala"
				synapse_gui_named_icon_set_icon_name (_tmp15_, _tmp19_, GTK_ICON_SIZE_DND);
#line 2568 "view-doish.c"
			}
		}
#line 502 "view-doish.vala"
		_tmp20_ = self->priv->results_targets;
#line 502 "view-doish.vala"
		_tmp21_ = synapse_gui_entry_get_key (m);
#line 502 "view-doish.vala"
		_tmp22_ = _tmp21_;
#line 502 "view-doish.vala"
		synapse_gui_result_box_move_selection_to_index (_tmp20_, (gint) ((gintptr) _tmp22_));
#line 2579 "view-doish.c"
	}
#line 504 "view-doish.vala"
	_tmp24_ = synapse_gui_entry_get_value (m);
#line 504 "view-doish.vala"
	_tmp25_ = _tmp24_;
#line 504 "view-doish.vala"
	if (((SynapseMatch*) _tmp25_) == NULL) {
#line 504 "view-doish.vala"
		_tmp23_ = "";
#line 2589 "view-doish.c"
	} else {
		gconstpointer _tmp26_;
		gconstpointer _tmp27_;
		const gchar* _tmp28_;
		const gchar* _tmp29_;
#line 504 "view-doish.vala"
		_tmp26_ = synapse_gui_entry_get_value (m);
#line 504 "view-doish.vala"
		_tmp27_ = _tmp26_;
#line 504 "view-doish.vala"
		_tmp28_ = synapse_match_get_title ((SynapseMatch*) _tmp27_);
#line 504 "view-doish.vala"
		_tmp29_ = _tmp28_;
#line 504 "view-doish.vala"
		_tmp23_ = _tmp29_;
#line 2605 "view-doish.c"
	}
#line 504 "view-doish.vala"
	_tmp30_ = self->priv->target_label;
#line 504 "view-doish.vala"
	_tmp31_ = ((SynapseGuiView*) self)->model;
#line 504 "view-doish.vala"
	_tmp32_ = _tmp31_->query;
#line 504 "view-doish.vala"
	_tmp32__length1 = _tmp31_->query_length1;
#line 504 "view-doish.vala"
	_tmp33_ = _tmp32_[SYNAPSE_GUI_SEARCHING_FOR_TARGETS];
#line 504 "view-doish.vala"
	_tmp34_ = synapse_gui_utils_markup_string_with_search (_tmp23_, _tmp33_, "", FALSE);
#line 504 "view-doish.vala"
	_tmp35_ = _tmp34_;
#line 504 "view-doish.vala"
	synapse_gui_smart_label_set_markup (_tmp30_, _tmp35_);
#line 504 "view-doish.vala"
	_g_free0 (_tmp35_);
#line 505 "view-doish.vala"
	_tmp36_ = ((SynapseGuiView*) self)->model;
#line 505 "view-doish.vala"
	if (_tmp36_->searching_for == SYNAPSE_GUI_SEARCHING_FOR_TARGETS) {
#line 505 "view-doish.vala"
		synapse_gui_view_doish_update_labels (self);
#line 2631 "view-doish.c"
	}
}

static void
synapse_gui_view_doish_real_update_sources (SynapseGuiView* base,
                                            GeeList* list)
{
	SynapseGuiViewDoish * self;
	SynapseGuiResultBox* _tmp0_;
#line 508 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 510 "view-doish.vala"
	_tmp0_ = self->priv->results_sources;
#line 510 "view-doish.vala"
	synapse_gui_result_box_update_matches (_tmp0_, list);
#line 2647 "view-doish.c"
}

static void
synapse_gui_view_doish_real_update_actions (SynapseGuiView* base,
                                            GeeList* list)
{
	SynapseGuiViewDoish * self;
	SynapseGuiResultBox* _tmp0_;
#line 512 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 514 "view-doish.vala"
	_tmp0_ = self->priv->results_actions;
#line 514 "view-doish.vala"
	synapse_gui_result_box_update_matches (_tmp0_, list);
#line 2662 "view-doish.c"
}

static void
synapse_gui_view_doish_real_update_targets (SynapseGuiView* base,
                                            GeeList* list)
{
	SynapseGuiViewDoish * self;
	SynapseGuiResultBox* _tmp0_;
#line 516 "view-doish.vala"
	self = (SynapseGuiViewDoish*) base;
#line 518 "view-doish.vala"
	_tmp0_ = self->priv->results_targets;
#line 518 "view-doish.vala"
	synapse_gui_result_box_update_matches (_tmp0_, list);
#line 2677 "view-doish.c"
}

SynapseGuiViewDoish*
synapse_gui_view_doish_construct (GType object_type)
{
	SynapseGuiViewDoish * self = NULL;
#line 24 "view-doish.vala"
	self = (SynapseGuiViewDoish*) synapse_gui_view_construct (object_type);
#line 24 "view-doish.vala"
	return self;
#line 2688 "view-doish.c"
}

SynapseGuiViewDoish*
synapse_gui_view_doish_new (void)
{
#line 24 "view-doish.vala"
	return synapse_gui_view_doish_construct (SYNAPSE_GUI_TYPE_VIEW_DOISH);
#line 2696 "view-doish.c"
}

static GObject *
synapse_gui_view_doish_constructor (GType type,
                                    guint n_construct_properties,
                                    GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	SynapseGuiViewDoish * self;
#line 26 "view-doish.vala"
	parent_class = G_OBJECT_CLASS (synapse_gui_view_doish_parent_class);
#line 26 "view-doish.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 26 "view-doish.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, SYNAPSE_GUI_TYPE_VIEW_DOISH, SynapseGuiViewDoish);
#line 26 "view-doish.vala"
	return obj;
#line 2715 "view-doish.c"
}

static void
synapse_gui_view_doish_class_init (SynapseGuiViewDoishClass * klass,
                                   gpointer klass_data)
{
	GParamSpecInt* icon_size = NULL;
	GParamSpecInt* _tmp0_;
	GParamSpecString* title_max = NULL;
	GParamSpecString* _tmp1_;
	GParamSpecString* title_min = NULL;
	GParamSpecString* _tmp2_;
	GParamSpecString* descr_max = NULL;
	GParamSpecString* _tmp3_;
	GParamSpecString* descr_min = NULL;
	GParamSpecString* _tmp4_;
	GParamSpecInt* _tmp5_;
	GParamSpecString* _tmp6_;
	GParamSpecString* _tmp7_;
	GParamSpecString* _tmp8_;
	GParamSpecString* _tmp9_;
#line 24 "view-doish.vala"
	synapse_gui_view_doish_parent_class = g_type_class_peek_parent (klass);
#line 24 "view-doish.vala"
	g_type_class_adjust_private_offset (klass, &SynapseGuiViewDoish_private_offset);
#line 24 "view-doish.vala"
	((GtkWidgetClass *) klass)->style_updated = (void (*) (GtkWidget*)) synapse_gui_view_doish_real_style_updated;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->build_ui = (void (*) (SynapseGuiView*)) synapse_gui_view_doish_real_build_ui;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->is_list_visible = (gboolean (*) (SynapseGuiView*)) synapse_gui_view_doish_real_is_list_visible;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->set_list_visible = (void (*) (SynapseGuiView*, gboolean)) synapse_gui_view_doish_real_set_list_visible;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->set_throbber_visible = (void (*) (SynapseGuiView*, gboolean)) synapse_gui_view_doish_real_set_throbber_visible;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->update_searching_for = (void (*) (SynapseGuiView*)) synapse_gui_view_doish_real_update_searching_for;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->update_selected_category = (void (*) (SynapseGuiView*)) synapse_gui_view_doish_real_update_selected_category;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->paint_background = (void (*) (SynapseGuiView*, cairo_t*)) synapse_gui_view_doish_real_paint_background;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->update_focused_source = (void (*) (SynapseGuiView*, SynapseGuiEntry*)) synapse_gui_view_doish_real_update_focused_source;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->update_focused_action = (void (*) (SynapseGuiView*, SynapseGuiEntry*)) synapse_gui_view_doish_real_update_focused_action;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->update_focused_target = (void (*) (SynapseGuiView*, SynapseGuiEntry*)) synapse_gui_view_doish_real_update_focused_target;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->update_sources = (void (*) (SynapseGuiView*, GeeList*)) synapse_gui_view_doish_real_update_sources;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->update_actions = (void (*) (SynapseGuiView*, GeeList*)) synapse_gui_view_doish_real_update_actions;
#line 24 "view-doish.vala"
	((SynapseGuiViewClass *) klass)->update_targets = (void (*) (SynapseGuiView*, GeeList*)) synapse_gui_view_doish_real_update_targets;
#line 24 "view-doish.vala"
	G_OBJECT_CLASS (klass)->constructor = synapse_gui_view_doish_constructor;
#line 24 "view-doish.vala"
	G_OBJECT_CLASS (klass)->finalize = synapse_gui_view_doish_finalize;
#line 33 "view-doish.vala"
	_tmp0_ = (GParamSpecInt*) g_param_spec_int ("icon-size", "Icon Size", "The size of focused icon in supported themes", 32, 256, 128, G_PARAM_READWRITE);
#line 33 "view-doish.vala"
	icon_size = _tmp0_;
#line 38 "view-doish.vala"
	_tmp1_ = (GParamSpecString*) g_param_spec_string ("title-size", "Title Font Size", "The standard size the match title in Pango absolute sizes (string)", "medium", G_PARAM_READWRITE);
#line 38 "view-doish.vala"
	title_max = _tmp1_;
#line 43 "view-doish.vala"
	_tmp2_ = (GParamSpecString*) g_param_spec_string ("title-min-size", "Title minimum Font Size", "The minimum size the match title in Pango absolute sizes (string)", "small", G_PARAM_READWRITE);
#line 43 "view-doish.vala"
	title_min = _tmp2_;
#line 48 "view-doish.vala"
	_tmp3_ = (GParamSpecString*) g_param_spec_string ("description-size", "Description Font Size", "The standard size the match description in Pango absolute sizes (strin" \
"g)", "small", G_PARAM_READWRITE);
#line 48 "view-doish.vala"
	descr_max = _tmp3_;
#line 53 "view-doish.vala"
	_tmp4_ = (GParamSpecString*) g_param_spec_string ("description-min-size", "Description minimum Font Size", "The minimum size the match description in Pango absolute sizes (string" \
")", "small", G_PARAM_READWRITE);
#line 53 "view-doish.vala"
	descr_min = _tmp4_;
#line 58 "view-doish.vala"
	_tmp5_ = icon_size;
#line 58 "view-doish.vala"
	gtk_widget_class_install_style_property (GTK_WIDGET_CLASS (klass), (GParamSpec*) _tmp5_);
#line 59 "view-doish.vala"
	_tmp6_ = title_max;
#line 59 "view-doish.vala"
	gtk_widget_class_install_style_property (GTK_WIDGET_CLASS (klass), (GParamSpec*) _tmp6_);
#line 60 "view-doish.vala"
	_tmp7_ = title_min;
#line 60 "view-doish.vala"
	gtk_widget_class_install_style_property (GTK_WIDGET_CLASS (klass), (GParamSpec*) _tmp7_);
#line 61 "view-doish.vala"
	_tmp8_ = descr_max;
#line 61 "view-doish.vala"
	gtk_widget_class_install_style_property (GTK_WIDGET_CLASS (klass), (GParamSpec*) _tmp8_);
#line 62 "view-doish.vala"
	_tmp9_ = descr_min;
#line 62 "view-doish.vala"
	gtk_widget_class_install_style_property (GTK_WIDGET_CLASS (klass), (GParamSpec*) _tmp9_);
#line 30 "view-doish.vala"
	_g_param_spec_unref0 (descr_min);
#line 30 "view-doish.vala"
	_g_param_spec_unref0 (descr_max);
#line 30 "view-doish.vala"
	_g_param_spec_unref0 (title_min);
#line 30 "view-doish.vala"
	_g_param_spec_unref0 (title_max);
#line 30 "view-doish.vala"
	_g_param_spec_unref0 (icon_size);
#line 2823 "view-doish.c"
}

static void
synapse_gui_view_doish_instance_init (SynapseGuiViewDoish * self,
                                      gpointer klass)
{
#line 24 "view-doish.vala"
	self->priv = synapse_gui_view_doish_get_instance_private (self);
#line 2832 "view-doish.c"
}

static void
synapse_gui_view_doish_finalize (GObject * obj)
{
	SynapseGuiViewDoish * self;
#line 24 "view-doish.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, SYNAPSE_GUI_TYPE_VIEW_DOISH, SynapseGuiViewDoish);
#line 92 "view-doish.vala"
	_g_object_unref0 (self->priv->source_icon);
#line 93 "view-doish.vala"
	_g_object_unref0 (self->priv->action_icon);
#line 94 "view-doish.vala"
	_g_object_unref0 (self->priv->target_icon);
#line 96 "view-doish.vala"
	_g_object_unref0 (self->priv->source_label);
#line 97 "view-doish.vala"
	_g_object_unref0 (self->priv->action_label);
#line 98 "view-doish.vala"
	_g_object_unref0 (self->priv->target_label);
#line 99 "view-doish.vala"
	_g_object_unref0 (self->priv->description_label);
#line 101 "view-doish.vala"
	_g_object_unref0 (self->priv->results_container);
#line 103 "view-doish.vala"
	_g_object_unref0 (self->priv->results_sources);
#line 104 "view-doish.vala"
	_g_object_unref0 (self->priv->results_actions);
#line 105 "view-doish.vala"
	_g_object_unref0 (self->priv->results_targets);
#line 107 "view-doish.vala"
	_g_object_unref0 (self->priv->menuthrobber);
#line 109 "view-doish.vala"
	_g_object_unref0 (self->priv->target_container);
#line 110 "view-doish.vala"
	_g_object_unref0 (self->priv->container);
#line 112 "view-doish.vala"
	_g_object_unref0 (self->priv->spane);
#line 113 "view-doish.vala"
	_g_object_unref0 (self->priv->apane);
#line 114 "view-doish.vala"
	_g_object_unref0 (self->priv->tpane);
#line 116 "view-doish.vala"
	_g_object_unref0 (self->priv->sp1);
#line 117 "view-doish.vala"
	_g_object_unref0 (self->priv->sp2);
#line 24 "view-doish.vala"
	G_OBJECT_CLASS (synapse_gui_view_doish_parent_class)->finalize (obj);
#line 2881 "view-doish.c"
}

static GType
synapse_gui_view_doish_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (SynapseGuiViewDoishClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) synapse_gui_view_doish_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SynapseGuiViewDoish), 0, (GInstanceInitFunc) synapse_gui_view_doish_instance_init, NULL };
	GType synapse_gui_view_doish_type_id;
	synapse_gui_view_doish_type_id = g_type_register_static (SYNAPSE_GUI_TYPE_VIEW, "SynapseGuiViewDoish", &g_define_type_info, 0);
	SynapseGuiViewDoish_private_offset = g_type_add_instance_private (synapse_gui_view_doish_type_id, sizeof (SynapseGuiViewDoishPrivate));
	return synapse_gui_view_doish_type_id;
}

GType
synapse_gui_view_doish_get_type (void)
{
	static volatile gsize synapse_gui_view_doish_type_id__once = 0;
	if (g_once_init_enter (&synapse_gui_view_doish_type_id__once)) {
		GType synapse_gui_view_doish_type_id;
		synapse_gui_view_doish_type_id = synapse_gui_view_doish_get_type_once ();
		g_once_init_leave (&synapse_gui_view_doish_type_id__once, synapse_gui_view_doish_type_id);
	}
	return synapse_gui_view_doish_type_id__once;
}

