~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/addins/MacPlatform/Updater/UpdateService.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-09-10 16:54:48 UTC
  • mfrom: (19.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100910165448-0rybfk25zd4o9431
Tags: 2.4+dfsg-2
* debian/patches/inject_Mono.Debugger.Soft_source.patch,
  debian/patches/use_system_Mono.Debugger.Soft.patch,
  debian/control:
  + Build against system Soft Debugger, since we now have a new
    enough Mono to match MonoDevelop's required API

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
// THE SOFTWARE.
26
26
 
27
27
using System;
28
 
using System.Linq;
 
28
using System.Collections.Generic;
29
29
using System.IO;
 
30
using System.Net;
30
31
using System.Text;
 
32
using System.Linq;
31
33
using MonoDevelop.Core;
32
 
using System.Net;
33
 
using MonoDevelop.Core.Gui;
34
 
using System.Collections.Generic;
 
34
using MonoDevelop.Ide;
35
35
 
36
36
namespace MonoDevelop.Platform.Updater
37
37
{
132
132
                                if (visibleDialog == null) {
133
133
                                        visibleDialog = new UpdateDialog ();
134
134
                                        MessageService.ShowCustomDialog (visibleDialog);
135
 
                                        visibleDialog.Destroy ();
136
135
                                        visibleDialog = null;
137
136
                                } else {
138
137
                                        visibleDialog.GdkWindow.Focus (0);
171
170
                                query.Append (level.ToString ().ToLower ());
172
171
                        }
173
172
                        
174
 
                        if (Directory.Exists ("/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk")) {
175
 
                                query.Append ("&env=iphsdk3.2");
 
173
                        if (Directory.Exists ("/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk")) {
 
174
                                query.Append ("&env=iphsdk4.0");
176
175
                        }
177
176
                        
178
177
                        var request = (HttpWebRequest) WebRequest.Create (query.ToString ());