Allow moving minimenu custom conf/skins to appdata/mmenu, in addition to /pandora...
authorskeezix <skeezix@flotsam-vm.(none)>
Tue, 15 Jun 2010 02:06:05 +0000 (22:06 -0400)
committerskeezix <skeezix@flotsam-vm.(none)>
Tue, 15 Jun 2010 02:06:05 +0000 (22:06 -0400)
deployment/etc/pandora/conf/mmenu.conf
minimenu/mmenu.c

index 8ccd975..6a8477c 100644 (file)
@@ -13,7 +13,7 @@
 # here, so that skin-changes do not break user preferences
 
 [minimenu]
-skin_searchpath                /media/*/pandora/mmenu/skins:/etc/pandora/mmenu/skins:./minimenu/skin
+skin_searchpath                /media/*/pandora/mmenu/skins:/media/*/pandora/appdata/mmenu/skins:/etc/pandora/mmenu/skins:./minimenu/skin
 skin_selected          ~/.mmenuskinchoice
 skin_confname          mmskin.conf
 pndrun                 /usr/pandora/scripts:./testdata/scripts # searchpath to locate "pnd_run.sh"; why aren't I looking in /etc/pandora/conf/apps for this?
index 78313f5..7e46761 100644 (file)
@@ -402,10 +402,18 @@ int main ( int argc, char *argv[] ) {
 
 void emit_and_quit ( char *s ) {
   printf ( "%s\n", s );
-  pnd_dbusnotify_shutdown ( dbh );
-  if ( nh ) {
-    pnd_notify_shutdown ( nh );
+  // shutdown notifications
+  if ( g_autorescan ) {
+
+    if ( dbh ) {
+      pnd_dbusnotify_shutdown ( dbh );
+    }
+    if ( nh ) {
+      pnd_notify_shutdown ( nh );
+    }
+
   }
+
   exit ( 0 );
 }