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  <[EMAIL PROTECTED]>

        * 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()
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to