Method

MateDesktopDesktopItemexists

Declaration [src]

gboolean
mate_desktop_item_exists (
  const MateDesktopItem* item
)

Description [src]

Attempt to figure out if the program that can be executed by this item actually exists. First it tries the TryExec attribute to see if that contains a program that is in the path. Then if there is no such attribute, it tries the first word of the Exec attribute.

Return value

Type: gboolean

A boolean, TRUE if it exists, FALSE otherwise.