summaryrefslogtreecommitdiff
path: root/pidgin/plugins/gevolution/new_person_dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'pidgin/plugins/gevolution/new_person_dialog.c')
-rw-r--r--pidgin/plugins/gevolution/new_person_dialog.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/pidgin/plugins/gevolution/new_person_dialog.c b/pidgin/plugins/gevolution/new_person_dialog.c
index d597a33601..30682f0ce1 100644
--- a/pidgin/plugins/gevolution/new_person_dialog.c
+++ b/pidgin/plugins/gevolution/new_person_dialog.c
@@ -153,6 +153,8 @@ add_cb(GtkWidget *w, GevoNewPersonDialog *dialog)
field = E_CONTACT_IM_MSN;
else if (!strcmp(im_service, "prpl-novell"))
field = E_CONTACT_IM_GROUPWISE;
+ else if (!strcmp(im_service, "prpl-gg"))
+ field = E_CONTACT_IM_GADUGADU;
if (field > 0)
{
@@ -202,8 +204,7 @@ add_cb(GtkWidget *w, GevoNewPersonDialog *dialog)
if (name != NULL)
e_contact_name_free(name);
- if (full_name != NULL)
- g_free(full_name);
+ g_free(full_name);
delete_win_cb(NULL, NULL, dialog);
}
@@ -293,9 +294,10 @@ gevo_new_person_dialog_show(EBook *book, EContact *contact,
G_CALLBACK(username_changed_cb), dialog);
/* Group */
- dialog->group_combo = pidgin_text_combo_box_entry_new(NULL,
+ dialog->group_combo = pidgin_text_combo_box_entry_new(group,
gevo_get_groups());
add_pref_box(sg, vbox, _("Group:"), dialog->group_combo);
+ gtk_widget_show_all(dialog->group_combo);
/* Separator */
sep = gtk_hseparator_new();