mc/gnome/gmetadata.h
Miguel de Icaza 8544e153ba 1999-01-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (select_range): Fixed selection of ranges where the
	starting and ending icons are in the same vertical or horizontal
	slot.
	(reload_desktop_icons): Fixed incorrect usage of
	g_list_remove_link().  Also, moved the functionality from the old
	load_desktop_icons() here.  Now all icons are always loaded
	efficiently, and there is no need for the "incremental" flag.
	(desktop_icon_info_delete): Delete the icon position information.

	* gmetadata.c (gmeta_del_icon_pos): New public function to delete
	the icon position information from a file.
1999-01-02 18:41:59 +00:00

25 lines
696 B
C

/* Convenience functions for metadata handling in the MIdnight Commander
*
* Copyright (C) 1998 The Free Software Foundation
*
* Author: Federico Mena <federico@nuclecu.unam.mx>
*/
#ifndef GMETADATA_H
#define GMETADATA_H
/* Returns the coordinates of the icon corresponding to the specified file. If no position
* has been set, returns FALSE. Else it returns TRUE and sets the *x and *y values.
*/
int gmeta_get_icon_pos (char *filename, int *x, int *y);
/* Saves the icon position for the specified file */
void gmeta_set_icon_pos (char *filename, int x, int y);
/* Deletes the icon position information for the specified file */
void gmeta_del_icon_pos (char *filename);
#endif