[MonoDevelop] MD patch, 1. Double-click on New-File dialog's treeview, 2. FileBrowser TreeviewColumn title

Lluis Sanchez lluis at ximian.com
Thu Jan 19 14:43:23 EST 2006


Muthu,

I don't think that changing the column caption is needed since the path
is already shown in the edit box at the top of the pad.

About the patch for the New File dialog, it is ok to me, although I
can't apply it cleanly in the MD code (I get a malformed-something
error). On the other hand, notice that there is a ChangeLog file per
assembly, and you need add entries to the correct one.

Thanks!
Lluis.

El mar, 17-01-2006 a las 10:44 -0800, Muthiah Annamalai escribió:
>  LLuis,
> 
> I have two MD patches against SVN, taken as of 11:49, Jan 16 2006.
> Attached to email. Brief description follows.
> Thanks
> Muthu
> 
> 
> Patch1.
> -----------
> FIX the file browser columnview to hold the directory path.
> PATH:~/work/Mono/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Components/
> >In function:     private void OnRowActivated (object o,
> RowActivatedArgs args)
>             //Sets the current PATH to the Title of the
> TreeViewColumn.
>             TreeViewColumn directorycolumn = tv.Columns[0];
>             directorycolumn.Title=currentDir;
> 
> Patch2.
> ***********************************************************************************************************
> FIX the dialog box of New-File, for a double click event. 
> Solution: done! expand the view
> 
> PATH:
> ~/work/Mono/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/
> >In function:<    void InitializeComponents()
>         catView.RowActivated += new RowActivatedHandler
> (CategoryActivated);
> 
> 
> >New function:<        
>         //tree view event handler for double-click
>         //02:29 Monday, January 16 2006
>         //Muthiah Annamalai
>         void CategoryActivated(object sender,RowActivatedArgs args)
>         {
>                     
>             //Expand that column, if possible,
>             //so that user doesnt need to click on the [> triangle
>             //sign to open the level's, which can be frustrating.
>             
>             //Console.WriteLine("Double Click Event Handler, expand
> row.");
>             catView.ExpandRow(args.Path,false);                       
>         }
> 
> ______________________________________________________________________
> Yahoo! Photos – Showcase holiday pictures in hardcover
> Photo Books. You design it and we’ll bind it!
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list