Don't save config if nothing was changed.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Tue, 21 Jan 2014 21:32:41 +0000 (23:32 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Tue, 21 Jan 2014 21:32:41 +0000 (23:32 +0200)
src/pcmanfm.c

index 667d92a..2d5131d 100644 (file)
@@ -287,9 +287,9 @@ int main(int argc, char** argv)
         GDK_THREADS_LEAVE();
 #endif
 
-        pcmanfm_save_config(TRUE);
         if(save_config_idle)
         {
+            pcmanfm_save_config(TRUE);
             g_source_remove(save_config_idle);
             save_config_idle = 0;
         }