gnome-shell-extension-tool: Fix example extension for 3.3.90 API

insert_actor was replaced with the standard Clutter insert_child_at_index

https://bugzilla.gnome.org/show_bug.cgi?id=672326
This commit is contained in:
Jasper St. Pierre 2012-03-18 02:02:47 -04:00
parent 46c0360b03
commit ceb17dc713

View File

@ -68,11 +68,11 @@ function init() {
}
function enable() {
Main.panel._rightBox.insert_actor(button, 0);
Main.panel._rightBox.insert_child_at_index(button, 0);
}
function disable() {
Main.panel._rightBox.remove_actor(button);
Main.panel._rightBox.remove_child(button);
}
""",