~ubuntu-branches/debian/sid/banshee-community-extensions/sid

« back to all changes in this revision

Viewing changes to src/Telepathy/Banshee.Telepathy/Banshee.Telepathy.Data/ContactSource.cs

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2012-04-07 23:29:55 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20120407232955-hc1ej3txxmrl1gdp
Tags: 2.4.0-1
* [4da6afd] Imported Upstream version 2.4.0:
  - New extensions since 2.2.0:
    + FolderSync: Copy and synchronize tracks from playlists into specified
      folders
  - Enhancements since 2.2.0:
    + AlbumArtWriter: Allow forcing a copy of the album art into the album
      folders
    + AlbumArtWriter: Add configuration of the name and the type of the image
      file
    + DuplicateSongDetector: Use a more aggressive algorithm for detecting
      duplicates
  - Notable bugs fixed since 2.2.0:
    + DuplicateSongDetector: Fix bug causing the window to be blank
    + Karaoke: Don't change the visual style of the lyrics
    + Karaoke: Disable keybindings in the context pane
    + LiveRadio: Fix crash when updating the genre list
    + LiveRadio: Disable non-functional plugins: shoutcast, magnatune,
      realradios
    + LiveRadio: Fix crash when live365 session stream cannot be retrieved
    + LiveRadio: Fix crash when clicking multiple genres quickly (bgo#662794)
    + Lyrics: Use HTTP proxy management provided by Banshee (bgo#664710)
    + Telepathy: Fix dllmap for cross-architecture support
* [45db91b] Drop patches.
   - 0001-LiveRadio….patch: Applied upstream
   - fsck-intltool.patch: No longer needed
* [4e33173] Override DMCS instead of MCS
* [7e2960a] Add foldersync extension
* [d5287de] Update d/copyright
* [11dcf27] Update banshee build-dep version
* [9c06b83] Bump Standards-Version (3.9.2 → 3.9.3)

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
            get { return tmp_download_path; }
71
71
        }
72
72
 
73
 
        private HyenaSqliteCommand purge_source_command = new HyenaSqliteCommand (@"
74
 
            DELETE FROM CorePrimarySources WHERE PrimarySourceId = ?
75
 
        ");
76
 
 
77
73
                private SourceMessage response_message;
78
74
                private bool getting_response = false;
79
75
                
82
78
                                                                      contact != null ? contact.Name : String.Empty,
83
79
                                                                      contact != null ? contact.Status.ToString () : String.Empty),
84
80
                                                       contact !=null ? contact.ToString () : String.Empty,
85
 
                                                       300)
 
81
                                                       300, true)
86
82
        {
87
83
            Contact = contact;
88
84
            Contact.ContactUpdated += OnContactUpdated;
187
183
            get { return can_activate; }
188
184
        }
189
185
 
190
 
        private bool is_temporary = true;
191
 
        public bool IsTemporary {
192
 
            get { return is_temporary; }
193
 
        }
194
 
 
195
186
        public bool IsDownloadingAllowed {
196
187
            get {
197
188
                                if (tube_manager != null) {
208
199
            ContactSourceInitialize ();
209
200
        }
210
201
 
211
 
        private void PurgeSelf ()
212
 
        {
213
 
            ServiceManager.DbConnection.Execute (purge_source_command, DbId);
214
 
        }
215
 
 
216
202
        public void CleanUpData ()
217
203
        {
218
204
            PurgeTracks ();
238
224
            //UnregisterHandlers ();
239
225
            CleanUpData ();
240
226
 
241
 
            if (is_temporary) {
242
 
                PurgeSelf ();
243
 
            }
244
 
 
245
227
            base.Dispose ();
246
228
        }
247
229