psa: added splash screen
authorYves <yves@marcoz.org>
Fri, 9 Dec 2011 23:35:25 +0000 (15:35 -0800)
committerYves <yves@marcoz.org>
Fri, 9 Dec 2011 23:35:25 +0000 (15:35 -0800)
fixed instance not being brought to foreground when clicking icon a 2nd time

psa_harmattan/feedingit/feedingit
psa_harmattan/feedingit/feedingit.desktop
psa_harmattan/feedingit/setup.py
psa_harmattan/feedingit/splash.jpg [new file with mode: 0644]

index 3903c7e..698f459 100644 (file)
@@ -1,8 +1,11 @@
 #!/bin/sh
 
 case "$1" in
+update)
+    dbus-send --print-reply --dest='org.marcoz.feedingit' --session /org/marcoz/feedingit/update org.marcoz.feedingit.UpdateAll
+    ;;
 dbus)
-    nice python /usr/share/feedingit/update_feeds.py
+    nice python /usr/share/feedingit/update_feeds.py --daemon
     ;;
 *)
   cd /usr/share/feedingit
index 544c906..95bf65c 100644 (file)
@@ -3,6 +3,6 @@ Encoding=UTF-8
 Version=1.0
 Type=Application
 Name=FeedingIt RSS Reader
-Exec=invoker --single-instance --type=e /usr/bin/feedingit
+Exec=invoker --single-instance --splash=/usr/share/feedingit/splash.jpg --type=e /usr/bin/python /usr/share/feedingit/feedingit.py
 Icon=/usr/share/icons/hicolor/80x80/apps/feedingit.png
 Categories=Network;News;
index 5161a7c..f6f0fd2 100644 (file)
@@ -19,4 +19,5 @@ setup(name="feedingit",
                   ('share/feedingit/qml/common/images', glob.glob('qml/common/images/*')),
                   ('share/feedingit/qml/i18n', glob.glob('qml/i18n/*')),
                   ('share/dbus-1/services', ['feedingit_status.service']),
+                  ('share/feedingit', ['splash.jpg']),
                  ('share/feedingit', glob.glob('pysrc/*.py')) ],)
diff --git a/psa_harmattan/feedingit/splash.jpg b/psa_harmattan/feedingit/splash.jpg
new file mode 100644 (file)
index 0000000..c2a593f
Binary files /dev/null and b/psa_harmattan/feedingit/splash.jpg differ