Commit 6b64f9ab authored by Mohammed Sadiq's avatar Mohammed Sadiq

new-muc-dialog: Allow clicking account items

HdyActionRow are not activatable by default
parent 6932e5c3
Pipeline #65104 passed with stages
in 14 minutes and 39 seconds
......@@ -127,6 +127,7 @@ account_list_row_activated_cb (ChattyNewMucDialog *self,
account = g_object_get_data (G_OBJECT(row), "row-account");
prefix_radio = g_object_get_data (G_OBJECT(row), "row-prefix");
g_warning ("act %p", account);
self->selected_account = account;
......@@ -172,6 +173,7 @@ chatty_new_muc_add_account_to_list (ChattyNewMucDialog *self,
g_return_if_fail (CHATTY_IS_NEW_MUC_DIALOG(self));
row = HDY_ACTION_ROW (hdy_action_row_new ());
gtk_list_box_row_set_activatable (GTK_LIST_BOX_ROW (row), TRUE);
g_object_set_data (G_OBJECT(row),
"row-account",
(gpointer) account);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment