On Tuesday 29 June 2004 07:09, Ian Monroe wrote:

> And for the SettingsDialog call:
> class SettingsDialog(KConfigDialog):
>       def __init__ (self, parent, name, config, *args):
>               apply (KConfigDialog.__init__, (self,parent,name,config) + args)
>
>               print isinstance(config,KConfigSkeleton)
>               self.addPage(ConfigForm(config), "GMail", "gmail", "KNewGmail
> Settings")
Change the last line to:

    self.addPage(ConfigForm(config, self), "GMail", "gmail", 
                       "KNewGmail Settings")

and it should work (works here).

The failure to display the widgets when I could get the dialog to display 
should have been the tipoff. The page widget needs a parent.

Jim

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to