Blob Blame History Raw
From 73eaf9959f20fdab545237188672bf01f6e22fa1 Mon Sep 17 00:00:00 2001
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
Date: Thu, 12 Dec 2013 13:38:09 -0500
Subject: [PATCH] MainWindow: Add back main_window

We use this for the launchers
---
 Alacarte/MainWindow.py | 2 ++
 1 file changed, 2 insertions(+)

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):
-- 
1.9.0