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/ui/dialog/filedialogimpl-gtkmm.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ui') 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