diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-03-30 07:08:29 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-03-30 07:08:29 +0000 |
| commit | 226d2b2ba6062227afd9204f00088a7c42dbf50f (patch) | |
| tree | 4ed5f3b6f60f2707a025875355be6da41495af7c /src/file.cpp | |
| parent | a better and more complete fix for 1690914 (diff) | |
| download | inkscape-226d2b2ba6062227afd9204f00088a7c42dbf50f.tar.gz inkscape-226d2b2ba6062227afd9204f00088a7c42dbf50f.zip | |
allow easy access to our examples folder from Open dialog
(bzr r2786)
Diffstat (limited to 'src/file.cpp')
| -rw-r--r-- | src/file.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<Gtk::FileChooser *>(openDialogInstance)->add_shortcut_folder(INKSCAPE_EXAMPLESDIR); } + //# Show the dialog bool const success = openDialogInstance->show(); if (!success) |
