does not handle enum and flag properties
Bug #1193342 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopilot-gtk |
Fix Released
|
Low
|
Martin Pitt | ||
autopilot-gtk (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
While writing tests for autopilot-gtk, I noticed that GtkButton does not make the "relief" property accessible. Presumably that's because it's an enum type, but it would be nice to either match their values to ints (or even strings, if we can find them out).
Related branches
lp:~pitti/autopilot-gtk/enum-flags-properties
- Thomi Richards (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 174 lines (+86/-50)2 files modifiedlib/GtkNode.cpp (+71/-45)
tests/autopilot/tests/test_properties.py (+15/-5)
Changed in autopilot-gtk: | |
status: | New → Triaged |
importance: | Undecided → Low |
summary: |
- does not handle enum properties + does not handle enum and flag properties |
tags: | added: patch |
Changed in autopilot-gtk: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This adds support for enum properties, which are converted to strings. Attaching as a patch now, I'll add a proper MP once https:/ /code.launchpad .net/~pitti/ autopilot- gtk/add- tests/+ merge/171036 gets merged.