svgui/svgui.py
changeset 1745 f9d32913bad4
parent 1742 92932cd370a4
child 1773 38fde37c3766
equal deleted inserted replaced
1744:69dfdb26f600 1745:f9d32913bad4
   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