From 226d2b2ba6062227afd9204f00088a7c42dbf50f Mon Sep 17 00:00:00 2001 From: bulia byak Date: Fri, 30 Mar 2007 07:08:29 +0000 Subject: allow easy access to our examples folder from Open dialog (bzr r2786) --- src/file.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/file.cpp') diff --git a/src/file.cpp b/src/file.cpp index 639ba3913..efbada332 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -388,8 +388,11 @@ sp_file_open_dialog(gpointer object, gpointer data) open_path, Inkscape::UI::Dialog::SVG_TYPES, (char const *)_("Select file to open")); + // allow easy access to our examples folder + dynamic_cast(openDialogInstance)->add_shortcut_folder(INKSCAPE_EXAMPLESDIR); } + //# Show the dialog bool const success = openDialogInstance->show(); if (!success) -- cgit v1.2.3