~ubuntu-branches/ubuntu/vivid/guayadeque/vivid

« back to all changes in this revision

Viewing changes to src/.svn/text-base/NewChannel.cpp.svn-base

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2011-02-25 11:59:10 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110225115910-13phl46pz0rgqg0a
Tags: 0.2.9-1
* Imported Upstream version 0.2.9
* Drop 02-google_cover_search_engine_crash.patch patch, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        DirectoryTopSizer->Add( m_DirectoryInfoStaticText, 1, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
108
108
 
109
109
        m_FilterDirectory = new wxBitmapButton( this, wxID_ANY, guImage( guIMAGE_INDEX_tiny_search ), wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
 
110
        m_FilterDirectory->SetToolTip( _( "Search in the podcast directoy" ) );
110
111
        DirectoryTopSizer->Add( m_FilterDirectory, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
111
112
 
112
113
        m_DirectoryReload = new wxBitmapButton( this, wxID_ANY, guImage( guIMAGE_INDEX_tiny_reload ), wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
 
114
        m_DirectoryReload->SetToolTip( _( "Refresh the podcast directory list" ) );
113
115
        DirectoryTopSizer->Add( m_DirectoryReload, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
114
116
 
115
117
        DirectoryStaticSizer->Add( DirectoryTopSizer, 0, wxEXPAND, 5 );
276
278
    guConfig * Config = ( guConfig * ) guConfig::Get();
277
279
 
278
280
    wxString PodcastsPath = Config->ReadStr( wxT( "Path" ),
279
 
                                wxGetHomeDir() + wxT( ".guayadeque/Podcasts" ), wxT( "Podcasts" ) );
 
281
                                wxGetHomeDir() + wxT( "/.guayadeque/Podcasts" ), wxT( "Podcasts" ) );
280
282
 
281
283
    wxSetCursor( * wxHOURGLASS_CURSOR );
282
284
    wxTheApp->Yield();
380
382
    guConfig * Config = ( guConfig * ) guConfig::Get();
381
383
 
382
384
    wxString PodcastsPath = Config->ReadStr( wxT( "Path" ),
383
 
                                wxGetHomeDir() + wxT( ".guayadeque/Podcasts" ), wxT( "Podcasts" ) );
 
385
                                wxGetHomeDir() + wxT( "/.guayadeque/Podcasts" ), wxT( "Podcasts" ) );
384
386
 
385
387
    wxRemoveFile( PodcastsPath + wxT( "/Podcast.Directory.xml" ) );
386
388