Xfce 4.8 entering string freeze / schedule information
Yuriy Tertichnyy
yuterbox at gmail.com
Mon Dec 6 11:20:45 CET 2010
I can not ask the developers of my distribution. I am using LFS. I have
installed the gvfs-1.6.6 and can browse the network in the Thunar.
> Those two functions you mentioned are not empty.
For example, consider the function g_volume_mount_finish:
http://git.gnome.org/browse/glib/tree/gio/gvolume.c#n340
Here http://git.gnome.org/browse/glib/tree/gio/gvolume.c#n373 :
iface = G_VOLUME_GET_IFACE (volume);
return (* iface->mount_finish) (volume, result, error);
When working on Linux iface->mount_finish calls g_unix_volume_mount_finish.
Defined here:
http://git.gnome.org/browse/glib/tree/gio/gunixvolume.c#n515
Consider the function g_unix_volume_mount_finish:
http://git.gnome.org/browse/glib/tree/gio/gunixvolume.c#n450
static gboolean
g_unix_volume_mount_finish (GVolume *volume,
GAsyncResult *result,
GError **error)
{
return TRUE;
}
Always return TRUE.
I tried a small patch (attached) for the glib. With this patch automounting
in thunar-volman works.
Hmm... I see my removable devices in the file selection dialog in Midori.
2010/12/6 Jannis Pohlmann <jannis at xfce.org>
> Hey,
>
> On Mon, 6 Dec 2010 01:33:41 +0300
> Yuriy Tertichnyy <yuterbox at gmail.com> wrote:
>
> > Sorry for the stupid unix-related question. Chukchi is not a reader,
> > Chukchi
> > - a writer. I installed XFCE4.8pre[1,2] and scanned the source code.
> >
> > Thunar and thunat-volman uses the empty functions from glib-2, such as
> > g_volume_mount_finish, g_volume_get_drive etc. As a consequence
> > automounting and shortcuts for removable devices not working.
> >
> > I understand that this applies to GIO, but what do you think of this?
>
> Those two functions you mentioned are not empty. See for yourself:
>
> http://git.gnome.org/browse/glib/tree/gio/gvolume.c#n184
> http://git.gnome.org/browse/glib/tree/gio/gvolume.c#n340
>
> If volume management doesn't work for you then your system might be
> lacking gvfs packages. Please ask the developers of your distribution
> about this if you're not sure.
>
> - Jannis
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20101206/ff40142f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glib2-g_unix_volume_mount_finish.patch
Type: application/octet-stream
Size: 2930 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20101206/ff40142f/attachment.obj>
More information about the Xfce4-dev
mailing list