Re: [evolution-patches] Patch for Bug 73341



On Thu, 2005-03-17 at 19:15 -0800, Madan wrote:
Hi Not Zed,
        This was my first evolution hack. Thanks for the idea. I
wanted to know if creating new signal would be good or to use an
existing signal. There are two signals, "folder-activated",
"folder-selected". So I thought of creating a new signal
"folder-modified" or something like that.

Need your suggestion.

You don't need to do anything at all with the tree widget.  That is not the right place, as explained below.

You just need to emit a 'changed' event from the EMFolderView object, that will already cause the string to be fixed up.

To do this, you just need to listen to he 'renamed' event on the folder set in the EMFolderView and propagate a change event out, to the right thread (the camel event could come in any thread).


Madhan Raj


On Thu, 17 Mar 2005 17:53:41 +0800, Not Zed <notzed ximian com> wrote:
>  
>  Although it may appear to work, this patch is quite wrong.
>  
>  - the mail component is global, but there may be multiple views, i.e.
> file->new window
>  - for each view, there may be additional folder-tree's present which do not
> belong to the view.
>  
>  Therefore you cannot have a view-specific data, the info-label, accessed
> globally.
>  
>  So, this must therefore be triggered some other view-specific way e.g. by a
> signal emission from the emfolderview of the current view.
> 
>  
>  
>  On Wed, 2005-03-16 at 20:54 -0800, Madan wrote: 
>  Patch for the bug 73341 has been attatched. Whenever, a mail fodlder is
> deleted or remaned,, the old name is not removed from the pane above the
> folder list. After Deleting or renaming the folder, display the default
> label on the pane. Happy Hacking Madhan Raj


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]