mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
c52fde6398
* gicon.c: Lots of changes to support the little symlink/stalled icons that get overlaid on the normal file icons. We now have the concept of an icon set, which is a cache of normal icons plus their overlaid versions. * gnome-file-property-dialog.c (apply_metadata_change): Use gicon_get_filename_for_icon(). (generate_icon_sel): Likewise. * gnome-file-property-dialog.c (create_general_properties): Use buffers of size MC_MAXPATHLEN. (init_metadata): Likewise.
24 lines
514 B
C
24 lines
514 B
C
/* Icon loading support for the Midnight Commander
|
|
*
|
|
* Copyright (C) 1998-1999 The Free Software Foundation
|
|
*
|
|
* Authors: Miguel de Icaza <miguel@nuclecu.unam.mx>
|
|
* Federico Mena <federico@nuclecu.unam.mx>
|
|
*/
|
|
|
|
#ifndef GNOME_GICON_H
|
|
#define GNOME_GICON_H
|
|
|
|
#include <glib.h>
|
|
#include <gdk_imlib.h>
|
|
#include "dir.h"
|
|
|
|
|
|
void gicon_init (void);
|
|
|
|
GdkImlibImage *gicon_get_icon_for_file (char *directory, file_entry *fe, gboolean do_quick);
|
|
char *gicon_get_filename_for_icon (GdkImlibImage *image);
|
|
|
|
|
|
#endif
|