mmenu; on shutdown, stores conf file (for last app/cat sake.)
authorskeezix <skeezix@fw.skeleton.org>
Thu, 10 Nov 2011 16:42:10 +0000 (11:42 -0500)
committerskeezix <skeezix@fw.skeleton.org>
Thu, 10 Nov 2011 16:42:10 +0000 (11:42 -0500)
minimenu/mmui.c

index 31a3e88..c7e02ea 100644 (file)
@@ -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 );