Changeset 1617

Show
Ignore:
Timestamp:
01/19/07 21:19:23 (23 months ago)
Author:
mjahn
Message:

change not existing error code OSYNC_ERROR_APP_RUNNING into OSYNC_ERROR_NO_CONNECTION

Location:
plugins/kdepim/src
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • plugins/kdepim/src/kaddrbook.cpp

    r1616 r1617  
    7373        //is running 
    7474        if (dcopc->isApplicationRegistered("kaddressbook")) { 
    75                 osync_context_report_error(ctx, OSYNC_ERROR_APP_RUNNING, "KAddressBook is running. Please finish it"); 
     75                osync_context_report_error(ctx, OSYNC_ERROR_NO_CONNECTION, "KAddressBook is running. Please finish it"); 
    7676                osync_trace(TRACE_EXIT_ERROR, "%s: KAddressBook is running", __func__); 
    7777                return false; 
  • plugins/kdepim/src/kcal.cpp

    r1616 r1617  
    5050        //is running 
    5151        if (dcopc->isApplicationRegistered("korganizer")) { 
    52                 osync_context_report_error(ctx, OSYNC_ERROR_APP_RUNNING, "KOrganizer is running. Please finish it"); 
     52                osync_context_report_error(ctx, OSYNC_ERROR_NO_CONNECTION, "KOrganizer is running. Please finish it"); 
    5353                osync_trace(TRACE_EXIT_ERROR, "%s: KOrganizer is running", __func__); 
    5454                return false; 
  • plugins/kdepim/src/knotes.cpp

    r1616 r1617  
    6363        //is running 
    6464        if (kn_dcop->isApplicationRegistered("kontact")) { 
    65                 osync_context_report_error(ctx, OSYNC_ERROR_APP_RUNNING, "Kontact is running. Please finish it"); 
     65                osync_context_report_error(ctx, OSYNC_ERROR_NO_CONNECTION, "Kontact is running. Please finish it"); 
    6666                osync_trace(TRACE_EXIT_ERROR, "%s: Kontact is running", __func__); 
    6767                return false;