Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filename property in cluttertexture misnamed? #1

Open
bpeel opened this issue Aug 14, 2012 · 1 comment
Open

filename property in cluttertexture misnamed? #1

bpeel opened this issue Aug 14, 2012 · 1 comment
Labels

Comments

@bpeel
Copy link
Member

bpeel commented Aug 14, 2012

(issue originally reported on bugzilla.clutter-project.org by Antoine Roguez)

I don't know if this bug should be here or in json-glib, I have some problems
to track it down.
I am using JSON-Glib 0.10 (F12). In Cluttersmith, when you set the filename
property of a ClutterTexture, it is well saved in the json output file, but
when you open it again, the property is not set.
However, I tried to rename the property (eg. texture-path) in
clutter-texture.c, the property is well parsed in the json.
I guess that at some point, "filename" is considered as a keyword and is not
parsed as an actor property.

@ebassi
Copy link
Member

ebassi commented Aug 14, 2012

:filename is handled specially in ClutterTexture's implementation of the ClutterScriptable interface, to allow passing paths relative to the UI definition.

I honestly have no idea what "the property is not set" means, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants