353
353
CDStatusNotifierItem *cd_satus_notifier_create_item (const gchar *cService, const gchar *cObjectPath)
355
355
g_return_val_if_fail (cService != NULL, NULL);
361
362
// special case for Ubuntu indicators: we don't know their object path.
362
363
if (cObjectPath != NULL && strncmp (cObjectPath, CD_INDICATOR_APPLICATION_ITEM_OBJ, strlen (CD_INDICATOR_APPLICATION_ITEM_OBJ)) == 0)
364
366
gchar *str = strrchr (cObjectPath, '/');
370
372
cObjectPath = CD_STATUS_NOTIFIER_ITEM_OBJ;
373
377
//\_________________ get the properties of the item.
374
378
DBusGProxy *pProxyItemProp = cairo_dock_create_new_session_proxy (