Re-enable undo/redo in text editor

Bug #681662 reported by Christopher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lucruri
Fix Released
Low
Unassigned

Bug Description

During make...
...
TextEditor.vala:135.3-138.3: warning: deprecated syntax, use `connect' method instead
TextEditor.vala:280.25-280.44: error: Argument 1: Cannot convert from `Gtk.SourceBuffer.undo' to `Gtk.MenuItem.activate'
  undo.activate.connect(this.textBuffer.undo);
                        ^^^^^^^^^^^^^^^^^^^^
TextEditor.vala:284.25-284.39: error: Argument 1: Cannot convert from `Gtk.SourceBuffer.redo' to `Gtk.MenuItem.activate'
  redo.activate.connect(textBuffer.redo);
                        ^^^^^^^^^^^^^^^
TextEditor.vala:145.3-148.3: warning: deprecated syntax, use `connect' method instead
...

I can comment out those lines and compile ok.

Ubuntu 10.10 x64
Vala 0.11.2 (I tried first with 0.10.0 before upgrading)

Related branches

Revision history for this message
Adi Roiban (adiroiban) wrote :

Thank you for reporting this bug.
Unfortunately I was busy with other project.

I have now reloaded the work on this project.

You should be able to build the project in Ubuntu 10.10 with the default Vala compiler 0.10.0 and default couchdb and desktopcouch.

For now the undo function is disabled until I will fix it... the API is changing to fast for me :)

summary: - 'Cannot convert' errors in TextEditor.vala
+ Re-enable undo/redo in text editor
Changed in lucruri:
status: New → Triaged
importance: Undecided → Low
Adi Roiban (adiroiban)
Changed in lucruri:
status: Triaged → Fix Released
Revision history for this message
Adi Roiban (adiroiban) wrote :

Even thou the undo/redo are not working ... the application is still broken

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.