Mercurial > pidgin
changeset 18433:3e4ee49396ad
merge of 'cc6c96ed91fb789ae12faf87e23361996db6d2f0'
and 'f6786fa80b5701a5f44434e550c174e54f3114c4'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 04 Jul 2007 18:58:40 +0000 |
parents | f5a17e7e4bfa (diff) 5bc6c4097a77 (current diff) |
children | 2bf8792760fe |
files | |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntaccount.c Wed Jul 04 15:26:17 2007 +0000 +++ b/finch/gntaccount.c Wed Jul 04 18:58:40 2007 +0000 @@ -472,6 +472,14 @@ } } + list = purple_plugins_get_protocols(); + if (list == NULL) { + purple_notify_error(NULL, _("Error"), + _("There's no protocol plugins installed."), + _("(You probably forgot to 'make install'.)")); + return; + } + dialog = g_new0(AccountEditDialog, 1); accountdialogs = g_list_prepend(accountdialogs, dialog); @@ -489,7 +497,6 @@ gnt_box_add_widget(GNT_BOX(window), hbox); dialog->protocol = combo = gnt_combo_box_new(); - list = purple_plugins_get_protocols(); for (iter = list; iter; iter = iter->next) { gnt_combo_box_add_data(GNT_COMBO_BOX(combo), iter->data,