mc/gnome/gprop.h
Miguel de Icaza 25d833d805 1998-03-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* 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.
1998-03-20 23:38:43 +00:00

61 lines
1.2 KiB
C

/* Properties dialog for the Gnome edition of the Midnight Commander
*
* Copyright (C) 1998 The Free Software Foundation
*
* Author: Federico Mena <federico@nuclecu.unam.mx>
*/
#ifndef GPROP_H
#define GPROP_H
#include <sys/stat.h>
#include <gtk/gtk.h>
#include "config.h"
/***** Filename *****/
typedef struct {
GtkWidget *top;
GtkWidget *filename;
} GpropFilename;
GpropFilename *gprop_filename_new (char *complete_filename, char *filename);
void gprop_filename_get_data (GpropFilename *gp, char **filename);
/***** Permissions *****/
typedef struct {
GtkWidget *top;
GtkWidget *mode_label;
GtkWidget *suid, *sgid, *svtx;
GtkWidget *rusr, *wusr, *xusr;
GtkWidget *rgrp, *wgrp, *xgrp;
GtkWidget *roth, *woth, *xoth;
GtkWidget *owner;
GtkWidget *group;
} GpropPerm;
GpropPerm *gprop_perm_new (umode_t umode, char *owner, char *group);
void gprop_perm_get_data (GpropPerm *gp, umode_t *umode, char **owner, char **group);
/***** General *****/
typedef struct {
GtkWidget *top;
GtkWidget *title;
GtkWidget *icon_filename;
} GpropGeneral;
GpropGeneral *gprop_general_new (char *title, char *icon_filename);
void gprop_general_get_data (GpropGeneral *gp, char **title, char **icon_filename);
#endif