From 6c10fe9a7b1b8313b8df4fddcbe11275fb363ba7 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Mon, 4 Apr 2005 17:15:08 +0000
Subject: [PATCH] rename browser to disco everywhere

---
 plugins/gtkgui/gtkgui.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py
index 0f7b1b97b2..1d866fa0b8 100644
--- a/plugins/gtkgui/gtkgui.py
+++ b/plugins/gtkgui/gtkgui.py
@@ -455,24 +455,24 @@ class plugin:
 
 	def handle_event_agents(self, account, agents):
 		#('AGENTS', account, agents)
-		if self.windows[account].has_key('browser'):
-			self.windows[account]['browser'].agents(agents)
+		if self.windows[account].has_key('disco'):
+			self.windows[account]['disco'].agents(agents)
 
 	def handle_event_agent_info(self, account, array):
 		#('AGENT_INFO', account, (agent, identities, features, items))
-		if self.windows[account].has_key('browser'):
-			self.windows[account]['browser'].agent_info(array[0], array[1], \
+		if self.windows[account].has_key('disco'):
+			self.windows[account]['disco'].agent_info(array[0], array[1], \
 				array[2], array[3])
 
 	def handle_event_agent_info_items(self, account, array):
 		#('AGENT_INFO_ITEMS', account, (agent, items))
-		if self.windows[account].has_key('browser'):
-			self.windows[account]['browser'].agent_info_items(array[0], array[1])
+		if self.windows[account].has_key('disco'):
+			self.windows[account]['disco'].agent_info_items(array[0], array[1])
 
 	def handle_event_agent_info_info(self, account, array):
 		#('AGENT_INFO_INFO', account, (agent, identities, features))
-		if self.windows[account].has_key('browser'):
-			self.windows[account]['browser'].agent_info_info(array[0], array[1], \
+		if self.windows[account].has_key('disco'):
+			self.windows[account]['disco'].agent_info_info(array[0], array[1], \
 				array[2])
 
 	def handle_event_reg_agent_info(self, account, array):
-- 
GitLab