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:
parent
46c0360b03
commit
ceb17dc713
@ -68,11 +68,11 @@ function init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function enable() {
|
function enable() {
|
||||||
Main.panel._rightBox.insert_actor(button, 0);
|
Main.panel._rightBox.insert_child_at_index(button, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
function disable() {
|
function disable() {
|
||||||
Main.panel._rightBox.remove_actor(button);
|
Main.panel._rightBox.remove_child(button);
|
||||||
}
|
}
|
||||||
""",
|
""",
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user