/* moonshot-add-dialog.c generated by valac 0.28.0, the Vala compiler
 * generated from moonshot-add-dialog.vala, do not modify */

/*
 * Copyright (c) 2011-2014, JANET(UK)
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * 3. Neither the name of JANET(UK) nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
*/

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <float.h>
#include <math.h>
#include <atk/atk.h>


#define TYPE_ADD_IDENTITY_DIALOG (add_identity_dialog_get_type ())
#define ADD_IDENTITY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ADD_IDENTITY_DIALOG, AddIdentityDialog))
#define ADD_IDENTITY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ADD_IDENTITY_DIALOG, AddIdentityDialogClass))
#define IS_ADD_IDENTITY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ADD_IDENTITY_DIALOG))
#define IS_ADD_IDENTITY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ADD_IDENTITY_DIALOG))
#define ADD_IDENTITY_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ADD_IDENTITY_DIALOG, AddIdentityDialogClass))

typedef struct _AddIdentityDialog AddIdentityDialog;
typedef struct _AddIdentityDialogClass AddIdentityDialogClass;
typedef struct _AddIdentityDialogPrivate AddIdentityDialogPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

struct _AddIdentityDialog {
	GtkDialog parent_instance;
	AddIdentityDialogPrivate * priv;
	gboolean complete;
};

struct _AddIdentityDialogClass {
	GtkDialogClass parent_class;
};

struct _AddIdentityDialogPrivate {
	GtkEntry* displayname_entry;
	GtkLabel* displayname_label;
	GtkEntry* issuer_entry;
	GtkLabel* issuer_label;
	GtkEntry* username_entry;
	GtkLabel* username_label;
	GtkEntry* password_entry;
	GtkLabel* password_label;
	GtkCheckButton* remember_checkbutton;
	GtkLabel* message_label;
};


static gpointer add_identity_dialog_parent_class = NULL;

GType add_identity_dialog_get_type (void) G_GNUC_CONST;
#define ADD_IDENTITY_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ADD_IDENTITY_DIALOG, AddIdentityDialogPrivate))
enum  {
	ADD_IDENTITY_DIALOG_DUMMY_PROPERTY,
	ADD_IDENTITY_DIALOG_DISPLAY_NAME,
	ADD_IDENTITY_DIALOG_ISSUER,
	ADD_IDENTITY_DIALOG_USERNAME,
	ADD_IDENTITY_DIALOG_PASSWORD,
	ADD_IDENTITY_DIALOG_STORE_PASSWORD
};
#define ADD_IDENTITY_DIALOG_displayname_labeltext _ ("Display Name")
#define ADD_IDENTITY_DIALOG_issuer_labeltext _ ("Issuer")
#define ADD_IDENTITY_DIALOG_username_labeltext _ ("Username")
#define ADD_IDENTITY_DIALOG_password_labeltext _ ("Password")
AddIdentityDialog* add_identity_dialog_new (void);
AddIdentityDialog* add_identity_dialog_construct (GType object_type);
static void add_identity_dialog_set_atk_relation (AddIdentityDialog* self, GtkWidget* widget, GtkWidget* target_widget, AtkRelationType relationship);
static void add_identity_dialog_on_response (AddIdentityDialog* self, GtkDialog* source, gint response_id);
static void _add_identity_dialog_on_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static gchar* add_identity_dialog_update_preamble (const gchar* preamble);
static gchar* add_identity_dialog_update_message (const gchar* old_message, const gchar* new_item);
static void add_identity_dialog_check_field (const gchar* field, GtkLabel* label, const gchar* fieldname, gchar** preamble, gchar** message);
static gboolean add_identity_dialog_check_fields (AddIdentityDialog* self);
gboolean add_identity_dialog_get_store_password (AddIdentityDialog* self);
const gchar* add_identity_dialog_get_password (AddIdentityDialog* self);
const gchar* add_identity_dialog_get_display_name (AddIdentityDialog* self);
const gchar* add_identity_dialog_get_issuer (AddIdentityDialog* self);
const gchar* add_identity_dialog_get_username (AddIdentityDialog* self);
static void add_identity_dialog_finalize (GObject* obj);
static void _vala_add_identity_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);


static gpointer _g_object_ref0 (gpointer self) {
#line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return self ? g_object_ref (self) : NULL;
#line 122 "moonshot-add-dialog.c"
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1314 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1315 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	result = self;
#line 1315 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 134 "moonshot-add-dialog.c"
}


static void _add_identity_dialog_on_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 125 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_on_response ((AddIdentityDialog*) self, _sender, response_id);
#line 141 "moonshot-add-dialog.c"
}


AddIdentityDialog* add_identity_dialog_construct (GType object_type) {
	AddIdentityDialog * self = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GtkWidget* content_area = NULL;
	GtkWidget* _tmp2_ = NULL;
	GtkWidget* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	GtkLabel* _tmp7_ = NULL;
	GtkLabel* _tmp8_ = NULL;
	GtkEntry* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	GtkLabel* _tmp13_ = NULL;
	GtkLabel* _tmp14_ = NULL;
	GtkEntry* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
	gchar* _tmp17_ = NULL;
	gchar* _tmp18_ = NULL;
	GtkLabel* _tmp19_ = NULL;
	GtkLabel* _tmp20_ = NULL;
	GtkEntry* _tmp21_ = NULL;
	const gchar* _tmp22_ = NULL;
	gchar* _tmp23_ = NULL;
	gchar* _tmp24_ = NULL;
	GtkLabel* _tmp25_ = NULL;
	GtkLabel* _tmp26_ = NULL;
	GtkEntry* _tmp27_ = NULL;
	GtkEntry* _tmp28_ = NULL;
	GtkEntry* _tmp29_ = NULL;
	const gchar* _tmp30_ = NULL;
	GtkCheckButton* _tmp31_ = NULL;
	GtkLabel* _tmp32_ = NULL;
	GtkLabel* _tmp33_ = NULL;
	GtkLabel* _tmp34_ = NULL;
	GtkEntry* _tmp35_ = NULL;
	GtkLabel* _tmp36_ = NULL;
	GtkEntry* _tmp37_ = NULL;
	GtkLabel* _tmp38_ = NULL;
	GtkEntry* _tmp39_ = NULL;
	GtkEntry* _tmp40_ = NULL;
	GtkEntry* _tmp41_ = NULL;
	GtkTable* table = NULL;
	GtkTable* _tmp42_ = NULL;
	GtkLabel* _tmp43_ = NULL;
	GtkLabel* _tmp44_ = NULL;
	GtkEntry* _tmp45_ = NULL;
	GtkLabel* _tmp46_ = NULL;
	GtkEntry* _tmp47_ = NULL;
	GtkLabel* _tmp48_ = NULL;
	GtkEntry* _tmp49_ = NULL;
	GtkLabel* _tmp50_ = NULL;
	GtkEntry* _tmp51_ = NULL;
	GtkCheckButton* _tmp52_ = NULL;
	GtkVBox* vbox = NULL;
	GtkVBox* _tmp53_ = NULL;
#line 72 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self = (AddIdentityDialog*) g_object_new (object_type, NULL);
#line 74 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = _ ("Add ID Card");
#line 74 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_window_set_title ((GtkWindow*) self, _tmp0_);
#line 75 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_window_set_modal ((GtkWindow*) self, TRUE);
#line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp1_ = _ ("Add ID Card");
#line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_dialog_add_buttons ((GtkDialog*) self, _tmp1_, GTK_RESPONSE_OK, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
#line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp2_ = gtk_dialog_get_content_area ((GtkDialog*) self);
#line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	content_area = _tmp3_;
#line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_box_set_spacing (G_TYPE_CHECK_INSTANCE_CAST (content_area, GTK_TYPE_BOX, GtkBox), 12);
#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp4_ = string_to_string (ADD_IDENTITY_DIALOG_displayname_labeltext);
#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp5_ = g_strconcat (_tmp4_, ":", NULL);
#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp6_ = _tmp5_;
#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp7_ = (GtkLabel*) gtk_label_new (_tmp6_);
#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp7_);
#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->displayname_label);
#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->displayname_label = _tmp7_;
#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (_tmp6_);
#line 88 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp8_ = self->priv->displayname_label;
#line 88 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp8_, (gfloat) 1, (gfloat) 0.5);
#line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp9_ = (GtkEntry*) gtk_entry_new ();
#line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp9_);
#line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->displayname_entry);
#line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->displayname_entry = _tmp9_;
#line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp10_ = string_to_string (ADD_IDENTITY_DIALOG_issuer_labeltext);
#line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp11_ = g_strconcat (_tmp10_, ":", NULL);
#line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp12_ = _tmp11_;
#line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp13_ = (GtkLabel*) gtk_label_new (_tmp12_);
#line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp13_);
#line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->issuer_label);
#line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->issuer_label = _tmp13_;
#line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (_tmp12_);
#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp14_ = self->priv->issuer_label;
#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp14_, (gfloat) 1, (gfloat) 0.5);
#line 92 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp15_ = (GtkEntry*) gtk_entry_new ();
#line 92 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp15_);
#line 92 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->issuer_entry);
#line 92 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->issuer_entry = _tmp15_;
#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp16_ = string_to_string (ADD_IDENTITY_DIALOG_username_labeltext);
#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp17_ = g_strconcat (_tmp16_, ":", NULL);
#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp18_ = _tmp17_;
#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp19_ = (GtkLabel*) gtk_label_new (_tmp18_);
#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp19_);
#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->username_label);
#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->username_label = _tmp19_;
#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (_tmp18_);
#line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp20_ = self->priv->username_label;
#line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp20_, (gfloat) 1, (gfloat) 0.5);
#line 95 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp21_ = (GtkEntry*) gtk_entry_new ();
#line 95 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp21_);
#line 95 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->username_entry);
#line 95 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->username_entry = _tmp21_;
#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp22_ = string_to_string (ADD_IDENTITY_DIALOG_password_labeltext);
#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp23_ = g_strconcat (_tmp22_, ":", NULL);
#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp24_ = _tmp23_;
#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp25_ = (GtkLabel*) gtk_label_new (_tmp24_);
#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp25_);
#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->password_label);
#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->password_label = _tmp25_;
#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (_tmp24_);
#line 97 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp26_ = self->priv->password_label;
#line 97 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp26_, (gfloat) 1, (gfloat) 0.5);
#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp27_ = (GtkEntry*) gtk_entry_new ();
#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp27_);
#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->password_entry = _tmp27_;
#line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp28_ = self->priv->password_entry;
#line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_entry_set_invisible_char (_tmp28_, (gunichar) '*');
#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp29_ = self->priv->password_entry;
#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_entry_set_visibility (_tmp29_, FALSE);
#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp30_ = _ ("Remember password");
#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp31_ = (GtkCheckButton*) gtk_check_button_new_with_label (_tmp30_);
#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp31_);
#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->remember_checkbutton);
#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->remember_checkbutton = _tmp31_;
#line 102 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp32_ = (GtkLabel*) gtk_label_new ("");
#line 102 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp32_);
#line 102 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->message_label);
#line 102 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv->message_label = _tmp32_;
#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp33_ = self->priv->message_label;
#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp33_, FALSE);
#line 105 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp34_ = self->priv->displayname_label;
#line 105 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp35_ = self->priv->displayname_entry;
#line 105 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_set_atk_relation (self, (GtkWidget*) _tmp34_, (GtkWidget*) _tmp35_, ATK_RELATION_LABEL_FOR);
#line 106 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp36_ = self->priv->issuer_label;
#line 106 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp37_ = self->priv->issuer_entry;
#line 106 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_set_atk_relation (self, (GtkWidget*) _tmp36_, (GtkWidget*) _tmp37_, ATK_RELATION_LABEL_FOR);
#line 107 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp38_ = self->priv->username_label;
#line 107 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp39_ = self->priv->username_entry;
#line 107 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_set_atk_relation (self, (GtkWidget*) _tmp38_, (GtkWidget*) _tmp39_, ATK_RELATION_LABEL_FOR);
#line 108 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp40_ = self->priv->password_entry;
#line 108 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp41_ = self->priv->password_entry;
#line 108 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_set_atk_relation (self, (GtkWidget*) _tmp40_, (GtkWidget*) _tmp41_, ATK_RELATION_LABEL_FOR);
#line 110 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp42_ = (GtkTable*) gtk_table_new ((guint) 6, (guint) 2, FALSE);
#line 110 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp42_);
#line 110 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	table = _tmp42_;
#line 111 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_set_col_spacings (table, (guint) 10);
#line 112 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_set_row_spacings (table, (guint) 10);
#line 114 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp43_ = self->priv->message_label;
#line 114 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp43_, (guint) 0, (guint) 2, (guint) 0, (guint) 1);
#line 115 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp44_ = self->priv->displayname_label;
#line 115 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp44_, (guint) 0, (guint) 1, (guint) 1, (guint) 2);
#line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp45_ = self->priv->displayname_entry;
#line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp45_, (guint) 1, (guint) 2, (guint) 1, (guint) 2);
#line 117 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp46_ = self->priv->issuer_label;
#line 117 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp46_, (guint) 0, (guint) 1, (guint) 2, (guint) 3);
#line 118 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp47_ = self->priv->issuer_entry;
#line 118 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp47_, (guint) 1, (guint) 2, (guint) 2, (guint) 3);
#line 119 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp48_ = self->priv->username_label;
#line 119 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp48_, (guint) 0, (guint) 1, (guint) 3, (guint) 4);
#line 120 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp49_ = self->priv->username_entry;
#line 120 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp49_, (guint) 1, (guint) 2, (guint) 3, (guint) 4);
#line 121 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp50_ = self->priv->password_label;
#line 121 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp50_, (guint) 0, (guint) 1, (guint) 4, (guint) 5);
#line 122 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp51_ = self->priv->password_entry;
#line 122 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp51_, (guint) 1, (guint) 2, (guint) 4, (guint) 5);
#line 123 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp52_ = self->priv->remember_checkbutton;
#line 123 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_table_attach_defaults (table, (GtkWidget*) _tmp52_, (guint) 1, (guint) 2, (guint) 5, (guint) 6);
#line 125 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_signal_connect_object ((GtkDialog*) self, "response", (GCallback) _add_identity_dialog_on_response_gtk_dialog_response, self, 0);
#line 126 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp53_ = (GtkVBox*) gtk_vbox_new (FALSE, 0);
#line 126 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_ref_sink (_tmp53_);
#line 126 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	vbox = _tmp53_;
#line 127 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_container_set_border_width ((GtkContainer*) vbox, (guint) 6);
#line 128 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_box_pack_start ((GtkBox*) vbox, (GtkWidget*) table, FALSE, FALSE, (guint) 0);
#line 130 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (content_area, GTK_TYPE_CONTAINER, GtkContainer), (GtkWidget*) vbox);
#line 132 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_container_set_border_width ((GtkContainer*) self, (guint) 6);
#line 133 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_window_set_resizable ((GtkWindow*) self, FALSE);
#line 134 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_widget_show_all ((GtkWidget*) self);
#line 72 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (vbox);
#line 72 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (table);
#line 72 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (content_area);
#line 72 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return self;
#line 468 "moonshot-add-dialog.c"
}


AddIdentityDialog* add_identity_dialog_new (void) {
#line 72 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return add_identity_dialog_construct (TYPE_ADD_IDENTITY_DIALOG);
#line 475 "moonshot-add-dialog.c"
}


static gchar* add_identity_dialog_update_preamble (const gchar* preamble) {
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
#line 137 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_val_if_fail (preamble != NULL, NULL);
#line 139 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = preamble;
#line 139 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	if (g_strcmp0 (_tmp0_, "") == 0) {
#line 490 "moonshot-add-dialog.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
#line 140 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp1_ = _ ("Missing required field: ");
#line 140 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 140 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		result = _tmp2_;
#line 140 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		return result;
#line 501 "moonshot-add-dialog.c"
	}
#line 141 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp3_ = _ ("Missing required fields: ");
#line 141 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 141 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	result = _tmp4_;
#line 141 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return result;
#line 511 "moonshot-add-dialog.c"
}


static gchar* add_identity_dialog_update_message (const gchar* old_message, const gchar* new_item) {
	gchar* result = NULL;
	gchar* message = NULL;
	const gchar* _tmp0_ = NULL;
#line 144 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_val_if_fail (old_message != NULL, NULL);
#line 144 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_val_if_fail (new_item != NULL, NULL);
#line 147 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = old_message;
#line 147 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	if (g_strcmp0 (_tmp0_, "") == 0) {
#line 527 "moonshot-add-dialog.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
#line 148 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp1_ = new_item;
#line 148 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 148 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_g_free0 (message);
#line 148 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		message = _tmp2_;
#line 538 "moonshot-add-dialog.c"
	} else {
		const gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
#line 150 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp3_ = old_message;
#line 150 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp4_ = g_strconcat (_tmp3_, ", ", NULL);
#line 150 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp5_ = _tmp4_;
#line 150 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp6_ = new_item;
#line 150 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp7_ = g_strconcat (_tmp5_, _tmp6_, NULL);
#line 150 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_g_free0 (message);
#line 150 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		message = _tmp7_;
#line 150 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_g_free0 (_tmp5_);
#line 561 "moonshot-add-dialog.c"
	}
#line 151 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	result = message;
#line 151 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return result;
#line 567 "moonshot-add-dialog.c"
}


static void add_identity_dialog_check_field (const gchar* field, GtkLabel* label, const gchar* fieldname, gchar** preamble, gchar** message) {
	const gchar* _tmp0_ = NULL;
	GtkLabel* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	const gchar* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	gchar* _tmp15_ = NULL;
#line 154 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (field != NULL);
#line 154 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (label != NULL);
#line 154 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (fieldname != NULL);
#line 154 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (*preamble != NULL);
#line 154 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (*message != NULL);
#line 156 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = field;
#line 156 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	if (g_strcmp0 (_tmp0_, "") != 0) {
#line 597 "moonshot-add-dialog.c"
		GtkLabel* _tmp1_ = NULL;
		const gchar* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
#line 157 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp1_ = label;
#line 157 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp2_ = fieldname;
#line 157 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp3_ = string_to_string (_tmp2_);
#line 157 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp4_ = g_strconcat (_tmp3_, ":", NULL);
#line 157 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp5_ = _tmp4_;
#line 157 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		gtk_label_set_markup (_tmp1_, _tmp5_);
#line 157 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_g_free0 (_tmp5_);
#line 158 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		return;
#line 619 "moonshot-add-dialog.c"
	}
#line 160 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp6_ = label;
#line 160 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp7_ = fieldname;
#line 160 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp8_ = string_to_string (_tmp7_);
#line 160 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp9_ = g_strconcat ("<span foreground=\"red\">", _tmp8_, ":</span>", NULL);
#line 160 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp10_ = _tmp9_;
#line 160 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	gtk_label_set_markup (_tmp6_, _tmp10_);
#line 160 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (_tmp10_);
#line 161 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp11_ = *preamble;
#line 161 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp12_ = add_identity_dialog_update_preamble (_tmp11_);
#line 161 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (*preamble);
#line 161 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	*preamble = _tmp12_;
#line 162 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp13_ = *message;
#line 162 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp14_ = fieldname;
#line 162 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp15_ = add_identity_dialog_update_message (_tmp13_, _tmp14_);
#line 162 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (*message);
#line 162 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	*message = _tmp15_;
#line 653 "moonshot-add-dialog.c"
}


static gboolean add_identity_dialog_check_fields (AddIdentityDialog* self) {
	gboolean result = FALSE;
	gchar* preamble = NULL;
	gchar* _tmp0_ = NULL;
	gchar* message = NULL;
	gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	gchar* password_test = NULL;
	gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	GtkLabel* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	GtkLabel* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	GtkLabel* _tmp16_ = NULL;
	const gchar* _tmp17_ = NULL;
	GtkLabel* _tmp18_ = NULL;
	const gchar* _tmp19_ = NULL;
#line 165 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 167 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = g_strdup ("");
#line 167 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	preamble = _tmp0_;
#line 168 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp1_ = g_strdup ("");
#line 168 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	message = _tmp1_;
#line 169 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp3_ = add_identity_dialog_get_store_password (self);
#line 169 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp4_ = _tmp3_;
#line 169 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	if (_tmp4_) {
#line 696 "moonshot-add-dialog.c"
		const gchar* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 169 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp5_ = add_identity_dialog_get_password (self);
#line 169 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp6_ = _tmp5_;
#line 169 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp2_ = _tmp6_;
#line 705 "moonshot-add-dialog.c"
	} else {
#line 169 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp2_ = "not required";
#line 709 "moonshot-add-dialog.c"
	}
#line 169 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp7_ = g_strdup (_tmp2_);
#line 169 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	password_test = _tmp7_;
#line 170 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp8_ = add_identity_dialog_get_display_name (self);
#line 170 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp9_ = _tmp8_;
#line 170 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp10_ = self->priv->displayname_label;
#line 170 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_check_field (_tmp9_, _tmp10_, ADD_IDENTITY_DIALOG_displayname_labeltext, &preamble, &message);
#line 171 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp11_ = add_identity_dialog_get_issuer (self);
#line 171 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp12_ = _tmp11_;
#line 171 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp13_ = self->priv->issuer_label;
#line 171 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_check_field (_tmp12_, _tmp13_, ADD_IDENTITY_DIALOG_issuer_labeltext, &preamble, &message);
#line 172 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp14_ = add_identity_dialog_get_username (self);
#line 172 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp15_ = _tmp14_;
#line 172 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp16_ = self->priv->username_label;
#line 172 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_check_field (_tmp15_, _tmp16_, ADD_IDENTITY_DIALOG_username_labeltext, &preamble, &message);
#line 173 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp17_ = password_test;
#line 173 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp18_ = self->priv->password_label;
#line 173 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_check_field (_tmp17_, _tmp18_, ADD_IDENTITY_DIALOG_password_labeltext, &preamble, &message);
#line 174 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp19_ = message;
#line 174 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	if (g_strcmp0 (_tmp19_, "") != 0) {
#line 749 "moonshot-add-dialog.c"
		GtkLabel* _tmp20_ = NULL;
		GtkLabel* _tmp21_ = NULL;
		const gchar* _tmp22_ = NULL;
		const gchar* _tmp23_ = NULL;
		const gchar* _tmp24_ = NULL;
		const gchar* _tmp25_ = NULL;
		gchar* _tmp26_ = NULL;
		gchar* _tmp27_ = NULL;
#line 175 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp20_ = self->priv->message_label;
#line 175 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp20_, TRUE);
#line 176 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp21_ = self->priv->message_label;
#line 176 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp22_ = preamble;
#line 176 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp23_ = string_to_string (_tmp22_);
#line 176 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp24_ = message;
#line 176 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp25_ = string_to_string (_tmp24_);
#line 176 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp26_ = g_strconcat ("<span foreground=\"red\">", _tmp23_, _tmp25_, "</span>", NULL);
#line 176 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_tmp27_ = _tmp26_;
#line 176 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		gtk_label_set_markup (_tmp21_, _tmp27_);
#line 176 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_g_free0 (_tmp27_);
#line 177 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		result = FALSE;
#line 177 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_g_free0 (password_test);
#line 177 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_g_free0 (message);
#line 177 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		_g_free0 (preamble);
#line 177 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		return result;
#line 790 "moonshot-add-dialog.c"
	}
#line 179 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	result = TRUE;
#line 179 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (password_test);
#line 179 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (message);
#line 179 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_free0 (preamble);
#line 179 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return result;
#line 802 "moonshot-add-dialog.c"
}


static void add_identity_dialog_on_response (AddIdentityDialog* self, GtkDialog* source, gint response_id) {
	gint _tmp0_ = 0;
#line 182 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (self != NULL);
#line 182 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (source != NULL);
#line 184 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = response_id;
#line 184 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	switch (_tmp0_) {
#line 184 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		case GTK_RESPONSE_OK:
#line 818 "moonshot-add-dialog.c"
		{
			gboolean _tmp1_ = FALSE;
#line 186 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
			_tmp1_ = add_identity_dialog_check_fields (self);
#line 186 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
			self->complete = _tmp1_;
#line 187 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
			break;
#line 827 "moonshot-add-dialog.c"
		}
#line 184 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		case GTK_RESPONSE_CANCEL:
#line 831 "moonshot-add-dialog.c"
		{
#line 189 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
			self->complete = TRUE;
#line 190 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
			break;
#line 837 "moonshot-add-dialog.c"
		}
		default:
#line 184 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		break;
#line 842 "moonshot-add-dialog.c"
	}
}


static void add_identity_dialog_set_atk_relation (AddIdentityDialog* self, GtkWidget* widget, GtkWidget* target_widget, AtkRelationType relationship) {
	AtkObject* atk_widget = NULL;
	GtkWidget* _tmp0_ = NULL;
	AtkObject* _tmp1_ = NULL;
	AtkObject* _tmp2_ = NULL;
	AtkObject* atk_target_widget = NULL;
	GtkWidget* _tmp3_ = NULL;
	AtkObject* _tmp4_ = NULL;
	AtkObject* _tmp5_ = NULL;
	AtkRelationType _tmp6_ = 0;
#line 194 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (self != NULL);
#line 194 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (widget != NULL);
#line 194 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_if_fail (target_widget != NULL);
#line 196 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = widget;
#line 196 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp1_ = gtk_widget_get_accessible (_tmp0_);
#line 196 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 196 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	atk_widget = _tmp2_;
#line 197 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp3_ = target_widget;
#line 197 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp4_ = gtk_widget_get_accessible (_tmp3_);
#line 197 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 197 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	atk_target_widget = _tmp5_;
#line 199 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp6_ = relationship;
#line 199 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	atk_object_add_relationship (atk_widget, _tmp6_, atk_target_widget);
#line 194 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (atk_target_widget);
#line 194 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (atk_widget);
#line 887 "moonshot-add-dialog.c"
}


const gchar* add_identity_dialog_get_display_name (AddIdentityDialog* self) {
	const gchar* result;
	GtkEntry* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 53 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 53 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = self->priv->displayname_entry;
#line 53 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 53 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	result = _tmp1_;
#line 53 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return result;
#line 905 "moonshot-add-dialog.c"
}


const gchar* add_identity_dialog_get_issuer (AddIdentityDialog* self) {
	const gchar* result;
	GtkEntry* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 57 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 57 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = self->priv->issuer_entry;
#line 57 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 57 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	result = _tmp1_;
#line 57 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return result;
#line 923 "moonshot-add-dialog.c"
}


const gchar* add_identity_dialog_get_username (AddIdentityDialog* self) {
	const gchar* result;
	GtkEntry* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = self->priv->username_entry;
#line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	result = _tmp1_;
#line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return result;
#line 941 "moonshot-add-dialog.c"
}


const gchar* add_identity_dialog_get_password (AddIdentityDialog* self) {
	const gchar* result;
	GtkEntry* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 65 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 65 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = self->priv->password_entry;
#line 65 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 65 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	result = _tmp1_;
#line 65 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return result;
#line 959 "moonshot-add-dialog.c"
}


gboolean add_identity_dialog_get_store_password (AddIdentityDialog* self) {
	gboolean result;
	GtkCheckButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 69 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 69 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp0_ = self->priv->remember_checkbutton;
#line 69 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_);
#line 69 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_tmp2_ = _tmp1_;
#line 69 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	result = _tmp2_;
#line 69 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	return result;
#line 980 "moonshot-add-dialog.c"
}


static void add_identity_dialog_class_init (AddIdentityDialogClass * klass) {
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	add_identity_dialog_parent_class = g_type_class_peek_parent (klass);
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_type_class_add_private (klass, sizeof (AddIdentityDialogPrivate));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_add_identity_dialog_get_property;
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	G_OBJECT_CLASS (klass)->finalize = add_identity_dialog_finalize;
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADD_IDENTITY_DIALOG_DISPLAY_NAME, g_param_spec_string ("display-name", "display-name", "display-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADD_IDENTITY_DIALOG_ISSUER, g_param_spec_string ("issuer", "issuer", "issuer", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADD_IDENTITY_DIALOG_USERNAME, g_param_spec_string ("username", "username", "username", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADD_IDENTITY_DIALOG_PASSWORD, g_param_spec_string ("password", "password", "password", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADD_IDENTITY_DIALOG_STORE_PASSWORD, g_param_spec_boolean ("store-password", "store-password", "store-password", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 1003 "moonshot-add-dialog.c"
}


static void add_identity_dialog_instance_init (AddIdentityDialog * self) {
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self->priv = ADD_IDENTITY_DIALOG_GET_PRIVATE (self);
#line 1010 "moonshot-add-dialog.c"
}


static void add_identity_dialog_finalize (GObject* obj) {
	AddIdentityDialog * self;
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_ADD_IDENTITY_DIALOG, AddIdentityDialog);
#line 40 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->displayname_entry);
#line 41 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->displayname_label);
#line 42 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->issuer_entry);
#line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->issuer_label);
#line 44 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->username_entry);
#line 45 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->username_label);
#line 46 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->password_label);
#line 48 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->remember_checkbutton);
#line 49 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	_g_object_unref0 (self->priv->message_label);
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	G_OBJECT_CLASS (add_identity_dialog_parent_class)->finalize (obj);
#line 1040 "moonshot-add-dialog.c"
}


GType add_identity_dialog_get_type (void) {
	static volatile gsize add_identity_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&add_identity_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (AddIdentityDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) add_identity_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AddIdentityDialog), 0, (GInstanceInitFunc) add_identity_dialog_instance_init, NULL };
		GType add_identity_dialog_type_id;
		add_identity_dialog_type_id = g_type_register_static (GTK_TYPE_DIALOG, "AddIdentityDialog", &g_define_type_info, 0);
		g_once_init_leave (&add_identity_dialog_type_id__volatile, add_identity_dialog_type_id);
	}
	return add_identity_dialog_type_id__volatile;
}


static void _vala_add_identity_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	AddIdentityDialog * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_ADD_IDENTITY_DIALOG, AddIdentityDialog);
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
	switch (property_id) {
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		case ADD_IDENTITY_DIALOG_DISPLAY_NAME:
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		g_value_set_string (value, add_identity_dialog_get_display_name (self));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		break;
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		case ADD_IDENTITY_DIALOG_ISSUER:
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		g_value_set_string (value, add_identity_dialog_get_issuer (self));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		break;
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		case ADD_IDENTITY_DIALOG_USERNAME:
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		g_value_set_string (value, add_identity_dialog_get_username (self));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		break;
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		case ADD_IDENTITY_DIALOG_PASSWORD:
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		g_value_set_string (value, add_identity_dialog_get_password (self));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		break;
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		case ADD_IDENTITY_DIALOG_STORE_PASSWORD:
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		g_value_set_boolean (value, add_identity_dialog_get_store_password (self));
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		break;
#line 1091 "moonshot-add-dialog.c"
		default:
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-add-dialog.vala"
		break;
#line 1097 "moonshot-add-dialog.c"
	}
}



