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

gEDA-cvs: gaf.git: branch: master updated (1.5.1-20081221-198-g0ff9e9a)



The branch, master has been updated
       via  0ff9e9ac91823074f6240e1e762a1cca84b49d05 (commit)
      from  4d83eae30b789deb8ab9235a89c191630ebf18be (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/i_callbacks.c |    4 ++++
 gschem/src/x_preview.c   |    5 +++++
 2 files changed, 9 insertions(+), 0 deletions(-)


=================
 Commit Messages
=================

commit 0ff9e9ac91823074f6240e1e762a1cca84b49d05
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Thu Jan 22 08:09:29 2009 +0000

    gschem: Always register load_newer_backup_func.
    
    Cases were missed out in 4d83eae30b789deb8ab9235a89c191630ebf18be.

:100644 100644 dfbd704... b50f6fd... M	gschem/src/i_callbacks.c
:100644 100644 ab6f11a... ad02636... M	gschem/src/x_preview.c

=========
 Changes
=========

commit 0ff9e9ac91823074f6240e1e762a1cca84b49d05
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Thu Jan 22 08:09:29 2009 +0000

    gschem: Always register load_newer_backup_func.
    
    Cases were missed out in 4d83eae30b789deb8ab9235a89c191630ebf18be.

diff --git a/gschem/src/i_callbacks.c b/gschem/src/i_callbacks.c
index dfbd704..b50f6fd 100644
--- a/gschem/src/i_callbacks.c
+++ b/gschem/src/i_callbacks.c
@@ -152,6 +152,10 @@ DEFINE_I_CALLBACK(file_new_window)
 
   w_current = gschem_toplevel_new ();
   w_current->toplevel = s_toplevel_new ();
+
+  w_current->toplevel->load_newer_backup_func = x_fileselect_load_backup;
+  w_current->toplevel->load_newer_backup_data = w_current;
+
   x_window_setup (w_current);
 
   page = x_window_open_page (w_current, NULL);
diff --git a/gschem/src/x_preview.c b/gschem/src/x_preview.c
index ab6f11a..ad02636 100644
--- a/gschem/src/x_preview.c
+++ b/gschem/src/x_preview.c
@@ -362,6 +362,11 @@ preview_init (Preview *preview)
   preview_w_current = gschem_toplevel_new ();
   preview_w_current->toplevel = s_toplevel_new ();
 
+  preview_w_current->toplevel->load_newer_backup_func =
+    x_fileselect_load_backup;
+  preview_w_current->toplevel->load_newer_backup_data =
+    preview_w_current;
+
   i_vars_set (preview_w_current);
 
   /* be sure to turn off scrollbars */




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs