Ignore:
Timestamp:
20/12/10 20:00:35 (2 years ago)
Author:
Matias De la Puente <mfpuente.ar@…>
Children:
694d86baafd237d38fc2df4d152aafa3d17cff88
Parents:
f3936599595a9a4a25e8914850372ce0a9b16d78
git-committer:
Matias De la Puente <mfpuente.ar@…> (20/12/10 20:00:35)
Message:

Improve response of dialogs

Use DialogResponse? instead of ResponseType? to remove the use of Gtk in Core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libi4uccore/documentslogic.vala

    re7ead1c r78c0493  
    118118                        var response = _view.show_close_confirmation_dialog (unsaved_documents, out documents_to_save); 
    119119                         
    120                         if (response == Gtk.ResponseType.CANCEL) 
     120                        if (response == DialogResponse.CANCEL) 
    121121                                return false; 
    122122                         
    123                         if (response == Gtk.ResponseType.OK) 
     123                        if (response == DialogResponse.OK) 
    124124                                foreach (var document in documents_to_save) 
    125125                                { 
Note: See TracChangeset for help on using the changeset viewer.