create an empty join_button var in order to not TB

This commit is contained in:
Yann Leboulanger 2005-12-12 07:52:18 +00:00
parent df72ad3367
commit cf33e04a37
1 changed files with 4 additions and 0 deletions

View File

@ -929,6 +929,7 @@ class ToplevelAgentBrowser(AgentBrowser):
self._progress = 0
self.tooltip = tooltips.ServiceDiscoveryTooltip()
self.register_button = None
self.join_button = None
# Keep track of our treeview signals
self._view_signals = []
self._scroll_signal = None
@ -1107,6 +1108,9 @@ class ToplevelAgentBrowser(AgentBrowser):
if self.register_button:
self.register_button.destroy()
self.register_button = None
if self.join_button:
self.join_button.destroy()
self.join_button = None
AgentBrowser._clean_actions(self)
def cleanup(self):