Fwd: Firefox-3.5 drag to ROX
Thomas Leonard <[email protected]> Wed, 1 Jul 2009 18:54:51 +0100
| Newsgroups | gmane.comp.desktop.rox.devel |
|---|---|
| Message-ID | <[email protected]> |
---------- Forwarded message ----------
From: Paul Sherman
Date: 2009/7/1
Subject: Firefox-3.5 drag to ROX
Leonard Thomas,
I seemed to have hacked out a temporary solution.
By recompiling and throwing in an alert with uri_list
it seems that Firefox is not sending and end-of-line?
I tried a quick hack and seem to have things working.
I am a bit nervous about what side effects I might be letting
myself in for with my code. I attached a diff.
Here is the relevant section:
if (!linebreak || linebreak[1] != 10)
{
//delayed_error("uri_list_to_glist: %s",
// _("Incorrect or missing line "
// "break in text/uri-list data"));
list = g_list_append(list, g_strndup(uri_list, strlen(uri_list)));
return list;
}
--Paul
997c997
<
---
>
1007,1009c1007,1010
< delayed_error("uri_list_to_glist: %s",
< _("Incorrect or missing line "
< "break in text/uri-list data"));
---
> //delayed_error("uri_list_to_glist: %s",
> // _("Incorrect or missing line "
> // "break in text/uri-list data"));
> list = g_list_append(list, g_strndup(uri_list, strlen(uri_list)));
1014c1015
<
---
>
------------------------------------------------------------------------------
_______________________________________________
rox-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rox-devel
gui_support.c.diff
(text/plain, 396 B)
997c997
<
---
>
1007,1009c1007,1010
< delayed_error("uri_list_to_glist: %s",
< _("Incorrect or missing line "
< "break in text/uri-list data"));
---
> //delayed_error("uri_list_to_glist: %s",
> // _("Incorrect or missing line "
> // "break in text/uri-list data"));
> list = g_list_append(list, g_strndup(uri_list, strlen(uri_list)));
1014c1015
<
---
>