Keep the bindings private

master
Marco Pesenti Gritti 18 years ago
parent 760651e3d7
commit 7646366553

1
.gitignore vendored

@ -36,6 +36,7 @@ po/stamp-it
po/sugar.pot
po/*.gmo
sugar/__installed__.py
sugar/__uninstalled__.py
tools/sugar-setup-activity
shell/PresenceService/org.laptop.Presence.service
threadframe

@ -1,4 +1,4 @@
SUBDIRS = globalkeys threadframe
bindingsdir = $(pythondir)/sugar_bindings
bindingsdir = $(pkgdatadir)/bindings
bindings_PYTHON = __init__.py

@ -4,7 +4,7 @@ INCLUDES = \
$(PYGTK_CFLAGS) \
$(GLOBALKEYS_CFLAGS)
globalkeysdir = $(pythondir)/sugar_bindings
globalkeysdir = $(pkgdatadir)/bindings
pkgpyexecdir = $(globalkeysdir)
pkgpyexec_LTLIBRARIES = globalkeys.la

@ -53,6 +53,7 @@ shell/session/Makefile
shell/PresenceService/Makefile
sugar/Makefile
sugar/__installed__.py
sugar/__uninstalled__.py
sugar/activity/Makefile
sugar/canvas/Makefile
sugar/chat/Makefile

@ -18,7 +18,7 @@ from sugar.activity import ActivityFactory
from sugar.activity import Activity
from FirstTimeDialog import FirstTimeDialog
from panel.PanelManager import PanelManager
from sugar_bindings.globalkeys import KeyGrabber
from globalkeys import KeyGrabber
from sugar import conf
import sugar.logger

@ -5,5 +5,6 @@ sugar_services_dir = '@prefix@/share/sugar/services'
sugar_dbus_config = '@prefix@/share/sugar/dbus-installed.conf'
sugar_python_path = ['@prefix@/share/sugar/shell',
'@prefix@/share/sugar/bindings',
'@prefix@/share/sugar/activities']
sugar_bin_path = []

@ -10,7 +10,7 @@ sugar_service_dir = __tmpdir
sugar_dbus_config = os.path.join(sugar_source_dir, 'dbus-uninstalled.conf')
sugar_python_path = []
sugar_python_path = ['@prefix@/share/sugar/bindings']
sugar_python_path.append(sugar_source_dir)
sugar_python_path.append(os.path.join(sugar_source_dir, 'shell'))
sugar_python_path.append(os.path.join(sugar_source_dir, 'activities'))
Loading…
Cancel
Save