[alacarte] MainWindow: Remove ugly hack



commit ec72a8f54fd0ddcf302687a527e6cfd749f597a3
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jun 20 14:42:55 2012 -0400

    MainWindow: Remove ugly hack

 Alacarte/MainWindow.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py
index 035bfee..355a5a3 100644
--- a/Alacarte/MainWindow.py
+++ b/Alacarte/MainWindow.py
@@ -34,7 +34,6 @@ from Alacarte import util
 class MainWindow(object):
     timer = None
     #hack to make editing menu properties work
-    allow_update = True
     edit_pool = []
 
     def __init__(self, datadir, version):
@@ -69,8 +68,6 @@ class MainWindow(object):
         self.loadUpdates()
 
     def loadUpdates(self):
-        if not self.allow_update:
-            return False
         menu_tree = self.tree.get_object('menu_tree')
         item_tree = self.tree.get_object('item_tree')
         items, iter = item_tree.get_selection().get_selected()



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