From c77aeeb30a875f717a57f89a3d14db993bef7781 Mon Sep 17 00:00:00 2001 From: Bruno Dilly Date: Sat, 18 Aug 2007 00:47:39 +0000 Subject: few changes in import from ocal dialog (bzr r3502) --- src/file.cpp | 2 +- src/ui/dialog/filedialogimpl-gtkmm.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/file.cpp b/src/file.cpp index 2b006c3b3..e1181b977 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -1319,7 +1319,7 @@ sp_file_import_from_ocal(Gtk::Window &parentWindow) parentWindow, import_path, Inkscape::UI::Dialog::IMPORT_TYPES, - (char const *)_("Import From OCAL")); + (char const *)_("Import From Open Clip Art Library")); } bool success = importDialogInstance->show(); diff --git a/src/ui/dialog/filedialogimpl-gtkmm.cpp b/src/ui/dialog/filedialogimpl-gtkmm.cpp index 3357561b5..db6914354 100644 --- a/src/ui/dialog/filedialogimpl-gtkmm.cpp +++ b/src/ui/dialog/filedialogimpl-gtkmm.cpp @@ -21,6 +21,7 @@ #include "filedialogimpl-gtkmm.h" #include "dialogs/dialog-events.h" +#include "interface.h" #ifdef WITH_GNOME_VFS # include @@ -2062,7 +2063,8 @@ void FileImportFromOCALDialogImplGtk::searchTagEntryChangedCallback() // open the rss feed result = gnome_vfs_open (&from_handle, uri.c_str(), GNOME_VFS_OPEN_READ); if (result != GNOME_VFS_OK) { - g_warning("Could not find the Open Clip Art Library rss feed. Verify if the OCAL url is correct in Configuration"); + sp_ui_error_dialog(_("Failed to receive the Open Clip Art Library RSS feed. Verify if the URL is correct in Configuration->Misc (e.g.: openclipart.org)")); + //g_warning("Could not find the Open Clip Art Library rss feed. Verify if the OCAL url is correct in Configuration"); return; } -- cgit v1.2.3