summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJon Phillips <jon@fabricatorz.com>2007-02-11 04:32:58 +0000
committerkidproto <kidproto@users.sourceforge.net>2007-02-11 04:32:58 +0000
commit6257b095bcec9b0fd153f5d7d7e2e8f013e2e175 (patch)
tree54ad50ee4f9e53ae9458d39e6a20bfa49ff18efe /src/main.cpp
parentjasper's patch for fast iir blur (diff)
downloadinkscape-6257b095bcec9b0fd153f5d7d7e2e8f013e2e175.tar.gz
inkscape-6257b095bcec9b0fd153f5d7d7e2e8f013e2e175.zip
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)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 6 insertions, 0 deletions
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"