GNOME Bugzilla – Bug 672326
Example extension created using gnome-shell-extension-tool fails with TypeError
Last modified: 2012-03-18 10:43:41 UTC
On Fedora 17 Alpha, I was trying to learn to create gnome-shell extension. I used command "gnome-shell-extension --create-extension". I named it like Example and it got UUID as Example@f17alpha. I enabled it using gnome-tweak-tool and check its debug log. Error said "TypeError: Main.panel._rightBox.insert_actor is nota function" Also, debug log said missing 'url' entry in metadata.json Was there any change in gnome-shell-3.3.90 version? I thought default creation of extension will work. But look like template has not changed to compatible with gnome-shell-3.3.90 version. How to fix code to make default extension work?
Created attachment 210030 [details] [review] gnome-shell-extension-tool: Fix example extension for 3.3.90 API insert_actor was replaced with the standard Clutter insert_child_at_index
Review of attachment 210030 [details] [review]: Looks good.
Attachment 210030 [details] pushed as ceb17dc - gnome-shell-extension-tool: Fix example extension for 3.3.90 API