alacarte r355 - in trunk: . Alacarte



Author: twatkins
Date: Sun Feb 17 05:41:57 2008
New Revision: 355
URL: http://svn.gnome.org/viewvc/alacarte?rev=355&view=rev

Log:
2008-02-16  Travis Watkins  <amaranth ubuntu com>

        * Alacarte/MenuEditor.py: hopefully fix the most frequest crasher


Modified:
   trunk/Alacarte/MenuEditor.py
   trunk/ChangeLog

Modified: trunk/Alacarte/MenuEditor.py
==============================================================================
--- trunk/Alacarte/MenuEditor.py	(original)
+++ trunk/Alacarte/MenuEditor.py	Sun Feb 17 05:41:57 2008
@@ -409,6 +409,8 @@
 				else:
 					continue
 			elif item.get_type() == gmenu.TYPE_DIRECTORY:
+				if item.get_desktop_file_path() == None:
+					continue
 				file_path = os.path.join(util.getUserDirectoryPath(), os.path.split(item.get_desktop_file_path())[1])
 				if not os.path.isfile(file_path):
 					file_path = item.get_desktop_file_path()



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