From 3cb62d3432b65573f80d83a7faf3aed9cce542e7 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 29 Jul 2006 17:47:56 +0000 Subject: Fix alacarte by calling add_monitor properly. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6891 df743ca5-7f9a-e211-a948-0013205c9059 --- deskutils/alacarte/Makefile | 4 ++-- deskutils/alacarte/files/patch-Alacarte_MainWindow.py | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 deskutils/alacarte/files/patch-Alacarte_MainWindow.py diff --git a/deskutils/alacarte/Makefile b/deskutils/alacarte/Makefile index 5bc16db7f..7436d8d2f 100644 --- a/deskutils/alacarte/Makefile +++ b/deskutils/alacarte/Makefile @@ -3,11 +3,11 @@ # Whom: FreeBSD GNOME Team # # $FreeBSD$ -# $MCom: ports/deskutils/alacarte/Makefile,v 1.4 2006/07/28 20:55:55 mezz Exp $ +# $MCom: ports/deskutils/alacarte/Makefile,v 1.5 2006/07/28 21:17:42 marcus Exp $ PORTNAME= alacarte PORTVERSION= 0.9.90 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/deskutils/alacarte/files/patch-Alacarte_MainWindow.py b/deskutils/alacarte/files/patch-Alacarte_MainWindow.py new file mode 100644 index 000000000..1fc328e2c --- /dev/null +++ b/deskutils/alacarte/files/patch-Alacarte_MainWindow.py @@ -0,0 +1,13 @@ +--- alacarte/MainWindow.py.orig Sat Jul 29 13:45:31 2006 ++++ alacarte/MainWindow.py Sat Jul 29 13:45:57 2006 +@@ -67,8 +67,8 @@ class MainWindow: + + def run(self): + self.loadMenus() +- self.editor.applications.tree.add_monitor(self.menuChanged) +- self.editor.settings.tree.add_monitor(self.menuChanged) ++ self.editor.applications.tree.add_monitor(self.menuChanged, None) ++ self.editor.settings.tree.add_monitor(self.menuChanged, None) + self.tree.get_widget('mainwindow').show_all() + gtk.main() + -- cgit v1.2.3