Code

few changes in import from ocal dialog
authorbdilly <bdilly@users.sourceforge.net>
Sat, 18 Aug 2007 00:47:39 +0000 (00:47 +0000)
committerbdilly <bdilly@users.sourceforge.net>
Sat, 18 Aug 2007 00:47:39 +0000 (00:47 +0000)
src/file.cpp
src/ui/dialog/filedialogimpl-gtkmm.cpp

index 2b006c3b325b12b5d9a89e78828b4fb598ca30bb..e1181b977bbdc99145b451ba83f4715b760bdc64 100644 (file)
@@ -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();
index 3357561b5b8c43ca7c0ef7b486e3c693de465da7..db6914354e85782505b7170d90e3695d02f57736 100644 (file)
@@ -21,6 +21,7 @@
 \r
 #include "filedialogimpl-gtkmm.h"\r
 #include "dialogs/dialog-events.h"\r
+#include "interface.h"\r
 \r
 #ifdef WITH_GNOME_VFS\r
 # include <libgnomevfs/gnome-vfs.h>\r
@@ -2062,7 +2063,8 @@ void FileImportFromOCALDialogImplGtk::searchTagEntryChangedCallback()
     // open the rss feed\r
     result = gnome_vfs_open (&from_handle, uri.c_str(), GNOME_VFS_OPEN_READ);\r
     if (result != GNOME_VFS_OK) {\r
-        g_warning("Could not find the Open Clip Art Library rss feed. Verify if the OCAL url is correct in Configuration");\r
+        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)"));\r
+        //g_warning("Could not find the Open Clip Art Library rss feed. Verify if the OCAL url is correct in Configuration");\r
         return;\r
     }\r
 \r