Keep the bindings private
This commit is contained in:
parent
760651e3d7
commit
7646366553
1
.gitignore
vendored
1
.gitignore
vendored
@ -36,6 +36,7 @@ po/stamp-it
|
|||||||
po/sugar.pot
|
po/sugar.pot
|
||||||
po/*.gmo
|
po/*.gmo
|
||||||
sugar/__installed__.py
|
sugar/__installed__.py
|
||||||
|
sugar/__uninstalled__.py
|
||||||
tools/sugar-setup-activity
|
tools/sugar-setup-activity
|
||||||
shell/PresenceService/org.laptop.Presence.service
|
shell/PresenceService/org.laptop.Presence.service
|
||||||
threadframe
|
threadframe
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SUBDIRS = globalkeys threadframe
|
SUBDIRS = globalkeys threadframe
|
||||||
|
|
||||||
bindingsdir = $(pythondir)/sugar_bindings
|
bindingsdir = $(pkgdatadir)/bindings
|
||||||
bindings_PYTHON = __init__.py
|
bindings_PYTHON = __init__.py
|
||||||
|
@ -4,7 +4,7 @@ INCLUDES = \
|
|||||||
$(PYGTK_CFLAGS) \
|
$(PYGTK_CFLAGS) \
|
||||||
$(GLOBALKEYS_CFLAGS)
|
$(GLOBALKEYS_CFLAGS)
|
||||||
|
|
||||||
globalkeysdir = $(pythondir)/sugar_bindings
|
globalkeysdir = $(pkgdatadir)/bindings
|
||||||
pkgpyexecdir = $(globalkeysdir)
|
pkgpyexecdir = $(globalkeysdir)
|
||||||
|
|
||||||
pkgpyexec_LTLIBRARIES = globalkeys.la
|
pkgpyexec_LTLIBRARIES = globalkeys.la
|
||||||
|
@ -53,6 +53,7 @@ shell/session/Makefile
|
|||||||
shell/PresenceService/Makefile
|
shell/PresenceService/Makefile
|
||||||
sugar/Makefile
|
sugar/Makefile
|
||||||
sugar/__installed__.py
|
sugar/__installed__.py
|
||||||
|
sugar/__uninstalled__.py
|
||||||
sugar/activity/Makefile
|
sugar/activity/Makefile
|
||||||
sugar/canvas/Makefile
|
sugar/canvas/Makefile
|
||||||
sugar/chat/Makefile
|
sugar/chat/Makefile
|
||||||
|
@ -18,7 +18,7 @@ from sugar.activity import ActivityFactory
|
|||||||
from sugar.activity import Activity
|
from sugar.activity import Activity
|
||||||
from FirstTimeDialog import FirstTimeDialog
|
from FirstTimeDialog import FirstTimeDialog
|
||||||
from panel.PanelManager import PanelManager
|
from panel.PanelManager import PanelManager
|
||||||
from sugar_bindings.globalkeys import KeyGrabber
|
from globalkeys import KeyGrabber
|
||||||
from sugar import conf
|
from sugar import conf
|
||||||
import sugar.logger
|
import sugar.logger
|
||||||
|
|
||||||
|
@ -5,5 +5,6 @@ sugar_services_dir = '@prefix@/share/sugar/services'
|
|||||||
sugar_dbus_config = '@prefix@/share/sugar/dbus-installed.conf'
|
sugar_dbus_config = '@prefix@/share/sugar/dbus-installed.conf'
|
||||||
|
|
||||||
sugar_python_path = ['@prefix@/share/sugar/shell',
|
sugar_python_path = ['@prefix@/share/sugar/shell',
|
||||||
|
'@prefix@/share/sugar/bindings',
|
||||||
'@prefix@/share/sugar/activities']
|
'@prefix@/share/sugar/activities']
|
||||||
sugar_bin_path = []
|
sugar_bin_path = []
|
||||||
|
@ -10,7 +10,7 @@ sugar_service_dir = __tmpdir
|
|||||||
|
|
||||||
sugar_dbus_config = os.path.join(sugar_source_dir, 'dbus-uninstalled.conf')
|
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(sugar_source_dir)
|
||||||
sugar_python_path.append(os.path.join(sugar_source_dir, 'shell'))
|
sugar_python_path.append(os.path.join(sugar_source_dir, 'shell'))
|
||||||
sugar_python_path.append(os.path.join(sugar_source_dir, 'activities'))
|
sugar_python_path.append(os.path.join(sugar_source_dir, 'activities'))
|
Loading…
Reference in New Issue
Block a user