[alacarte] MainWindow: Add back main_window
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [alacarte] MainWindow: Add back main_window
- Date: Thu, 12 Dec 2013 18:51:34 +0000 (UTC)
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]