[pan2/testing: 136/279] commented out autosave resume, it's annoying..



commit 06b1bec59695054fe1ddacfd34355fa6e4471a24
Author: Heinrich MÃller <sphemuel stud informatik uni-erlangen de>
Date:   Wed Jun 29 17:31:06 2011 +0200

    commented out autosave resume, it's annoying..

 pan/gui/post-ui.cc |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/pan/gui/post-ui.cc b/pan/gui/post-ui.cc
index 73ca228..4343616 100644
--- a/pan/gui/post-ui.cc
+++ b/pan/gui/post-ui.cc
@@ -2038,11 +2038,11 @@ PostUI :: body_view_realized_cb (GtkWidget*, gpointer self_gpointer)
   PostUI * self = static_cast<PostUI*>(self_gpointer);
 
   /* import old draft from autosave file */
-  struct stat sb;
-  char *buf = g_build_filename(get_draft_filename().c_str(), "autosave", NULL);
-  if (stat (buf, &sb)==0)
-    self->import_draft(buf);
-  g_free(buf);
+//  struct stat sb;
+//  char *buf = g_build_filename(get_draft_filename().c_str(), "autosave", NULL);
+//  if (stat (buf, &sb)==0)
+//    self->import_draft(buf);
+//  g_free(buf);
 
   self->set_wrap_mode (self->_prefs.get_flag ("compose-wrap-enabled", false));
   self->set_message (self->_message);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]