886 """ |
886 """ |
887 Private slot to handle the Break Lock context menu entry. |
887 Private slot to handle the Break Lock context menu entry. |
888 """ |
888 """ |
889 names = [os.path.join(self.dname, itm.text(self.__pathColumn)) |
889 names = [os.path.join(self.dname, itm.text(self.__pathColumn)) |
890 for itm in self.__getLockActionItems( |
890 for itm in self.__getLockActionItems( |
891 self.stealBreakLockIndicators)] |
891 self.stealBreakLockIndicators)] |
892 if not names: |
892 if not names: |
893 E5MessageBox.information( |
893 E5MessageBox.information( |
894 self, |
894 self, |
895 self.trUtf8("Break Lock"), |
895 self.trUtf8("Break Lock"), |
896 self.trUtf8("""There are no locked files""" |
896 self.trUtf8("""There are no locked files""" |
904 """ |
904 """ |
905 Private slot to handle the Break Lock context menu entry. |
905 Private slot to handle the Break Lock context menu entry. |
906 """ |
906 """ |
907 names = [os.path.join(self.dname, itm.text(self.__pathColumn)) |
907 names = [os.path.join(self.dname, itm.text(self.__pathColumn)) |
908 for itm in self.__getLockActionItems( |
908 for itm in self.__getLockActionItems( |
909 self.stealBreakLockIndicators)] |
909 self.stealBreakLockIndicators)] |
910 if not names: |
910 if not names: |
911 E5MessageBox.information( |
911 E5MessageBox.information( |
912 self, |
912 self, |
913 self.trUtf8("Steal Lock"), |
913 self.trUtf8("Steal Lock"), |
914 self.trUtf8("""There are no locked files""" |
914 self.trUtf8("""There are no locked files""" |