Preferences/ProgramsDialog.py

changeset 5968
c5112b5cb7a9
parent 5878
74d02cd37185
child 5970
411f7ba577d5
equal deleted inserted replaced
5967:da72832f7c22 5968:c5112b5cb7a9
195 self.__createProgramEntry( 195 self.__createProgramEntry(
196 self.tr("Resource Compiler (Ruby, Qt4)"), 196 self.tr("Resource Compiler (Ruby, Qt4)"),
197 Utilities.isWindowsPlatform() and "rbrcc.exe" or "rbrcc", 197 Utilities.isWindowsPlatform() and "rbrcc.exe" or "rbrcc",
198 '-version', 'Ruby Resource Compiler', -1) 198 '-version', 'Ruby Resource Compiler', -1)
199 199
200 # 5. do the CORBA programs 200 # 5. do the CORBA and Protobuf programs
201 # 5a. omniORB 201 # 5a. omniORB
202 exe = Preferences.getCorba("omniidl") 202 exe = Preferences.getCorba("omniidl")
203 if not exe:
204 exe = "omniidl"
203 if Utilities.isWindowsPlatform(): 205 if Utilities.isWindowsPlatform():
204 exe += ".exe" 206 exe += ".exe"
205 self.__createProgramEntry( 207 self.__createProgramEntry(
206 self.tr("CORBA IDL Compiler"), exe, '-V', 'omniidl', -1) 208 self.tr("CORBA IDL Compiler"), exe, '-V', 'omniidl', -1)
209 # 5b. protobuf
210 exe = Preferences.getProtobuf("protoc")
211 if not exe:
212 exe = "protoc"
213 if Utilities.isWindowsPlatform():
214 exe += ".exe"
215 self.__createProgramEntry(
216 self.tr("Protobuf Compiler"), exe, '--version', 'libprotoc', -1)
207 217
208 # 6. do the spell checking entry 218 # 6. do the spell checking entry
209 try: 219 try:
210 import enchant 220 import enchant
211 try: 221 try:

eric ide

mercurial