equal
deleted
inserted
replaced
147 open_inkscape = True |
147 open_inkscape = True |
148 if not self.GetCTRoot().CheckProjectPathPerm(): |
148 if not self.GetCTRoot().CheckProjectPathPerm(): |
149 dialog = wx.MessageDialog(self.GetCTRoot().AppFrame, |
149 dialog = wx.MessageDialog(self.GetCTRoot().AppFrame, |
150 _("You don't have write permissions.\nOpen Inkscape anyway ?"), |
150 _("You don't have write permissions.\nOpen Inkscape anyway ?"), |
151 _("Open Inkscape"), |
151 _("Open Inkscape"), |
152 wx.YES_NO|wx.ICON_QUESTION) |
152 wx.YES_NO | wx.ICON_QUESTION) |
153 open_inkscape = dialog.ShowModal() == wx.ID_YES |
153 open_inkscape = dialog.ShowModal() == wx.ID_YES |
154 dialog.Destroy() |
154 dialog.Destroy() |
155 if open_inkscape: |
155 if open_inkscape: |
156 if not os.path.isfile(svgfile): |
156 if not os.path.isfile(svgfile): |
157 svgfile = None |
157 svgfile = None |