added osso stuff again
authorDaniel Martin Yerga <yerga@yerga-desktop.(none)>
Tue, 11 Aug 2009 23:37:13 +0000 (01:37 +0200)
committerDaniel Martin Yerga <yerga@yerga-desktop.(none)>
Tue, 11 Aug 2009 23:37:13 +0000 (01:37 +0200)
changelog
setup.py
stockthis.desktop
stockthis.py

index 1c87504..50b3351 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,3 +1,7 @@
+2009-08-12   Daniel Martin Yerga  <dyerga@gmail.com>
+
+  * Added python-osso stuff again.
+
 2009-08-10  Daniel Martín Yerga  <dyerga@gmail.com>
 
     * stockthis.py: Added logging system.
index aa451af..1293af3 100644 (file)
--- 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(
index d04220f..f627fbb 100644 (file)
@@ -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
index 1df7d6c..f5178e3 100644 (file)
@@ -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]