diff src/gtkpounce.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 c001be3c330e
children 4d05b6e9e9cd
line wrap: on
line diff
--- a/src/gtkpounce.c	Sat Aug 07 14:43:14 2004 +0000
+++ b/src/gtkpounce.c	Sat Aug 07 15:04:15 2004 +0000
@@ -922,10 +922,8 @@
 	GaimConversation *conv;
 	GaimAccount *account;
 	GaimBuddy *buddy;
-	GaimPlugin *proto;
 	const char *pouncee;
 	const char *alias;
-	const char *proto_id;
 
 	pouncee = gaim_pounce_get_pouncee(pounce);
 	account = gaim_pounce_get_pouncer(pounce);
@@ -934,10 +932,6 @@
 
 	alias = gaim_buddy_get_alias(buddy);
 
-	/* Find the protocol id for the window title and/or message */
-	proto = gaim_find_prpl(gaim_account_get_protocol_id(account));
-	proto_id = proto->info->name;
-
 	if (gaim_pounce_action_is_enabled(pounce, "open-window"))
 	{
 		conv = gaim_find_conversation_with_account(pouncee, account);
@@ -973,7 +967,7 @@
 				   (events & GAIM_POUNCE_AWAY) ?
 				   _("%s has gone away. (%s)") :
 				   _("Unknown pounce event. Please report this!"),
-				   alias,proto_id);
+				   alias, gaim_account_get_protocol_name(account));
 
 		/*
 		 * Ok here is where I change the second argument, title, from