[alacarte] MainWindow: Add back main_window



commit 73eaf9959f20fdab545237188672bf01f6e22fa1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Dec 12 13:38:09 2013 -0500

    MainWindow: Add back main_window
    
    We use this for the launchers

 Alacarte/MainWindow.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py
index 7bd3106..aa36aaa 100644
--- a/Alacarte/MainWindow.py
+++ b/Alacarte/MainWindow.py
@@ -50,6 +50,8 @@ class MainWindow(object):
         self.tree.get_object('move_down_button').set_sensitive(False)
         self.tree.get_object('new_separator_button').set_sensitive(False)
 
+        self.main_window = self.tree.get_object('mainwindow')
+
         self.editor = None
 
     def setMenuBasename(self, menu_basename):


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