1
1

1998-11-11 Federico Mena Quintero <federico@nuclecu.unam.mx>

* panel.h (WPanel): Instead of the "#ifdef GNOME" mess in the
	WPanel structure, we now have a single opaque pointer to UI data,
	called port_ui.  GUI stuff specific to each port should be here.
	This is a work in progress.
Этот коммит содержится в:
Miguel de Icaza 1998-11-12 02:31:53 +00:00
родитель 32b49aba7d
Коммит 9d4d510214
3 изменённых файлов: 47 добавлений и 1 удалений

37
gnome/gmc-window.h Обычный файл
Просмотреть файл

@ -0,0 +1,37 @@
/* Toplevel file window for the Midnight Commander
*
* Copyright (C) 1998 The Free Software Foundation
*
* Author: Federico Mena <federico@nuclecu.unam.mx>
*/
#ifndef GMC_WINDOW_H
#define GMC_WINDOW_H
#include <libgnome/gnome-defs.h>
#include <libgnomeui/gnome-app.h>
BEGIN_GNOME_DECLS
typedef struct _GmcWindow Gmcwindow;
typedef struct _GmcWindowClass GmcWindowClass;
struct _GmcWindow {
GnomeApp app;
GtkWidget *paned; /* Paned container to split into tree/list views */
GtkWidget *tree; /* Tree view */
GtkWidget *notebook; /* Notebook to switch between list and icon views */
GtkWidget *clist; /* List view (column list) */
GtkWidget *ilist; /* Icon view (icon list) */
};
struct _GmcWindowClass {
GnomeAppClass parent_class;
};
END_GNOME_DECLS
#endif

Просмотреть файл

@ -1,3 +1,10 @@
1998-11-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* panel.h (WPanel): Instead of the "#ifdef GNOME" mess in the
WPanel structure, we now have a single opaque pointer to UI data,
called port_ui. GUI stuff specific to each port should be here.
This is a work in progress.
1998-11-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* setup.c: Removed the icons_snap_to_grid and

Просмотреть файл

@ -113,7 +113,9 @@ typedef struct {
int has_dir_sizes; /* Set if directories have sizes = to du -s */
#ifdef HAVE_GNOME
void *port_ui; /* UI stuff specific to each GUI port */
#Ifdef HAVE_GNOME
/* These are standard GtkWidgets */
void *xwindow; /* The toplevel window */