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

Fredrik Nilsson jymdman at gmail.com
Fri Aug 18 13:59:19 EDT 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md.diff
Type: text/x-patch
Size: 961 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060818/8c20189c/attachment.bin 


More information about the Monodevelop-list mailing list