tomboy r1794 - in trunk: . Tomboy/Notebooks



Author: cscobell
Date: Wed Jan 16 22:14:57 2008
New Revision: 1794
URL: http://svn.gnome.org/viewvc/tomboy?rev=1794&view=rev

Log:
2008-01-17 Chris Scobell <chris thescobells com>
	* Tomboy/Notebooks/NotebookApplicationAddin.cs: Call
	  RemoveMenuItems at the start of AddMenuItems to ensure that 
	  the menu is empty before adding the notebook items. Fixes
	  bug #509989.


Modified:
   trunk/ChangeLog
   trunk/Tomboy/Notebooks/NotebookApplicationAddin.cs

Modified: trunk/Tomboy/Notebooks/NotebookApplicationAddin.cs
==============================================================================
--- trunk/Tomboy/Notebooks/NotebookApplicationAddin.cs	(original)
+++ trunk/Tomboy/Notebooks/NotebookApplicationAddin.cs	Wed Jan 16 22:14:57 2008
@@ -154,6 +154,8 @@
 		
 		private void AddMenuItems (Gtk.Menu menu)
 		{
+			RemoveMenuItems (menu);			
+
 			NotebookNewNoteMenuItem item;
 
 			Gtk.TreeModel model = NotebookManager.Notebooks;



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