~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to System-Monitor/src/applet-top.c

  • Committer: Fabounet (Fabrice Rey) - http://cairo-dock.org
  • Date: 2010-01-06 00:43:45 UTC
  • Revision ID: fabounet_fabrice_rey_-_httpcairo-dock.org-20100106004345-2q0knfv2i8eyk3xn
added some debug ENTER/LEAVE + Network-Monitor : few minor changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
static gboolean _cd_sysmonitor_update_top_list (CairoDockModuleInstance *myApplet)
234
234
{
235
235
        // On ecrit les processus dans l'ordre.
 
236
        CD_APPLET_ENTER;
236
237
        CDProcess *pProcess;
237
238
        int i, iNameLength=0;
238
239
        for (i = 0; i < myConfig.iNbDisplayedProcesses; i ++)
290
291
        if (i == 0)  // liste vide.
291
292
        {
292
293
                g_string_free (sTopInfo, TRUE);
293
 
                return TRUE;
 
294
                CD_APPLET_LEAVE (TRUE);
 
295
                //return TRUE;
294
296
        }
295
297
        sTopInfo->str[sTopInfo->len-1] = '\0';
296
298
        
306
308
                cairo_dock_set_dialog_message (myData.pTopDialog, cTitle);
307
309
                g_free (cTitle);
308
310
        }
309
 
        return TRUE;
 
311
        CD_APPLET_LEAVE (TRUE);
 
312
        //return TRUE;
310
313
}
311
314
 
312
315