changeset 9899:8651abf08dd5

[gaim-migrate @ 10790] Use gaim_account_get_protocol_name() in 2 more places committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 28 Aug 2004 13:54:55 +0000
parents 8974a8544279
children 0172daa9fcb5
files src/gtkutils.c src/server.c
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutils.c	Sat Aug 28 12:58:57 2004 +0000
+++ b/src/gtkutils.c	Sat Aug 28 13:54:55 2004 +0000
@@ -587,8 +587,8 @@
 		gtk_widget_show(image);
 
 		g_snprintf(buf, sizeof(buf), "%s (%s)",
-				   gaim_account_get_username(account), 
-				   (plugin != NULL) ? plugin->info->name : _("Unknown"));
+				   gaim_account_get_username(account),
+				   gaim_account_get_protocol_name(account));
 
 		/* Create the label. */
 		label = gtk_label_new(buf);
--- a/src/server.c	Sat Aug 28 12:58:57 2004 +0000
+++ b/src/server.c	Sat Aug 28 13:54:55 2004 +0000
@@ -65,9 +65,10 @@
 			return;
 		}
 
-		gaim_debug(GAIM_DEBUG_INFO, "server",
-				   PACKAGE " " VERSION " logging in %s using %s\n",
-				   account->username, p->info->name);
+		gaim_debug_info("server", PACKAGE " " VERSION
+						" logging in %s using %s\n",
+						gaim_account_get_username(account),
+						gaim_account_get_protocol_name(account));
 
 		gaim_signal_emit(gaim_accounts_get_handle(),
 						 "account-connecting", account);