mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
e82ec47dd3
* gdesktop.c: Put in a bunch of stubs for the functions in filegui.h. These will be removed as the dialogs get custom-written for Gnome. * gmetadata.[ch]: Changed the function names to "gmeta_*". * gscreen.c (CLIST_FROM_SW): Use scrolled_window->child, as viewport is obsolete. 1998-11-23 Federico Mena Quintero <federico@nuclecu.unam.mx> * dlg.c (dlg_try_hotkey): Removed unused declaration of input_event. (dlg_key_event): Return 1 if handled the tab key. * filegui.h: Added prototypes for file_progress_show_{source,target,deleting}().
25 lines
716 B
C
25 lines
716 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 icon filename for the specified file. You must free the name. */
|
|
char *gmeta_get_icon_for_file (char *filename);
|
|
|
|
/* 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);
|
|
|
|
|
|
#endif
|