From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Bastien Nocera To: BlueZ development In-Reply-To: <8a8adccc0712161443w7ba67743jc06515240cfdf83d@mail.gmail.com> References: <8a8adccc0712161309m29c70a45x212bead7a823d808@mail.gmail.com> <1197841650.8050.39.camel@aeonflux> <8a8adccc0712161443w7ba67743jc06515240cfdf83d@mail.gmail.com> Date: Sun, 16 Dec 2007 23:24:07 +0000 Message-Id: <1197847447.26210.268.camel@cookie.hadess.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] [PATCH] Beautify about dialog Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hey Jaap, On Sun, 2007-12-16 at 23:43 +0100, Jaap A. Haitsma wrote: > Hi Marcel, > > > > > > Attached patch does the following > > > > > > * about dialog code is simpler > > > > you can't use gtk_dialog_run for the applet's about dialog. It will > > block and thus block all PIN requests. The current code is this way for > > a reason. > > Didn't know that. I now use g_object_set which also reduces the amount > of code considerably. You can still use gtk_show_about_dialog(). It removes the close callback, and makes sure that only one dialogue shows up, and removes a lot of boiler-plate code (it doesn't use a separate main loop like gtk_dialog_run does). The gtk_dialog_run avoidance in the callbacks is still needed. Cheers ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel