|
Cairo-Dock 2.4.0~1
|
Functions | |
| void | cairo_dock_remove_html_spaces (gchar *cString) |
| gchar * | cairo_dock_add_desktop_file_from_uri (const gchar *cURI, const gchar *cDockName, double fOrder, CairoDockIconGroup iGroup, GError **erreur) |
| gchar * | cairo_dock_add_desktop_file_from_type (CairoDockDesktopFileType iLauncherType, const gchar *cDockName, double fOrder, CairoDockIconGroup iGroup, GError **erreur) |
This class handles the creation and update of desktop files, which are group/key pair files used by Cairo-Dock to store information about icons : launchers, separators, sub-docks.
| void cairo_dock_remove_html_spaces | ( | gchar * | cString | ) |
Replace the %20 by normal spaces into the string. The string is directly modified.
| cString | the string (it can't be a constant string) |
| gchar* cairo_dock_add_desktop_file_from_uri | ( | const gchar * | cURI, |
| const gchar * | cDockName, | ||
| double | fOrder, | ||
| CairoDockIconGroup | iGroup, | ||
| GError ** | erreur | ||
| ) |
Create, add and fill a desktop file for a given URI. The URI can be either a common desktop file, a script, or a file/folder/mounting point.
| cURI | URI of a file defining the launcher. |
| cDockName | name of the dock the separator will be added. |
| fOrder | order of the icon inside the dock. |
| iGroup | group of the icon. |
| erreur | an error filled if something went wrong. |
| gchar* cairo_dock_add_desktop_file_from_type | ( | CairoDockDesktopFileType | iLauncherType, |
| const gchar * | cDockName, | ||
| double | fOrder, | ||
| CairoDockIconGroup | iGroup, | ||
| GError ** | erreur | ||
| ) |
Create and add an empty default desktop file for a given type.
| iLauncherType | type of the icon it will represent : launcher, file, container icon, separator. |
| cDockName | name of the dock the separator will be added. |
| fOrder | order of the icon inside the dock. |
| iGroup | group of the icon. |
| erreur | an error filled if something went wrong. |