Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to disable the DND function of GtkMozEmbed

2 views
Skip to first unread message

LI Daobing

unread,
Jan 13, 2009, 9:34:02 AM1/13/09
to
Hello,

how to disable the DND function of GtkMozEmbed?

I use following code, but it sounds does not work:

GtkWidget* widget = gtk_moz_embed_new();
gtk_drag_dest_unset(widget);


Thanks.
LI Daobing

tonikitoo (Antonio Gomes)

unread,
Jan 13, 2009, 9:59:55 AM1/13/09
to LI Daobing, dev-em...@lists.mozilla.org
Hi Li,

that wont work. You will have to disable the service in engine side,
more specifically in gtk widget code.

take a look at MOZ_NO_DRAGSERVICE bits in

https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine/debian/patches/microbfootprint/020_MICROB_non_conf_components_disable.diff

Br

> _______________________________________________
> dev-embedding mailing list
> dev-em...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-embedding
>

--
--Antonio Gomes

Glen Gray

unread,
Jan 13, 2009, 11:16:07 AM1/13/09
to tonikitoo, LI Daobing, dev-em...@lists.mozilla.org
That's a very interesting patch and might be useful to us here in
Lincor.

reading over this briefly everything seems to make sense, though, I
wasn't clear on what lcms is, any one care to enlighten me ?


On 13 Jan 2009, at 14:59, tonikitoo (Antonio Gomes) wrote:

> Hi Li,
>
> that wont work. You will have to disable the service in engine side,
> more specifically in gtk widget code.
>
> take a look at MOZ_NO_DRAGSERVICE bits in
>
> https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine/debian/patches/microbfootprint/020_MICROB_non_conf_components_disable.diff
>
> Br
>
> On Tue, Jan 13, 2009 at 10:34 AM, LI Daobing <lida...@gmail.com>
> wrote:

>> _______________________________________________
>> dev-embedding mailing list
>> dev-em...@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-embedding
>>
>
>
>
> --
> --Antonio Gomes
> _______________________________________________
> dev-embedding mailing list
> dev-em...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-embedding

--
Glen Gray
sla...@slaine.org


LI Daobing (李道兵)

unread,
Jan 13, 2009, 10:17:55 AM1/13/09
to tonikitoo (Antonio Gomes), dev-em...@lists.mozilla.org
On Tue, Jan 13, 2009 at 10:59 PM, tonikitoo (Antonio Gomes)
<toni...@gmail.com> wrote:
> Hi Li,
>
> that wont work. You will have to disable the service in engine side,
> more specifically in gtk widget code.
>
> take a look at MOZ_NO_DRAGSERVICE bits in
>
> https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine/debian/patches/microbfootprint/020_MICROB_non_conf_components_disable.diff
>

any example code?

thanks in advance.

--
Best Regards,
LI Daobing

tonikitoo (Antonio Gomes)

unread,
Jan 13, 2009, 11:25:58 AM1/13/09
to Glen Gray, LI Daobing, dev-em...@lists.mozilla.org
> reading over this briefly everything seems to make sense, though, I wasn't
> clear on what lcms is, any one care to enlighten me ?

Glen, have a look at
http://mxr.mozilla.org/mozilla/source/modules/lcms/README.1ST

and http://www.littlecms.com/


--
--Antonio Gomes

0 new messages