[alacarte] MenuEditor: Fix silly typo



commit b299638ee9347084f161732f7a0205fdbd51b327
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Jun 1 00:18:59 2012 -0400

    MenuEditor: Fix silly typo
    
    The API is get_app_info() not get_info()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676987

 Alacarte/MenuEditor.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Alacarte/MenuEditor.py b/Alacarte/MenuEditor.py
index cb89cfa..b76621a 100644
--- a/Alacarte/MenuEditor.py
+++ b/Alacarte/MenuEditor.py
@@ -310,7 +310,7 @@ class MenuEditor(object):
 
         util.fillKeyFile(keyfile, dict(Categories=[], Hidden=False))
 
-        app_info = item.get_info()
+        app_info = item.get_app_info()
         file_id = util.getUniqueFileId(app_info.get_name().replace(os.sep, '-'), '.desktop')
         out_path = os.path.join(util.getUserItemPath(), file_id)
 



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