mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-24 05:16:51 +03:00
25d833d805
* gdesktop.c (icon_properties): * gpageprop.c (item_properties): Modified to accept dentry title changes as well. (item_properties): Fixed base and fname confusion in call to concat_dir_and_file(). * gprop.c (gprop_general_new): (gprop_general_get_data): Renamed to general from icon. The general Gprop now lets you enter the title and icon filename for a dentry.
35 lines
630 B
C
35 lines
630 B
C
/* GNU Midnight Commander -- GNOME edition
|
|
*
|
|
* Properties dialog for files and desktop icons.
|
|
*
|
|
* Copyright (C) 1997 The Free Software Foundation
|
|
*
|
|
* Authors: Miguel de Icaza
|
|
* Federico Mena
|
|
*/
|
|
|
|
#ifndef _GPAGEPROP_H
|
|
#define _GPAGEPROP_H
|
|
|
|
|
|
#include <gnome.h>
|
|
#include "gdesktop.h"
|
|
|
|
|
|
typedef enum {
|
|
GPROP_FILENAME = 1 << 0,
|
|
GPROP_MODE = 1 << 1,
|
|
GPROP_UID = 1 << 2,
|
|
GPROP_GID = 1 << 3,
|
|
GPROP_ICON = 1 << 4,
|
|
GPROP_TITLE = 1 << 5
|
|
} GpropChanged;
|
|
|
|
/* Returns a mask of the above specifying what changed.
|
|
*/
|
|
|
|
int item_properties (GtkWidget *parent, char *fname, desktop_icon_t *di);
|
|
|
|
|
|
#endif
|