From 9605ab5fb29ce107a849948eb7ada8d3296093ed Mon Sep 17 00:00:00 2001 From: skeezix Date: Thu, 10 Nov 2011 11:42:10 -0500 Subject: [PATCH] mmenu; on shutdown, stores conf file (for last app/cat sake.) --- minimenu/mmui.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.2