Skip to content

Commit

Permalink
Fix Send To Pastebin
Browse files Browse the repository at this point in the history
Add detect curl binary
  • Loading branch information
eloaders committed Feb 13, 2012
1 parent 0cf58ab commit 406d359
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/i-nex/.lang/.pot
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ msgstr ""
msgid "Include unity support test"
msgstr ""

#: FReport_Gen.form:156
#: FReport_Gen.form:157
msgid "Send report to pastebin.com "
msgstr ""

#: FReport_Gen.form:168
#: FReport_Gen.form:171
msgid "Open link in default web browser"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions src/i-nex/.lang/FReport_Gen.pot
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ msgstr ""
msgid "Include unity support test"
msgstr ""

#: FReport_Gen.form:156
#: FReport_Gen.form:157
msgid "Send report to pastebin.com "
msgstr ""

#: FReport_Gen.form:168
#: FReport_Gen.form:171
msgid "Open link in default web browser"
msgstr ""

4 changes: 2 additions & 2 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ File[15]=".src/Input_Devices.module:36.27"
File[16]=".src/Reportm.module:343.34"
File[17]=".src/FReport_Gen.form"
Active=18
File[18]=".src/FReport_Gen.class:55.95"
File[18]=".src/FReport_Gen.class:9.1"
File[19]=".src/Start_App_Args.form"
File[20]=".src/Start_App_Args.class:3.25"
File[21]=".src/ChkPrm.module:7.48"
File[21]=".src/ChkPrm.module:14.3"
Count=21

[Watches]
Expand Down
5 changes: 5 additions & 0 deletions src/i-nex/.src/FReport_Gen.class
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ Public Sub Form_Open()
If unity_support_test = True Then
CheckBox10.Visible = True
Endif
If ChkPrm.ChkExec("curl") = False Then
CheckBox11.Visible = False
TextBox1.Visible = False
Button3.Visible = False
Endif
Me.Center

End
Expand Down
9 changes: 6 additions & 3 deletions src/i-nex/.src/FReport_Gen.form
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,21 @@
}
{ HBox2 HBox
Move(6,162,396,24)
{ CheckBox11 CheckBox
{ CheckBox11 CheckBox paste
Name = "CheckBox11"
Move(0,0,144,24)
AutoResize = True
Text = ("Send report to pastebin.com ")
}
{ TextBox1 TextBox
{ TextBox1 TextBox paste
Name = "TextBox1"
Move(180,0,144,24)
Expand = True
ReadOnly = True
}
}
{ Button3 Button
{ Button3 Button paste
Name = "Button3"
Move(408,162,24,24)
ToolTip = ("Open link in default web browser")
Picture = Picture["icon:/16/network"]
Expand Down

0 comments on commit 406d359

Please sign in to comment.