Rely on system to find the library vs. hard coding the path.

This commit is contained in:
Clement Lefebvre 2009-12-14 15:17:28 +00:00
parent 7ef7521e44
commit 2d52a82a69
16 changed files with 7 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (4.9.2) helena; urgency=low
* Fixed: https://bugs.launchpad.net/mintmenu/+bug/490174
-- Clement Lefebvre <root@linuxmint.com> Mon, 14 Dec 2009 15:14:00 +0000
mintmenu (4.9.1) helena; urgency=low mintmenu (4.9.1) helena; urgency=low
* Split Others, Administration and System tools categories (if we do it again we have to patch Alacarte to reflect this) * Split Others, Administration and System tools categories (if we do it again we have to patch Alacarte to reflect this)

View File

@ -22,8 +22,7 @@ except Exception, e:
global mbindkey global mbindkey
# Load the key binding lib (developped by deskbar-applet, copied into mintMenu so we don't end up with an unnecessary dependency) # Load the key binding lib (developped by deskbar-applet, copied into mintMenu so we don't end up with an unnecessary dependency)
try: try:
sys.path.append('/usr/lib/pyshared/python2.6/deskbar/core/keybinder') from deskbar.core.keybinder import tomboy_keybinder_bind as bind_key
from _keybinder import tomboy_keybinder_bind as bind_key
except Exception, cause: except Exception, cause:
print "*********** Keybind Driver Load Failure **************" print "*********** Keybind Driver Load Failure **************"
print "Error Report : ", str(cause) print "Error Report : ", str(cause)