diff src/prpl.c @ 2843:87d11d2a7d59

[gaim-migrate @ 2856] i think we've found our mole committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 04 Dec 2001 07:53:55 +0000
parents 51999a36c0b1
children 0f1766887ddd
line wrap: on
line diff
--- a/src/prpl.c	Tue Dec 04 05:38:53 2001 +0000
+++ b/src/prpl.c	Tue Dec 04 07:53:55 2001 +0000
@@ -612,7 +612,7 @@
 	}
 
 	if (!P) {
-		GtkWidget *no = gtk_label_new(_("You do not currently have any plugins loaded"
+		GtkWidget *no = gtk_label_new(_("You do not currently have any protocols available"
 						" that are able to register new accounts."));
 		gtk_box_pack_start(GTK_BOX(reg_area), no, FALSE, FALSE, 5);
 		gtk_widget_show(no);
@@ -621,6 +621,18 @@
 
 		return;
 	}
+
+	gtk_widget_set_sensitive(reg_reg, TRUE);
+
+	while (P) {	/* we can safely ignore all the previous ones */
+		struct prpl *p = P->data;
+		P = P->next;
+
+		if (!p->register_user)
+			continue;
+
+		/* do stuff */
+	}
 }
 
 void register_dialog()