[jokosher-devel] [PATCH] Make recent projects menu inactive if there are no projects to be loaded



Hello Everyone,

This is my first patch for jokosher. Its not much but its a start.

The recent projects menu will now be inactive if there are no projects
to load. 

John.
Index: JokosherApp.py
===================================================================
--- JokosherApp.py	(revision 847)
+++ JokosherApp.py	(working copy)
@@ -845,7 +845,7 @@
 		ctrls = (self.save, self.save_as, self.close, self.addInstrumentButton,
 			self.reverse, self.forward, self.play, self.stop, self.record,
 			self.projectmenu, self.export, self.cut, self.copy, self.paste,
-			self.undo, self.redo, self.delete,
+			self.undo, self.redo, self.delete, self.recentprojects,
 			RecordingToggle, CompactToggle, 
 			self.wTree.get_widget("WorkspacesLabel"))
 		
@@ -895,7 +895,7 @@
 			if self.tvtoolitem:
 				self.tvtoolitem.destroy()
 				self.tvtoolitem = None
-	
+
 	#_____________________________________________________________________
 	
 	def OnKeyPress(self, widget, event):


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