[Dillo-dev]A problem about g_timeout_add function????
Hi,everyone: I meet a problem about g_timeout_add function in dns.c file.Because I can not use the original function gtk_timeout_add based on gtk,so I replace is whit g_timeout_add,just like: dns_server[channel].timeout_id = g_timeout_add(200,(GSourceFunc)Dns_timeout_client,GINT_TO_POINTER(dns_server[channel].channel)); the origianl code is: dns_server[channel].timeout_id = gtk_timeout_add(200, (GtkFunction)Dns_timeout_client, GINT_TO_POINTER(dns_server[channel].channel)); but after I do this, the function g_timeout_add looks like no useful,so I want to get the answer,is it why???? My target is to trige the function Dns_timeout_client every 200ms,please help me. thank you:)
Hi, As occasionly I come across websites (up to around 3 times a day) which because of one reason or another display white-on-white, or other things like that, and because most of the time I like seeing real colours of pages, I quickly added a "use colours" button to the toolbar of my local dillo, which (obviously) toggles the use of local colours or not. Anyway, my question is, as this kind of thing isn't really wanted for mainstream/normal dillo, is there any way of writing it as an extension, or a plugin, rather than as a patch? Or will there be such a way, ever? Cheers, Dan -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
As occasionly I come across websites (up to around 3 times a day) which because of one reason or another display white-on-white, or other things like that, and because most of the time I like seeing real colours of pages, I quickly added a "use colours" button to the toolbar of my local dillo, which (obviously) toggles the use of local colours or not. Anyway, my question is, as this kind of thing isn't really wanted for mainstream/normal dillo, is there any way of writing it as an extension, or a plugin, rather than as a patch? Or will there be such a way, ever?
Something I really miss from my browser from way back when, Mosaic, is the "Options" menu which had a bunch of checkboxes for options like that. I would love to see your function (and something related to image loading, while I'm making out my wish list) show up in a similar menu in dillo.
On Thu, Sep 16, 2004 at 03:33:53PM -0400, Brian Sammon wrote:
As occasionly I come across websites (up to around 3 times a day) which because of one reason or another display white-on-white, or other things like that, and because most of the time I like seeing real colours of pages, I quickly added a "use colours" button to the toolbar of my local dillo, which (obviously) toggles the use of local colours or not. Anyway, my question is, as this kind of thing isn't really wanted for mainstream/normal dillo, is there any way of writing it as an extension, or a plugin, rather than as a patch? Or will there be such a way, ever?
Something I really miss from my browser from way back when, Mosaic, is the "Options" menu which had a bunch of checkboxes for options like that. I would love to see your function (and something related to image loading, while I'm making out my wish list) show up in a similar menu in dillo.
Me too! Funny as it may seem, I've been thinking of the idea for a long time. A small button near the bug meter with a toolbox icon where a bunch of handy options can be set. For instance, the one Brian suggested (force_my_colors), Fit page to window (when tables are too wide), switch parsing method, load/don't_load images, etc. Of course some of them are workarounds and some not, anyway it would help to have some of them. Why isn't the magic button there then? Our main problem is lack of developers, Sebastian and I are covered with other works we regard as higher priority, so handy task as this (and several others) keep on waiting... If somebody here wants to implement this menu button in a clean way (not as an ad-hoc hack), it'd be very welcomed. In the same spirit, if someone here has development skills and wants to contribute, please let us know. We have plenty of small to big size tasks waiting for a developer to work them out.
[...] or a plugin, rather than as a patch? Or will there be such a way, ever?
This feature can't be a plugin now. The good news is that there's room for it near the bug meter. ;) -- Cheers Jorge.-
Why isn't the magic button there then?
Our main problem is lack of developers, Sebastian and I are covered with other works we regard as higher priority, so handy task as this (and several others) keep on waiting...
If somebody here wants to implement this menu button in a clean way (not as an ad-hoc hack), it'd be very welcomed.
In the same spirit, if someone here has development skills and wants to contribute, please let us know. We have plenty of small to big size tasks waiting for a developer to work them out.
I'd be willing to have a try at it. I'm particually good at it, but I'll try. Any hints or anything would be cool :-) Dan -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
On Fri, Sep 17, 2004 at 05:23:35PM +0300, Daniel Fairhead wrote:
Why isn't the magic button there then?
Our main problem is lack of developers, Sebastian and I are covered with other works we regard as higher priority, so handy task as this (and several others) keep on waiting...
If somebody here wants to implement this menu button in a clean way (not as an ad-hoc hack), it'd be very welcomed.
In the same spirit, if someone here has development skills and wants to contribute, please let us know. We have plenty of small to big size tasks waiting for a developer to work them out.
I'd be willing to have a try at it. I'm particually good at it, but I'll try. Any hints or anything would be cool :-)
Good! You can start by looking at the patch by Brian. Then look at the force_my_colors dillorc option and hook it to the menu that will pop-up from the new toolbox icon placed to the left of the bug-meter (fvwm comes with nice tiny icons to choose from). Look at the bug meter's menu for an idea of how to implement the menu. Note that the bug-meter menu also appears in the right-click over page one, so you can look at the code for the BACK button right click menu for a simpler example. Hook the menu to the left click. Start with a single menu entry. "Force my colors" in this case. A check box in the menu entry would be nice to hint the user about the current selected state. Shold you get stuck, just ask. -- Cheers Jorge.-
You can start by looking at the patch by Brian. Then look at the force_my_colors dillorc option and hook it to the menu that will pop-up from the new toolbox icon placed to the left of the
Um... 'scuse my ignorance, but what patch by Brian? Cheers, Dan -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
You can start by looking at the patch by Brian. Then look at the force_my_colors dillorc option and hook it to the menu that will pop-up from the new toolbox icon placed to the left of the
Um... 'scuse my ignorance, but what patch by Brian?
I think he's referring to your patch. Apparently due to the poor quoting style of my mail client, I've been getting credit for the patch you submitted to the list. As much as I like taking credit for other people's work, I feel I must correct this misunderstanding.
I think he's referring to your patch. Apparently due to the poor quoting style of my mail client, I've been getting credit for the patch you submitted to the list.
As much as I like taking credit for other people's work, I feel I must correct this misunderstanding.
lol, brian :-) Ok, cheers mate! Dan -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
participants (4)
-
Brian Sammon
-
Daniel Fairhead
-
Jorge Arellano Cid
-
suowei