GNOME Bugzilla – Bug 725147
lua-factory: Support embedded resources
Last modified: 2014-12-05 09:33:03 UTC
This would be useful to embed icons into the source.
Created attachment 291933 [details] [review] lua-factory: Load resources when available for each script When loading a script called "XXX.lua", we will try to load an "XXX.gresource" file from the same directory. This allows lua sources to have icons, addressed through resource:///
Review of attachment 291933 [details] [review]: ack ::: src/lua-factory/grl-lua-factory.c @@ +206,3 @@ + resource_path = g_string_free (str, FALSE); + + resource = g_resource_load (resource_path, NULL); Worth checking for error here? (debug purposes)
Attachment 291933 [details] pushed as 440a92c - lua-factory: Load resources when available for each script