Network/IRC/IrcNetworkEditDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2992
dbdf27746da5
child 3058
0a02c433f52d
--- a/Network/IRC/IrcNetworkEditDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Network/IRC/IrcNetworkEditDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -29,7 +29,8 @@
         """
         Constructor
         
-        @param manager reference to the IRC network manager object (IrcNetworkManager)
+        @param manager reference to the IRC network manager object
+            (IrcNetworkManager)
         @param networkName name of the network to work on (string)
         @param parent reference to the parent widget (QWidget)
         """
@@ -38,16 +39,20 @@
         
         self.__manager = manager
         
-        self.editIdentitiesButton.setIcon(UI.PixmapCache.getIcon("ircConfigure.png"))
-        self.editServerButton.setIcon(UI.PixmapCache.getIcon("ircConfigure.png"))
-        self.editChannelButton.setIcon(UI.PixmapCache.getIcon("ircConfigure.png"))
+        self.editIdentitiesButton.setIcon(
+            UI.PixmapCache.getIcon("ircConfigure.png"))
+        self.editServerButton.setIcon(
+            UI.PixmapCache.getIcon("ircConfigure.png"))
+        self.editChannelButton.setIcon(
+            UI.PixmapCache.getIcon("ircConfigure.png"))
         self.addChannelButton.setIcon(UI.PixmapCache.getIcon("plus.png"))
         self.deleteChannelButton.setIcon(UI.PixmapCache.getIcon("minus.png"))
         
         self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok)
         
         if networkName:
-            self.__network = copy.deepcopy(self.__manager.getNetwork(networkName))
+            self.__network = copy.deepcopy(
+                self.__manager.getNetwork(networkName))
         else:
             from .IrcNetworkManager import IrcNetwork
             self.__network = IrcNetwork("")
@@ -180,7 +185,8 @@
         if itm:
             res = E5MessageBox.yesNo(self,
                 self.trUtf8("Delete Channel"),
-                self.trUtf8("""Do you really want to delete channel <b>{0}</b>?""")\
+                self.trUtf8(
+                    """Do you really want to delete channel <b>{0}</b>?""")
                     .format(itm.text(0)))
             if res:
                 self.__network.deleteChannel(itm.text(0))

eric ide

mercurial