[gnome-shell] gnome-shell-extension-tool: Fix example extension for 3.3.90 API
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] gnome-shell-extension-tool: Fix example extension for 3.3.90 API
- Date: Sun, 18 Mar 2012 10:43:34 +0000 (UTC)
commit ceb17dc7135d2271c327454744a268a7065d959e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Mar 18 02:02:47 2012 -0400
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
src/gnome-shell-extension-tool.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-shell-extension-tool.in b/src/gnome-shell-extension-tool.in
index ea6a6b6..222bcb3 100644
--- a/src/gnome-shell-extension-tool.in
+++ b/src/gnome-shell-extension-tool.in
@@ -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);
}
""",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]