Blame SOURCES/0001-MainWindow-Add-back-main_window.patch

5b2f0d
From 73eaf9959f20fdab545237188672bf01f6e22fa1 Mon Sep 17 00:00:00 2001
5b2f0d
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
5b2f0d
Date: Thu, 12 Dec 2013 13:38:09 -0500
5b2f0d
Subject: [PATCH] MainWindow: Add back main_window
5b2f0d
5b2f0d
We use this for the launchers
5b2f0d
---
5b2f0d
 Alacarte/MainWindow.py | 2 ++
5b2f0d
 1 file changed, 2 insertions(+)
5b2f0d
5b2f0d
diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py
5b2f0d
index 7bd3106..aa36aaa 100644
5b2f0d
--- a/Alacarte/MainWindow.py
5b2f0d
+++ b/Alacarte/MainWindow.py
5b2f0d
@@ -50,6 +50,8 @@ class MainWindow(object):
5b2f0d
         self.tree.get_object('move_down_button').set_sensitive(False)
5b2f0d
         self.tree.get_object('new_separator_button').set_sensitive(False)
5b2f0d
 
5b2f0d
+        self.main_window = self.tree.get_object('mainwindow')
5b2f0d
+
5b2f0d
         self.editor = None
5b2f0d
 
5b2f0d
     def setMenuBasename(self, menu_basename):
5b2f0d
-- 
5b2f0d
1.9.0
5b2f0d