298 self.trUtf8(\ |
298 self.trUtf8(\ |
299 """<p><b>{0}</b> has already been allocated""" |
299 """<p><b>{0}</b> has already been allocated""" |
300 """ to the <b>{1}</b> action. """ |
300 """ to the <b>{1}</b> action. """ |
301 """Remove this binding?</p>""") |
301 """Remove this binding?</p>""") |
302 .format(keystr, itm.text(0)), |
302 .format(keystr, itm.text(0)), |
303 type_ = E5MessageBox.Warning) |
303 icon = E5MessageBox.Warning) |
304 if res: |
304 if res: |
305 itm.setText(col, "") |
305 itm.setText(col, "") |
306 return True |
306 return True |
307 else: |
307 else: |
308 return False |
308 return False |
316 self.trUtf8("Edit shortcuts"), |
316 self.trUtf8("Edit shortcuts"), |
317 self.trUtf8(\ |
317 self.trUtf8(\ |
318 """<p><b>{0}</b> hides the <b>{1}</b> action. """ |
318 """<p><b>{0}</b> hides the <b>{1}</b> action. """ |
319 """Remove this binding?</p>""") |
319 """Remove this binding?</p>""") |
320 .format(keystr, itm.text(0)), |
320 .format(keystr, itm.text(0)), |
321 type_ = E5MessageBox.Warning) |
321 icon = E5MessageBox.Warning) |
322 if res: |
322 if res: |
323 itm.setText(col, "") |
323 itm.setText(col, "") |
324 return True |
324 return True |
325 else: |
325 else: |
326 return False |
326 return False |
332 self.trUtf8(\ |
332 self.trUtf8(\ |
333 """<p><b>{0}</b> is hidden by the """ |
333 """<p><b>{0}</b> is hidden by the """ |
334 """<b>{1}</b> action. """ |
334 """<b>{1}</b> action. """ |
335 """Remove this binding?</p>""") |
335 """Remove this binding?</p>""") |
336 .format(keystr, itm.text(0)), |
336 .format(keystr, itm.text(0)), |
337 type_ = E5MessageBox.Warning) |
337 icon = E5MessageBox.Warning) |
338 if res: |
338 if res: |
339 itm.setText(col, "") |
339 itm.setText(col, "") |
340 return True |
340 return True |
341 else: |
341 else: |
342 return False |
342 return False |