~ubuntu-branches/ubuntu/jaunty/beagle/jaunty-security

« back to all changes in this revision

Viewing changes to Util/Galago.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-05-04 00:31:32 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20080504003132-2tkm5o8moo5952ri
Tags: 0.3.7-2ubuntu1
 * Merge from Debian unstable. (LP: #225746) Remaining Ubuntu changes:
  - debian/control:
    + Rename ice{weasel,dove}-beagle to {mozilla,thunderbird}-beagle and
      and update the dependencies accordingly.
    + Change Maintainer to Ubuntu Mono Team.
  - debian/rules:
    + Install the mozilla-beagle and thunderbird-beagle extensions.
  - ice{dove,weasel}.dirs:
    + Renamed to {mozilla,thunderbird}-beagle.dirs.
    + Fixed paths to point to usr/lib/{firefox,thunderbird}

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
                        Idle = 3,
42
42
                        NoStatus = -1,
43
43
                };
44
 
                
 
44
 
45
45
                public static Status GetPresence (string service_id, string username)
46
46
                {
47
 
                        if (! Galago.Global.Init ("beagle-galago-presence"))
 
47
                        try {
 
48
                                if (! Galago.Global.Init ("beagle-galago-presence"))
 
49
                                        return Status.NoStatus;
 
50
                        } catch (DllNotFoundException) {
 
51
                                // Catch Debian Galago packaging bug
48
52
                                return Status.NoStatus;
 
53
                        }
 
54
 
49
55
                        service = Galago.Global.GetService (service_id, Galago.Origin.Remote, true);
50
56
                        if (service == null)
51
57
                                return Status.NoStatus;