Changeset 07758c9826e90893f45857d9a7e29dd93f549d88
- Timestamp:
- 27/08/10 14:47:09 (3 years ago)
- Children:
- 65b3a068b00724644b2090a60a69a0a11302ec48
- Parents:
- 2031051176dc008449a1460f189835b15ea15cf4
- git-committer:
- Matias De la Puente <mfpuente.ar@…> (27/08/10 14:47:09)
- Location:
- libi4uc
- Files:
-
- 2 edited
-
i4ucdocumentspresenter.vala (modified) (1 diff)
-
i4ucprojectspresenter.vala (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libi4uc/i4ucdocumentspresenter.vala
r109c655 r07758c98 96 96 } 97 97 98 public void save_documents (Gee.List<string> document_uris) 99 { 100 foreach (var document_uri in document_uris) 101 { 102 var page_presenter = get_page_presenter_from_title (document_uri); 103 if (page_presenter != null) 104 page_presenter.save (); 105 } 106 } 107 98 108 public bool close_all () 99 109 { -
libi4uc/i4ucprojectspresenter.vala
r2031051 r07758c98 19 19 * Matias De la Puente <mfpuente.ar@gmail.com> 20 20 */ 21 using Gee; 21 22 22 23 public class I4uc.ProjectsPresenter : DocumentOpener, GLib.Object … … 212 213 } 213 214 215 //Save profile's files before building 216 var files_to_save = new ArrayList<string> (); 217 foreach (var file in current_profile.files) 218 files_to_save.add (current_project.get_file_uri (file)); 219 _documents_presenter.save_documents (files_to_save); 220 214 221 _profile_builder.project = current_project; 215 222 _profile_builder.profile = current_profile.name;
Note: See TracChangeset
for help on using the changeset viewer.

