GNOME Bugzilla – Bug 382556
Preferences dialog crashes when user supplies custom pattern.
Last modified: 2006-12-05 18:35:30 UTC
When setting a custom naming pattern through gconf, the preferences dialog causes banshee to crash. Attaching a patch to prevent this.
Created attachment 77718 [details] [review] banshee-preferences-patterns.patch ChangeLog | 6 ++++++ src/Banshee.Base/Gui/PreferencesDialog.cs | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) 2006-12-05 Ruben Vermeersch <ruben@savanne.be> * src/Banshee.Base/Gui/PreferencesDialog.cs: Allow users to specify custom LibraryFilePattern and LibraryFolderPattern preferences to gconf, yet don't crash in the preferences screen.
Created attachment 77721 [details] [review] banshee-preferences-patterns.patch v2 And here's one that applies cleanly, nothing changed otherwise.
Cool, commit, provided you change "found" to "preference_already_added." If you have to provide a comment to describe a local variable, you've picked a bad name for that variable :)
Good point about the naming, I've changed it :-). First real piece of C# in a long time, feels good to be back!