mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
af568f447e
* gdesktop-prefs.[ch]: New files that handle the desktop preferences page. Now we have a nice way to configure the position of desktop icons. * gprefs.c (create_prop_box): Use desktop_prefs_new() to create the desktop preferences page. (apply_page_changes): Do not update the desktop here. (apply_callback): Take the desktop page into account. * gdesktop.c (desktop_use_shaped_text): Renamed from desktop_use_transparent_text. * Makefile.in: Added gdesktop-prefs.[ch] to the list of sources.
27 lines
603 B
C
27 lines
603 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"
|
|
|
|
/* Standard icon sizes */
|
|
#define ICON_IMAGE_WIDTH 48
|
|
#define ICON_IMAGE_HEIGHT 48
|
|
|
|
void gicon_init (void);
|
|
|
|
GdkImlibImage *gicon_get_icon_for_file (char *directory, file_entry *fe, gboolean do_quick);
|
|
const char *gicon_get_filename_for_icon (GdkImlibImage *image);
|
|
|
|
|
|
#endif
|