From 6257b095bcec9b0fd153f5d7d7e2e8f013e2e175 Mon Sep 17 00:00:00 2001 From: Jon Phillips Date: Sun, 11 Feb 2007 04:32:58 +0000 Subject: Added gnome-vfs patch by Ed Catmur so we can save/open/export to non-local GNOME-VFS URIs. We could do before on commandline, but this allows us to with the gui! Yeah! This is useful for the plans for webdav and Open Clip Art Library. (bzr r2357) --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index f7e9cdadc..877f4df9f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -135,6 +135,7 @@ enum { SP_ARG_EXPORT_FONT, SP_ARG_EXPORT_BBOX_PAGE, SP_ARG_EXTENSIONDIR, + SP_ARG_FIT_PAGE_TO_DRAWING, SP_ARG_SLIDESHOW, SP_ARG_QUERY_X, SP_ARG_QUERY_Y, @@ -320,6 +321,11 @@ struct poptOption options[] = { N_("Export files with the bounding box set to the page size (EPS)"), NULL}, + {"fit-page-to-drawing", 'S', + POPT_ARG_NONE, &sp_export_bbox_page, SP_ARG_FIT_PAGE_TO_DRAWING, + N_("Fits page to drawing and saves changes in place"), + NULL}, + {"query-x", 'X', POPT_ARG_NONE, &sp_query_x, SP_ARG_QUERY_X, // TRANSLATORS: "--query-id" is an Inkscape command line option; see "inkscape --help" -- cgit v1.2.3