[MonoDevelop] [patch]Error when open file on Ubuntu Edgy

Fredrik Nilsson jymdman at gmail.com
Mon Aug 21 14:07:19 EDT 2006


No, it's the same. If I add the following code just before your fix:

foreach (string folder in this.ShortcutFolders)
    Console.WriteLine ("Folder: " + folder);

Nothing is printed, so ShortcutFolders doesn't return whats in there 
Just a note to make myself clear, this only occurs if I set the default 
source location to a dir already in the shortcutfolders, like my home 
dir and desktop for example.
This used to worked with my home dir as default location while I was 
using dapper, problem came after upgrading to edgy.
So maybe this is not a problem in MD but in gtk-sharp 2.9.0 or even 


Lluis Sanchez skrev:
> Hi,
> I have committed a fix that should fix the problem, although I can't
> reproduce it. Could you update and try it?
> Thanks,
> Lluis.
> El dv 18 de 08 del 2006 a les 19:59 +0200, en/na Fredrik Nilsson va
> escriure:
>> Hi,
>> Attached is a trivial fix for an error occuring while trying to open 
>> anything on Ubuntu Edgy (gtk+ 2.10).
>> The fileselector wants to add an shortcut to the home directory, but 
>> throws an exception if it already exists.
>> The output is the following:
>> Exception occurred: Shortcut file:///home/fredrik already exists
>> GLib.GException: Shortcut file:///home/fredrik already exists
>>   at Gtk.FileChooserDialog.AddShortcutFolder (System.String folder) 
>> [0x00000]
>>   at MonoDevelop.Components.FileSelector.CommonSetup () [0x00000]
>>   at MonoDevelop.Components.FileSelector..ctor (System.String title, 
>> FileChooserAction action) [0x00000]
>>   at MonoDevelop.Ide.Gui.Dialogs.FileSelectorDialog..ctor (System.String 
>> title, FileChooserAction action) [0x00000]
>>   at MonoDevelop.Ide.Gui.Dialogs.FileSelectorDialog..ctor (System.String 
>> title) [0x00000]
>>   at MonoDevelop.Ide.Commands.OpenFileHandler.Run () [0x00000]
>>   at MonoDevelop.Components.Commands.CommandHandler.Run (System.Object 
>> dataItem) [0x00000]
>>   at MonoDevelop.Components.Commands.ActionCommand.DispatchCommand 
>> (System.Object dataItem) [0x00000]
>>   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand 
>> (System.Object commandId, System.Object dataItem, System.Object 
>> initialTarget) [0x00000]
>> /Fredrik
>> _______________________________________________
>> 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