--- a/E5Gui/E5ToolBarDialog.py Mon Oct 14 18:26:25 2013 +0200 +++ b/E5Gui/E5ToolBarDialog.py Mon Oct 14 19:30:36 2013 +0200 @@ -139,11 +139,13 @@ if ok and name: if self.toolbarComboBox.findText(name) != -1: # toolbar with this name already exists - E5MessageBox.critical(self, - self.trUtf8("New Toolbar"), - self.trUtf8( - """A toolbar with the name <b>{0}</b> already exists.""") - .format(name)) + E5MessageBox.critical( + self, + self.trUtf8("New Toolbar"), + self.trUtf8( + """A toolbar with the name <b>{0}</b> already""" + """ exists.""") + .format(name)) return tbItem = E5ToolBarItem(None, [], False) @@ -162,7 +164,8 @@ Private slot to remove a custom toolbar. """ name = self.toolbarComboBox.currentText() - res = E5MessageBox.yesNo(self, + res = E5MessageBox.yesNo( + self, self.trUtf8("Remove Toolbar"), self.trUtf8( """Should the toolbar <b>{0}</b> really be removed?""") @@ -197,11 +200,13 @@ return if self.toolbarComboBox.findText(newName) != -1: # toolbar with this name already exists - E5MessageBox.critical(self, - self.trUtf8("Rename Toolbar"), - self.trUtf8( - """A toolbar with the name <b>{0}</b> already exists.""") - .format(newName)) + E5MessageBox.critical( + self, + self.trUtf8("Rename Toolbar"), + self.trUtf8( + """A toolbar with the name <b>{0}</b> already""" + """ exists.""") + .format(newName)) return index = self.toolbarComboBox.currentIndex() self.toolbarComboBox.setItemText(index, newName)