diff -r 10516539f238 -r 0a02c433f52d Plugins/VcsPlugins/vcsMercurial/QueuesExtension/queues.py --- a/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/queues.py Fri Oct 18 23:00:41 2013 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/queues.py Fri Nov 01 15:48:48 2013 +0100 @@ -409,7 +409,8 @@ else: return False else: - E5MessageBox.information(None, + E5MessageBox.information( + None, self.trUtf8("Select Patch"), self.trUtf8("""No patches to select from.""")) return False @@ -521,7 +522,8 @@ if res: dia.exec_() else: - E5MessageBox.information(None, + E5MessageBox.information( + None, self.trUtf8("Select Patch"), self.trUtf8("""No patches to select from.""")) @@ -559,11 +561,13 @@ if res: dia.exec_() else: - E5MessageBox.information(None, + E5MessageBox.information( + None, self.trUtf8("Fold Patches"), self.trUtf8("""No patches selected.""")) else: - E5MessageBox.information(None, + E5MessageBox.information( + None, self.trUtf8("Fold Patches"), self.trUtf8("""No patches available to be folded.""")) @@ -589,7 +593,8 @@ self.queuesListGuardsDialog.show() self.queuesListGuardsDialog.start(name) else: - E5MessageBox.information(None, + E5MessageBox.information( + None, self.trUtf8("List Guards"), self.trUtf8("""No patches available to list guards for.""")) @@ -626,7 +631,8 @@ self.queuesDefineGuardsDialog.show() self.queuesDefineGuardsDialog.start(name) else: - E5MessageBox.information(None, + E5MessageBox.information( + None, self.trUtf8("Define Guards"), self.trUtf8("""No patches available to define guards for.""")) @@ -671,7 +677,8 @@ if procStarted: process.waitForFinished(30000) else: - E5MessageBox.information(None, + E5MessageBox.information( + None, self.trUtf8("Drop All Guards"), self.trUtf8("""No patches available to define guards for.""")) @@ -707,7 +714,8 @@ if res: dia.exec_() else: - E5MessageBox.information(None, + E5MessageBox.information( + None, self.trUtf8("Set Active Guards"), self.trUtf8("""No guards available to select from.""")) return @@ -813,7 +821,8 @@ else: errMsg = self.trUtf8( "Error while renaming the active queue.") - E5MessageBox.warning(None, + E5MessageBox.warning( + None, title, """<p>{0}</p><p>{1}</p>""".format(errMsg, error)) else: @@ -889,7 +898,8 @@ elif operation == Queues.QUEUE_ACTIVATE: errMsg = self.trUtf8( "Error while setting the active queue.") - E5MessageBox.warning(None, + E5MessageBox.warning( + None, title, """<p>{0}</p><p>{1}</p>""".format(errMsg, error)) else: