~jibel/synaptic/bugs.290524.502582

« back to all changes in this revision

Viewing changes to gtk/rgmainwindow.cc

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-07-10 14:35:17 UTC
  • mfrom: (3.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090710143517-ku2effdqcf07t7cx
Tags: 0.62.7ubuntu1
* merged from debian
* debian/control:
  - add build-conflict against librpm-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
852
852
      std::cerr << "running update-apt-xapian-index" << std::endl;
853
853
   GPid pid;
854
854
   char *argp[] = {"/usr/bin/nice",
 
855
                   "/usr/bin/ionice","-c3",
855
856
                   "/usr/sbin/update-apt-xapian-index", 
856
 
                   "-q",
 
857
                   "--update", "-q",
857
858
                   NULL};
858
859
   if(g_spawn_async(NULL, argp, NULL, 
859
860
                    (GSpawnFlags)(G_SPAWN_DO_NOT_REAP_CHILD),
875
876
void RGMainWindow::xapianIndexUpdateFinished(GPid pid, gint status, void* data)
876
877
{
877
878
   RGMainWindow *me = (RGMainWindow *) data;
878
 
   //std::cerr << "xapianIndexUpdateFinished: " 
879
 
   //          << WEXITSTATUS(status) << std::endl;
 
879
   if(_config->FindB("Debug::Synaptic::Xapian",false))
 
880
      std::cerr << "xapianIndexUpdateFinished: "  
 
881
                << WEXITSTATUS(status) << std::endl;
880
882
#ifdef WITH_EPT
881
883
   me->_lister->openXapianIndex();
882
884
#endif