Re: Path URI not beginning with /
- From: Michael Terry <mike mterry name>
- To: Harlan Lieberman-Berg <hliebermanberg gmail com>
- Cc: deja-dup-list gnome org
- Subject: Re: Path URI not beginning with /
- Date: Sat, 3 Mar 2012 09:16:21 -0500
Hmm. So the issue is that you want to allow a relative path instead
of an absolute one?
The problem you likely ran into is the way we store the URI. We store
it all together as one string like "ssh://host/path". And GIO does
not allow us to specify a relative string like that.
So we'd need to add a separate gsettings field indicating whether the
bits following the host is actually relative or not. And when
connecting, break the URI apart.
Does that make sense?
-mt
On 2 March 2012 21:28, Harlan Lieberman-Berg <hliebermanberg gmail com> wrote:
> Hello everyone,
>
> I've been affected by bug 889895, and have been trying to look around
> for a solution. I can clearly find in the ConfigURIPart.vala where we
> check to make sure the string has a leading slash and add it if it is
> not present, but when I remove that section of the code, the box
> simply clears all input if the input does not have a slash in front.
> There is obviously a second check for the prepended slash, but for the
> life of me, I can't find it.
>
> If anyone can point me in the right direction, I'd be happy to look
> into what it would take to fix. Of course, doing so may simply be
> easier for someone better schooled in both vala and in deja-dup, but I
> am willing to do my best!
>
> Thanks, in advance.
>
> Sincerely,
>
> Harlan Lieberman-Berg
> _______________________________________________
> deja-dup-list mailing list
> deja-dup-list gnome org
> http://mail.gnome.org/mailman/listinfo/deja-dup-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]