tomboy r1881 - in trunk: . Tomboy



Author: btimothy
Date: Fri Feb 22 22:21:59 2008
New Revision: 1881
URL: http://svn.gnome.org/viewvc/tomboy?rev=1881&view=rev

Log:
* Tomboy/RecentChanges.cs: Fix bug #507382 by never disabling the open
  template (regardless of the notebook selected, this should always
  be enabled).  Also fixed the case where right after a notebook is
  deleted and the "All Notes" is selected so the Delete notebook menu
  option is not available.

Modified:
   trunk/ChangeLog
   trunk/Tomboy/RecentChanges.cs

Modified: trunk/Tomboy/RecentChanges.cs
==============================================================================
--- trunk/Tomboy/RecentChanges.cs	(original)
+++ trunk/Tomboy/RecentChanges.cs	Fri Feb 22 22:21:59 2008
@@ -1090,13 +1090,13 @@
 			if (notebook == null) {
 				// Clear out the currently selected tags so that no notebook is selected
 				selected_tags.Clear ();
-                Tomboy.ActionManager ["OpenNotebookTemplateNoteAction"].Sensitive = false;
 
 				
 				// Select the "All Notes" item without causing
 				// this handler to be called again
 				notebooksTree.Selection.Changed -= OnNotebookSelectionChanged;
 				SelectAllNotesNotebook ();
+				Tomboy.ActionManager ["DeleteNotebookAction"].Sensitive = false;
 				notebooksTree.Selection.Changed += OnNotebookSelectionChanged;
 			} else {
 				selected_tags.Clear ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]