From: skeezix Date: Thu, 10 Nov 2011 16:42:10 +0000 (-0500) Subject: mmenu; on shutdown, stores conf file (for last app/cat sake.) X-Git-Tag: sz_beta3~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-libraries.git;a=commitdiff_plain;h=9605ab5fb29ce107a849948eb7ada8d3296093ed mmenu; on shutdown, stores conf file (for last app/cat sake.) --- diff --git a/minimenu/mmui.c b/minimenu/mmui.c index 31a3e88..c7e02ea 100644 --- a/minimenu/mmui.c +++ b/minimenu/mmui.c @@ -1419,6 +1419,8 @@ void ui_process_input ( pnd_dbusnotify_handle dbh, pnd_notify_handle nh ) { // do nothing ui_revealscreen(); } else if ( sel == 1 ) { + // store conf on exit, so that last app/cat can be cached.. for ED :) + conf_write ( g_conf, conf_determine_location ( g_conf ) ); // shutdown sprintf ( buffer, "sudo poweroff" ); system ( buffer );