[alacarte] MenuEditor: Remove unused argument from loadItems
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [alacarte] MenuEditor: Remove unused argument from loadItems
- Date: Tue, 17 Jul 2012 00:26:40 +0000 (UTC)
commit 64ffa5aed472e895883e7ec5ba181c60d2a2a3b1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Jul 15 22:05:50 2012 -0400
MenuEditor: Remove unused argument from loadItems
Alacarte/MainWindow.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py
index 300649b..d407633 100644
--- a/Alacarte/MainWindow.py
+++ b/Alacarte/MainWindow.py
@@ -209,7 +209,7 @@ class MainWindow(object):
iters[menu] = self.menu_store.append(iters[parent], (icon, name, menu))
self.loadMenu(iters, menu)
- def loadItems(self, menu, menu_path):
+ def loadItems(self, menu):
self.item_store.clear()
for item, show in self.editor.getItems(menu):
icon = util.getIcon(item)
@@ -348,7 +348,7 @@ class MainWindow(object):
menu_path = menus.get_path(iter)
item_tree = self.tree.get_object('item_tree')
item_tree.get_selection().unselect_all()
- self.loadItems(self.menu_store[menu_path][2], menu_path)
+ self.loadItems(self.menu_store[menu_path][2])
self.tree.get_object('edit_delete').set_sensitive(False)
self.tree.get_object('edit_revert_to_original').set_sensitive(False)
self.tree.get_object('edit_properties').set_sensitive(False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]