Re: gnome bug 135093 and backend

David Malcolm <[email protected]> Fri, 22 Apr 2005 16:53:34 -0400
Newsgroups gmane.editors.conglomerate.devel
Message-ID <[email protected]>
On Fri, 2005-04-22 at 16:32 -0400, Thierry Moisan wrote:
> Since you respond very quickly I have some other question. You said :

Adding the mailing list to the CC; please keep this on the mailing list!

> 
> For the backend, I'd suggest simply calculating the wordcount when the
> property dialog is first created.
> 
> 
> What is the name of the function that first create the property dialog 
> in cong-file-properties.c?
cong_file_properties_dialog_new

> 
> And could you point me an URL where there's an explanation about the 
> function with refresh_[something] like
>  the "refresh_filename_and_location" function in cong-file-properties.c ?

These functions refresh the widgets in the dialog with fresh data from
the CongDocument, so that they display the correct information.  They
get called when the dialog is first created, and whenever something
changes in the CongDocument (so that the GUI updates to match the
change).