[Sugar-devel] [PATCH sugar-toolkit-gtk3] Don't import from gtk2 toolkit
Daniel Narvaez
dwnarvaez at gmail.com
Tue Nov 13 09:09:20 EST 2012
From: Daniel Narvaez <dwnarvaez at gmail.com>
---
src/sugar3/dispatch/__init__.py | 2 +-
src/sugar3/dispatch/dispatcher.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sugar3/dispatch/__init__.py b/src/sugar3/dispatch/__init__.py
index 776b1bc..4b0f57d 100644
--- a/src/sugar3/dispatch/__init__.py
+++ b/src/sugar3/dispatch/__init__.py
@@ -6,4 +6,4 @@ See license.txt for original license.
Heavily modified for Django's purposes.
"""
-from sugar.dispatch.dispatcher import Signal
+from sugar3.dispatch.dispatcher import Signal
diff --git a/src/sugar3/dispatch/dispatcher.py b/src/sugar3/dispatch/dispatcher.py
index 6855a5b..5965bfb 100644
--- a/src/sugar3/dispatch/dispatcher.py
+++ b/src/sugar3/dispatch/dispatcher.py
@@ -4,7 +4,7 @@ try:
except NameError:
from sets import Set as set # Python 2.3 fallback
-from sugar.dispatch import saferef
+from sugar3.dispatch import saferef
WEAKREF_TYPES = (weakref.ReferenceType, saferef.BoundMethodWeakref)
--
1.7.10.2
More information about the Sugar-devel
mailing list