use PF_DIRNAME for save_path. Fixes bug #138714.

2006-07-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/py-slice.py: use PF_DIRNAME for save_path.
        Fixes bug #138714.
This commit is contained in:
Manish Singh 2006-07-20 07:55:58 +00:00 committed by Manish Singh
parent 747a8dc1d3
commit 3f1dd8ace4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-07-20 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/plug-ins/py-slice.py: use PF_DIRNAME for save_path.
Fixes bug #138714.
2006-07-20 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpui.py: make DrawableSelector work again.

View File

@ -427,7 +427,7 @@ layers are used as clicked, mouse over and normal views.""",
"<Image>/Filters/Web/_Py-Slice...",
"*",
[
(PF_STRING, "save_path", "The path to export the HTML to", os.getcwd()),
(PF_DIRNAME, "save_path", "The path to export the HTML to", os.getcwd()),
(PF_STRING, "html_filename", "Filename to export", "py-slice.html"),
(PF_STRING, "image_basename", "What to call the images", "pyslice"),
(PF_RADIO, "image_extension", "The format of the images: {gif, jpg, png}",