UI/UserInterface.py

changeset 2258
9ca42fd3ecc0
parent 2237
baddb671c326
child 2297
e8a46f81517c
--- a/UI/UserInterface.py	Mon Dec 10 18:36:29 2012 +0100
+++ b/UI/UserInterface.py	Mon Dec 10 18:38:08 2012 +0100
@@ -462,6 +462,8 @@
         
         self.numbersViewer.insertNumber.connect(self.viewmanager.insertNumber)
         
+        self.irc.autoConnected.connect(self.__ircAutoConnected)
+        
         # create the toolbar manager object
         self.toolbarManager = E5ToolBarManager(self, self)
         self.toolbarManager.setMainWindow(self)
@@ -5605,3 +5607,9 @@
         Public method to initiate the IRC auto connection.
         """
         self.irc.autoConnect()
+    
+    def __ircAutoConnected(self):
+        """
+        Private slot handling the automatic connection of the IRC client.
+        """
+        self.__activateIRC()

eric ide

mercurial