diff --git a/src/calls-account-row.c b/src/calls-account-row.c
index 7c1db4f..b86bda0 100644
--- a/src/calls-account-row.c
+++ b/src/calls-account-row.c
@@ -63,7 +63,6 @@ struct _CallsAccountRow {
/* UI elements */
HdyAvatar *avatar;
GtkSwitch *online_switch;
- GtkButton *edit_btn;
};
G_DEFINE_TYPE (CallsAccountRow, calls_account_row, HDY_TYPE_ACTION_ROW)
@@ -82,17 +81,6 @@ on_account_state_changed (CallsAccountRow *self)
gtk_switch_set_state (self->online_switch, state == CALLS_ACCOUNT_STATE_ONLINE);
}
-static void
-on_edit_clicked (CallsAccountRow *self)
-{
- /** CallsAccountOverview connects to this signal to show
- * the window containing the account providers widget.
- * See calls_account_provider_get_account_widget()
- */
- g_signal_emit (self, signals[EDIT_CLICKED], 0, self->provider, self->account);
-}
-
-
static gboolean
on_online_switched (GtkSwitch *widget,
gboolean online,
@@ -225,9 +213,7 @@ calls_account_row_class_init (CallsAccountRowClass *klass)
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/Calls/ui/account-row.ui");
gtk_widget_class_bind_template_child (widget_class, CallsAccountRow, avatar);
gtk_widget_class_bind_template_child (widget_class, CallsAccountRow, online_switch);
- gtk_widget_class_bind_template_child (widget_class, CallsAccountRow, edit_btn);
- gtk_widget_class_bind_template_callback (widget_class, on_edit_clicked);
gtk_widget_class_bind_template_callback (widget_class, on_online_switched);
}
diff --git a/src/ui/account-overview.ui b/src/ui/account-overview.ui
index f30f3ea..436cca0 100644
--- a/src/ui/account-overview.ui
+++ b/src/ui/account-overview.ui
@@ -73,8 +73,15 @@
overview-page
@@ -90,14 +97,20 @@
-