@@ -102,9 +102,9 @@ func getConfigs() []ConfigIni {
102
102
func setupSysTrayReal () {
103
103
104
104
systray .SetIcon (icon .GetIcon ())
105
- mUrl := systray .AddMenuItem ("Go to Arduino Create " , "Arduino Create" )
106
- mDebug := systray .AddMenuItem ("Open debug console" , "Debug console" )
107
- menuVer := systray .AddMenuItem ("Agent version " + version + "-" + git_revision , "" )
105
+ mUrl := systray .AddMenuItem ("Open Robotwala " , "Arduino Create" )
106
+ // mDebug := systray.AddMenuItem("Open debug console", "Debug console")
107
+ // menuVer := systray.AddMenuItem("Agent version "+version+"-"+git_revision, "")
108
108
mPause := systray .AddMenuItem ("Pause Plugin" , "" )
109
109
var mConfigCheckbox []* systray.MenuItem
110
110
@@ -124,7 +124,7 @@ func setupSysTrayReal() {
124
124
}
125
125
//mQuit := systray.AddMenuItem("Quit Plugin", "")
126
126
127
- menuVer .Disable ()
127
+ // menuVer.Disable()
128
128
129
129
for i , _ := range mConfigCheckbox {
130
130
go func (v int ) {
@@ -154,19 +154,19 @@ func setupSysTrayReal() {
154
154
// exit()
155
155
// }()
156
156
157
- go func () {
158
- for {
159
- <- mDebug .ClickedCh
160
- logAction ("log on" )
161
- open .Start ("http://127.0.0.1" + port )
162
- }
163
- }()
157
+ // go func() {
158
+ // for {
159
+ // <-mDebug.ClickedCh
160
+ // logAction("log on")
161
+ // open.Start("http://127.0.0.1" + port)
162
+ // }
163
+ // }()
164
164
165
165
// We can manipulate the systray in other goroutines
166
166
go func () {
167
167
for {
168
168
<- mUrl .ClickedCh
169
- open .Start ("http://create.arduino.cc " )
169
+ open .Start ("http://app.robotwala.org " )
170
170
}
171
171
}()
172
172
}
0 commit comments