After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 555639 - Add accessors for can-undo and can-redo properties
Add accessors for can-undo and can-redo properties
Status: RESOLVED FIXED
Product: gtksourceviewmm
Classification: Other
Component: general
git master
Other All
: Normal enhancement
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-10-09 06:18 UTC by Yuriy Syrota
Modified: 2011-01-16 23:38 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
sourcebuffer_properties.patch (1.20 KB, patch)
2008-10-09 15:24 UTC, Murray Cumming
committed Details | Review

Description Yuriy Syrota 2008-10-09 06:18:33 UTC
Please, wrap can-undo and can-redo properties of SourceBuffer
Comment 1 Murray Cumming 2008-10-09 15:23:15 UTC
There already are can_undo() and can_redo() methods (and there are not get_ methods for these because the properties are read-only).

However, there were no property_*() accessors, so I have added these with the attached patch (committed). Please feel free to provide a patch for any other missing property_*() accessors.
Comment 2 Murray Cumming 2008-10-09 15:24:56 UTC
Created attachment 120281 [details] [review]
sourcebuffer_properties.patch