GNOME Bugzilla – Bug 596102
Add shellDBus.js which implements Eval(str) and an Overview property
Last modified: 2009-09-23 20:58:40 UTC
For various reasons I'd like a method which allows evaluation; say log in from another machine and run "gnome-shell --repl" or something. Also as a possible solution for the screensaver X grab issue, add a (read/write) property "Overview".
Created attachment 143820 [details] [review] Add shellDBus.js which implements Eval(str) and an Overview property
Review of attachment 143820 [details] [review]: Basically looks fine, few comments. ::: js/ui/main.js @@ +79,3 @@ wm = new WindowManager.WindowManager(); + ShellDBus.createGnomeShellService(); Isn't our general pattern that singletons are static variables in main.js? ::: /dev/null @@ +12,3 @@ + methods: [{ name: "Eval", + inSignature: "s", + outSignature: "bs" Probably good to have some sort of rough docs for the interface somewhere in this file @@ +16,3 @@ + ], + signals: [], + properties: [{ name: "Overview", Should be OverviewActive @@ +64,3 @@ + "org.gnome.Shell", + "/org/gnome/Shell"); + proxy.IntrospectRemote(function (result, excp) { log("INTROSPECT: " + result + " " + excp); }); Is this idle some sort of debug leftover? If not, it sure needs a comment.