~euclide/euclide/trunk

« back to all changes in this revision

Viewing changes to src/main.vala

  • Committer: xapantu
  • Date: 2014-08-02 11:27:50 UTC
  • Revision ID: xapantu@gmail.com-20140802112750-1rtrpgwstvbuyx9e
Fix unit tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        debug ("");
103
103
        window.add_accel_group (ui.get_accel_group ());
104
104
    }
105
 
    
106
 
    /*void action_open_file () {
107
 
        var file_chooser = new Gtk.FileChooserDialog(_("Open a file..."), this.window, Gtk.FileChooserAction.OPEN,
108
 
            Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL,
109
 
            Gtk.Stock.OPEN, Gtk.ResponseType.ACCEPT,
110
 
            null);
111
 
        file_chooser.set_current_folder(current_folder);
112
 
        int reponse = file_chooser.run();
113
 
        if(reponse == Gtk.ResponseType.ACCEPT)
114
 
        {
115
 
            open_file(file_chooser.get_filename());
116
 
        }
117
 
            current_folder = file_chooser.get_current_folder();
118
 
        file_chooser.destroy();
119
 
    }*/
120
105
 
121
106
    void action_new_project () {
122
107
        var dialog = new NewProjectDialog (this.window);
641
626
  var objmodule = module as Peas.ObjectModule;
642
627
  objmodule.register_extension_type (typeof (Peas.Activatable),
643
628
                                     typeof (Euclide.Plugin));
644
 
}
 
629
}
 
 
b'\\ No newline at end of file'