Execute a command from extension.
- From: xtranophilist aaa <xtranophilist gmail com>
- To: gnome-shell-list gnome org
- Subject: Execute a command from extension.
- Date: Tue, 31 May 2011 00:32:42 +0545
How do I execute a command from the extension?
I mean what instruction should I write in extension.js like to execute
a command as an icon is created.
icon.connect('button-press-event', Lang.bind(this, function () {
// What should I be writing here like to execute "firefox -no-remote
-profilemanager"
return true;
}));
Thank you in advance!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]