[alacarte] MainWindow: Remove old hack for a broken gnome-panel binary



commit eb3ce9abc34cc168d5da6532009726dbf2eeb777
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed May 9 14:40:12 2012 -0300

    MainWindow: Remove old hack for a broken gnome-panel binary
    
    It's long been fixed.

 Alacarte/MainWindow.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py
index 42fa509..c300d30 100644
--- a/Alacarte/MainWindow.py
+++ b/Alacarte/MainWindow.py
@@ -267,10 +267,6 @@ class MainWindow(object):
 
     def waitForNewMenuProcess(self, process, parent_id, file_path):
         if process.poll() != None:
-            #hack for broken gnome-desktop-item-edit
-            broken_path = os.path.join(os.path.split(file_path)[0], '.directory')
-            if os.path.isfile(broken_path):
-                os.rename(broken_path, file_path)
             if os.path.isfile(file_path):
                 self.editor.insertExternalMenu(os.path.split(file_path)[1], parent_id)
             return False



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