From 82f11c4bde6ac24b53e41e27a465031469d04c55 Mon Sep 17 00:00:00 2001 From: Daniel Martin Yerga Date: Wed, 12 Aug 2009 01:37:13 +0200 Subject: [PATCH] added osso stuff again --- changelog | 4 ++++ setup.py | 4 ++-- stockthis.desktop | 4 ++-- stockthis.py | 4 ++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/changelog b/changelog index 1c87504..50b3351 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,7 @@ +2009-08-12 Daniel Martin Yerga + + * Added python-osso stuff again. + 2009-08-10 Daniel Martín Yerga * stockthis.py: Added logging system. diff --git a/setup.py b/setup.py index aa451af..1293af3 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ from distutils.core import setup inst_desktop = ['stockthis.desktop'] inst_py = ['stockthis.py', 'marketdata.py', 'settings.py'] pixmaps = ['pixmaps/stockthis.png'] -#inst_dbus = ['stockthis.service'] +inst_dbus = ['stockthis.service'] inst_icon = ['stockthis.png'] inst_icon_sca = ['pixmaps/stockthis.png'] @@ -31,7 +31,7 @@ data_files = [ ('share/stockthis/pixmaps', pixmaps), ('share/icons/hicolor/26x26/hildon/', inst_icon), ('share/icons/hicolor/scalable/hildon/', inst_icon_sca), - #('share/dbus-1/services', inst_dbus), + ('share/dbus-1/services', inst_dbus), ] setup( diff --git a/stockthis.desktop b/stockthis.desktop index d04220f..f627fbb 100644 --- a/stockthis.desktop +++ b/stockthis.desktop @@ -9,5 +9,5 @@ Icon=stockthis X-Icon-path=/usr/share/icons X-Window-Icon=stockthis X-HildonDesk-ShowInToolbar=true -#X-Osso-Service=net.yerga.stockthis -#X-Osso-Type=application/x-executable +X-Osso-Service=net.yerga.stockthis +X-Osso-Type=application/x-executable diff --git a/stockthis.py b/stockthis.py index 1df7d6c..f5178e3 100644 --- a/stockthis.py +++ b/stockthis.py @@ -31,8 +31,8 @@ import settings import logging import sys -#import osso -#osso_c = osso.Context("net.yerga.stockthis", "0.3", False) +import osso +osso_c = osso.Context("net.yerga.stockthis", "0.3", False) #detect if is ran locally or not runningpath = sys.path[0] -- 1.7.9.5