After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 527527 - port to GIO
port to GIO
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: 2.22.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2008-04-11 12:18 UTC by André Klapper
Modified: 2008-05-05 01:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2008-04-11 12:18:13 UTC
$:andre\> grep -R gnome_vfs .
./libseahorse/seahorse-vfs-data.c:        gnome_vfs_async_create (&(ah->handle), ah->uri, GNOME_VFS_OPEN_WRITE | GNOME_VFS_OPEN_RANDOM,
./libseahorse/seahorse-vfs-data.c:        gnome_vfs_async_open (&(ah->handle), ah->uri, GNOME_VFS_OPEN_READ | GNOME_VFS_OPEN_RANDOM,
./libseahorse/seahorse-vfs-data.c:    gnome_vfs_async_read(ah->handle, buffer, size, vfs_data_read_done, ah);
./libseahorse/seahorse-vfs-data.c:    gnome_vfs_async_write(ah->handle, buffer, size, vfs_data_write_done, ah);
./libseahorse/seahorse-vfs-data.c:    gnome_vfs_async_seek(ah->handle, wh, (GnomeVFSFileOffset)offset, 
./libseahorse/seahorse-vfs-data.c:            gnome_vfs_async_cancel (ah->handle);
./libseahorse/seahorse-vfs-data.c:        gnome_vfs_async_close (ah->handle, vfs_data_close_done, NULL);
./libseahorse/seahorse-vfs-data.c:    ruri = gnome_vfs_make_uri_canonical (uri);
./libseahorse/seahorse-pgp-source.c:    uri = gnome_vfs_make_uri_canonical (gpg_homedir);
./libseahorse/seahorse-pgp-source.c:    res = gnome_vfs_monitor_add (&(psrc->pv->monitor_handle), uri, 
./libseahorse/seahorse-pgp-source.c:        gnome_vfs_monitor_cancel (psrc->pv->monitor_handle);
./libseahorse/seahorse-util.c:    vuri = gnome_vfs_uri_new (uri);
./libseahorse/seahorse-util.c:    exists = gnome_vfs_uri_exists (vuri);
./libseahorse/seahorse-util.c:    gnome_vfs_uri_unref (vuri);
./libseahorse/seahorse-util.c:    gchar* uri = gnome_vfs_make_uri_canonical (t);
./libseahorse/seahorse-util.c:    info = gnome_vfs_file_info_new ();
./libseahorse/seahorse-util.c:        uri = gnome_vfs_make_uri_canonical (*u);
./libseahorse/seahorse-util.c:        if (gnome_vfs_get_file_info (uri, info, GNOME_VFS_FILE_INFO_DEFAULT) == GNOME_VFS_OK &&
./libseahorse/seahorse-util.c:                gnome_vfs_directory_visit (uri, GNOME_VFS_FILE_INFO_DEFAULT, 
./libseahorse/seahorse-util.c:    t = gnome_vfs_get_local_path_from_uri (package);
./libseahorse/seahorse-util.c:        x = gnome_vfs_make_uri_canonical (*uris);
./libseahorse/seahorse-util.c:        t = gnome_vfs_get_local_path_from_uri (x);
./libseahorse/seahorse-util.c:    info = gnome_vfs_file_info_new ();
./libseahorse/seahorse-util.c:  result = gnome_vfs_set_file_info (package, info, GNOME_VFS_SET_FILE_INFO_PERMISSIONS);
./libseahorse/seahorse-util.c:    gnome_vfs_file_info_unref (info);
./libseahorse/seahorse-util.c:    const gchar* mime = gnome_vfs_get_mime_type_for_data (data, length);
./libseahorse/seahorse-util.c:    info = gnome_vfs_file_info_new ();
./libseahorse/seahorse-util.c:    res = gnome_vfs_get_file_info (uri, info, 
./libseahorse/seahorse-util.c:                   gnome_vfs_result_to_string (res));
./libseahorse/seahorse-util.c:    gnome_vfs_file_info_unref (info);
./libseahorse/seahorse-ssh-source.c:    path = gnome_vfs_get_local_path_from_uri (info_uri);
./libseahorse/seahorse-ssh-source.c:        gnome_vfs_monitor_cancel (ssrc->priv->monitor_handle);
./libseahorse/seahorse-ssh-source.c:    uri = gnome_vfs_make_uri_canonical (ssrc->priv->ssh_homedir);
./libseahorse/seahorse-ssh-source.c:    res = gnome_vfs_monitor_add (&(ssrc->priv->monitor_handle), uri, 
./src/main.c:    if (gnome_vfs_initialized ())
./src/main.c:        gnome_vfs_shutdown ();
./plugins/nautilus/seahorse-tool-progress.c:        msg = gnome_vfs_unescape_string (message, NULL);
./plugins/nautilus/seahorse-tool-files.c:    base = gnome_vfs_uri_new (uri);
./plugins/nautilus/seahorse-tool-files.c:    info = gnome_vfs_file_info_new ();
./plugins/nautilus/seahorse-tool-files.c:        guri = gnome_vfs_uri_resolve_relative (base, *k);
./plugins/nautilus/seahorse-tool-files.c:        uri = gnome_vfs_uri_to_string (guri, GNOME_VFS_URI_HIDE_NONE);
./plugins/nautilus/seahorse-tool-files.c:        gnome_vfs_uri_unref (guri);
./plugins/nautilus/seahorse-tool-files.c:        gnome_vfs_file_info_clear (info);
./plugins/nautilus/seahorse-tool-files.c:        res = gnome_vfs_get_file_info (uri, info, GNOME_VFS_FILE_INFO_DEFAULT);
./plugins/nautilus/seahorse-tool-files.c:            g_set_error (err, G_FILE_ERROR, -1, gnome_vfs_result_to_string (res));
./plugins/nautilus/seahorse-tool-files.c:    gnome_vfs_uri_unref (base);
./plugins/nautilus/seahorse-tool-files.c:    gnome_vfs_file_info_unref (info);
./plugins/nautilus/seahorse-tool-files.c:            pkg_uri = gnome_vfs_make_uri_canonical (((FileInfo*)(l->data))->uri);
./plugins/nautilus/seahorse-tool-files.c:        uri = gnome_vfs_make_uri_canonical (t);
./plugins/nautilus/seahorse-tool-files.c:            res = gnome_vfs_directory_visit (file->uri, GNOME_VFS_FILE_INFO_DEFAULT, 
./plugins/nautilus/seahorse-tool-files.c:                g_set_error (err, G_FILE_ERROR, -1, gnome_vfs_result_to_string (res));
./plugins/nautilus/seahorse-tool.c:    if (gnome_vfs_initialized ())
./plugins/nautilus/seahorse-tool.c:        gnome_vfs_shutdown ();
Comment 1 Stef Walter 2008-04-20 22:04:53 UTC
I'll be working on this for seahorse the key-manager. There's a major refactoring underway, and this is a key part of it to get rid of the hard dependency on gpgme. 

I'm not tackling seahorse-plugins just yet though. 
Comment 2 Adam Schreiber 2008-05-05 01:30:52 UTC
seahorse/trunk has been ported to gio.

2008-04-28  Stef Walter  <stef@memberwebs.com>

	* Refactoring: Remove gnome-vfs dependency. Use gio instead. 
	Remove most of the hard dependency on gpgme.

The port of seahorse-plugins/trunk is tracked by bug #509940