diff src/gtkaccount.c @ 9699:267eab8f3fa4

[gaim-migrate @ 10558] Add a password hint to the "Enter password" dialog. Also added a gaim_account_get_protocol_name() to account.c/.h This change sponsored in part by Daniel Atallah, Jon Oberheide, Mark Doliner, the National Science Foundation, and by viewers like you. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 07 Aug 2004 15:04:15 +0000
parents cedb8474b255
children 5c6f4f0acb8b
line wrap: on
line diff
--- a/src/gtkaccount.c	Sat Aug 07 14:43:14 2004 +0000
+++ b/src/gtkaccount.c	Sat Aug 07 15:04:15 2004 +0000
@@ -161,14 +161,6 @@
 static char*
 convert_buddy_icon(GaimAccount *account, const char *path);
 
-static char *
-proto_name(const char *id)
-{
-	GaimPlugin *p = gaim_find_prpl(id);
-
-	return ((p && p->info->name) ? _(p->info->name) : _("Unknown"));
-}
-
 /**************************************************************************
  * Add/Modify Account dialog
  **************************************************************************/
@@ -2193,7 +2185,7 @@
 			COLUMN_SCREENNAME, gaim_account_get_username(account),
 			COLUMN_ONLINE, gaim_account_is_connected(account),
 			COLUMN_AUTOLOGIN, gaim_account_get_auto_login(account, GAIM_GTK_UI),
-			COLUMN_PROTOCOL, proto_name(gaim_account_get_protocol_id(account)),
+			COLUMN_PROTOCOL, gaim_account_get_protocol_name(account),
 			COLUMN_DATA, account,
 			-1);