summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBruno Dilly <bruno.dilly@gmail.com>2007-08-18 00:47:39 +0000
committerbdilly <bdilly@users.sourceforge.net>2007-08-18 00:47:39 +0000
commitc77aeeb30a875f717a57f89a3d14db993bef7781 (patch)
tree6aa4aac9b0e54e8060e11a0dc041e69b9df7d1d6 /src
parentFixed 2geom sbasis to path (also committed to 2geom svn) (diff)
downloadinkscape-c77aeeb30a875f717a57f89a3d14db993bef7781.tar.gz
inkscape-c77aeeb30a875f717a57f89a3d14db993bef7781.zip
few changes in import from ocal dialog
(bzr r3502)
Diffstat (limited to 'src')
-rw-r--r--src/file.cpp2
-rw-r--r--src/ui/dialog/filedialogimpl-gtkmm.cpp4
2 files changed, 4 insertions, 2 deletions
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 <libgnomevfs/gnome-vfs.h>
@@ -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;
}