[Gtk-sharp-list] [Database Browser] - Cannot add new DB connection

simozzer SimonMoscrop at hotmail.com
Fri Nov 14 07:20:24 EST 2008


Sorry folks, 

Wrong forum - I'll repost in monodevelop.




simozzer wrote:
> 
> Folks,
> 
> RE: Database Browser - MonoDevelop 2.0 alpha 2
> 
> It is not possible to a add a new database connection in MonoDevelop 2.0 -
> doing so always results in an error. 
> 
> If you apply the following tweaks to
> monodevelop/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidgets.cs
> the error is fixed.
> 
> 1. Remove the line  "protected DatabaseConnnectionSettings settings;" 
> 
> 2. Alter the get implementation for the ConnectionSettings property thus
> 
> public DatabaseConnectionSettings ConnectionSettings {
> get {
> 	DatabaseConnectionSettings settings = CreateDatabaseConnectionSettings();
> //<-- New Line	
> 	FillDatabaseConnectionSettings (settings);
> 	return settings;
> }
> }
> 
> 
> Can someone please take this detail and apply it as a patch?
> 
> Cheers
> 
> Simon Moscrop
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-Database-Browser----Cannot-add-new-DB-connection-tp20499399p20499432.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list