mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
97c053032e
* gpopup2.c (handle_empty_trash): Finished trash can. Now I just need an icon. 2000-06-15 Jonathan Blandford <jrb@redhat.com> * gpopup2.c: Add "Move to Trash" as an option to the popup menu. Also, "Empty Trash" as appropriate. * gscreen.c (file_list_popup): Removed New File command. It wasn't working, and didn't do anything useful, anyways. Added "Empty Trash" to the options for the menu.
49 lines
2.0 KiB
C
49 lines
2.0 KiB
C
#ifndef __GCMD_H
|
|
#define __GCMD_H
|
|
|
|
#include "panel.h"
|
|
#include "dir.h" /* sortfn */
|
|
|
|
void gnome_listing_cmd (GtkWidget *widget, WPanel *panel);
|
|
void gnome_compare_panels (void);
|
|
void gnome_open_terminal (void);
|
|
void gnome_open_terminal_with_cmd (const char *command);
|
|
void gnome_about_cmd (void);
|
|
void gnome_open_panel (GtkWidget *widget, WPanel *panel);
|
|
void gnome_close_panel (GtkWidget *widget, WPanel *panel);
|
|
|
|
void gnome_icon_view_cmd (GtkWidget *widget, WPanel *panel);
|
|
void gnome_brief_view_cmd (GtkWidget *widget, WPanel *panel);
|
|
void gnome_detailed_view_cmd (GtkWidget *widget, WPanel *panel);
|
|
void gnome_custom_view_cmd (GtkWidget *widget, WPanel *panel);
|
|
void gnome_newfile_cmd (GtkWidget *widget, WPanel *panel);
|
|
|
|
typedef enum {
|
|
SORT_NAME,
|
|
SORT_EXTENSION,
|
|
SORT_ACCESS,
|
|
SORT_MODIFY,
|
|
SORT_CHANGE,
|
|
SORT_SIZE
|
|
} SortType; /* Used for arrange icons */
|
|
|
|
sortfn *sort_get_func_from_type (SortType type);
|
|
|
|
void gnome_sort_cmd (GtkWidget *widget, WPanel *panel);
|
|
void gnome_empty_trash (GtkWidget *widget, WPanel *panel);
|
|
void gnome_select_all_cmd (GtkWidget *widget, WPanel *panel);
|
|
void gnome_start_search (GtkWidget *widget, WPanel *panel);
|
|
void gnome_filter_cmd (GtkWidget *widget, WPanel *panel);
|
|
void gnome_external_panelize (GtkWidget *widget, WPanel *panel);
|
|
void gnome_open_files (GtkWidget *widget, WPanel *panel);
|
|
void gnome_run_new (GtkWidget *widget, GnomeDesktopEntry *gde);
|
|
void gnome_mkdir_cmd (GtkWidget *widget, WPanel *panel);
|
|
void gnome_new_launcher (GtkWidget *widget, WPanel *panel);
|
|
void gnome_reverse_selection_cmd_panel (GtkWidget *widget, WPanel *panel);
|
|
void gnome_select (GtkWidget *widget, WPanel *panel);
|
|
void set_cursor_normal (WPanel *panel);
|
|
void set_cursor_busy (WPanel *panel);
|
|
void gnome_new_link (GtkWidget *widget, WPanel *panel);
|
|
|
|
#endif /* __GCMD_H */
|