tomboy r2057 - in trunk: . Tomboy
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: tomboy r2057 - in trunk: . Tomboy
- Date: Sat, 2 Aug 2008 18:05:16 +0000 (UTC)
Author: sharm
Date: Sat Aug 2 18:05:16 2008
New Revision: 2057
URL: http://svn.gnome.org/viewvc/tomboy?rev=2057&view=rev
Log:
* Tomboy/NoteManager.cs: If Start Note URI in GConf is invalid, look
for an existing "Start Here" note. Fixes bug #508982, patch
courtesy of Jon Lund Steffensen.
Modified:
trunk/ChangeLog
trunk/Tomboy/NoteManager.cs
Modified: trunk/Tomboy/NoteManager.cs
==============================================================================
--- trunk/Tomboy/NoteManager.cs (original)
+++ trunk/Tomboy/NoteManager.cs Sat Aug 2 18:05:16 2008
@@ -229,10 +229,12 @@
}
}
- // Make sure that a Start Note Uri is set in the preferences. This
+ // Make sure that a Start Note Uri is set in the preferences, and
+ // make sure that the Uri is valid to prevent bug #508982. This
// has to be done here for long-time Tomboy users who won't go
// through the CreateStartNotes () process.
- if (StartNoteUri == String.Empty) {
+ if (StartNoteUri == String.Empty ||
+ FindByUri(StartNoteUri) == null) {
// Attempt to find an existing Start Here note
Note start_note = Find (Catalog.GetString ("Start Here"));
if (start_note != null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]