Re: [Deskbar] Att. async module loaders: Handy test module
- From: Mikkel Kamstrup Erlandsen <kamstrup daimi au dk>
- To: deskbar-applet-list gnome org
- Subject: Re: [Deskbar] Att. async module loaders: Handy test module
- Date: Tue, 11 Oct 2005 10:04:13 +0200
To make thing sabsolutely clear...
The file 2005-10-10-module_list-async_loading-kikidonk_mod.patch
attached to my last mail was just a copy of Raphaels modified version
of my initial patch.
Cheers
Mikkel
PS: Damn, I'm spamming this list already :)
On Tue, 2005-10-11 at 09:39 +0200, Mikkel Kamstrup Erlandsen wrote:
> I was discussing with Raphael on IRC last night whether the async
> loading/initializing was working. I wrote the attached test handler to
> verify this. Async loading does indeed work, as you'll se if you stick
> it in deskbar/handlers/.
>
> Not that I don't expect you to have your own test handlers; this one was
> just handy in putting Raphaels concerns to rest ;-P
>
> The concerning fact was that the window was slow to come up. Digging
> through the code I tracked this down to the signals emitted from the
> ModuleLoader. I gave them the same priority as default GTK events.
> Seemingly this was way to aggressive. Changing this to
> gobject.PRIORITY_DEFAULT_IDLE did the trick.
>
> The attached patch is a modified version of Raphaels modification of my
> initial patch. Ie. apply the *-fix_priority.patch after applying
> *.patch.
>
> Raphael:
> You modifications to my initial patch are most welcome. They work out
> fine for me... I didn't know that python had a thread safe Queue ready
> to plug in. That is a valuable trick!
>
>
> Cheers
> Mikkel
> _______________________________________________
> deskbar-applet-list mailing list
> deskbar-applet-list gnome org
> http://mail.gnome.org/mailman/listinfo/deskbar-applet-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]