mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
c7a8f4846e
* gscreen.c (file_list_popup_items): Use "New Directory", not "New Folder", to be consistent with the desktop and File menus. Thanks to Kevin Fox for pointing this out. (panel_icon_list_drag_data_received): Update the panels properly. (panel_clist_drag_data_received): Likewise. (panel_tree_drag_data_received): Likewise. * gcmd.c (gnome_close_panel): Doh. Do not access g_free()d memory. * glayout.c (copy_uiinfo_widgets): Return the copied array as a return value, not in an argument. * gcmd.c (set_view_type): Added a sanity check.
27 lines
535 B
C
27 lines
535 B
C
#ifndef __GSCREEN_H
|
|
#define __GSCREEN_H
|
|
|
|
|
|
/* GnomeUIInfo information for view types */
|
|
extern GnomeUIInfo panel_view_menu_uiinfo[];
|
|
extern GnomeUIInfo panel_view_toolbar_uiinfo[];
|
|
|
|
WPanel *create_container (Dlg_head *h, char *str, char *geometry);
|
|
|
|
gpointer *copy_uiinfo_widgets (GnomeUIInfo *uiinfo);
|
|
|
|
typedef struct {
|
|
int splitted;
|
|
|
|
WPanel *panel;
|
|
|
|
enum view_modes other_display;
|
|
Widget *other;
|
|
} PanelContainer;
|
|
|
|
extern PanelContainer *current_panel_ptr, *other_panel_ptr;
|
|
extern GList *containers;
|
|
|
|
|
|
#endif /* __GSCREEN_H */
|