1998-03-13 08:20:55 +03:00
|
|
|
#ifndef __GCMD_H
|
|
|
|
#define __GCMD_H
|
|
|
|
|
1999-08-09 07:41:39 +04:00
|
|
|
#include "panel.h"
|
|
|
|
#include "dir.h" /* sortfn */
|
|
|
|
|
1999-02-16 00:19:03 +03:00
|
|
|
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);
|
1999-03-12 01:17:36 +03:00
|
|
|
|
1999-02-16 00:19:03 +03:00
|
|
|
void gnome_icon_view_cmd (GtkWidget *widget, WPanel *panel);
|
1999-03-12 01:17:36 +03:00
|
|
|
void gnome_brief_view_cmd (GtkWidget *widget, WPanel *panel);
|
|
|
|
void gnome_detailed_view_cmd (GtkWidget *widget, WPanel *panel);
|
1999-02-16 00:19:03 +03:00
|
|
|
void gnome_custom_view_cmd (GtkWidget *widget, WPanel *panel);
|
1999-09-02 22:31:17 +04:00
|
|
|
void gnome_newfile_cmd (GtkWidget *widget, WPanel *panel);
|
1999-03-12 01:17:36 +03:00
|
|
|
|
1999-08-09 07:41:39 +04:00
|
|
|
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);
|
|
|
|
|
1999-02-16 00:19:03 +03:00
|
|
|
void gnome_sort_cmd (GtkWidget *widget, WPanel *panel);
|
|
|
|
void gnome_select_all_cmd (GtkWidget *widget, WPanel *panel);
|
1999-04-07 05:33:04 +04:00
|
|
|
void gnome_start_search (GtkWidget *widget, WPanel *panel);
|
1999-02-16 00:19:03 +03:00
|
|
|
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);
|
1999-03-19 20:13:33 +03:00
|
|
|
void gnome_new_launcher (GtkWidget *widget, WPanel *panel);
|
1999-08-13 23:42:32 +04:00
|
|
|
void gnome_reverse_selection_cmd_panel (GtkWidget *widget, WPanel *panel);
|
1999-04-08 03:26:49 +04:00
|
|
|
void gnome_select (GtkWidget *widget, WPanel *panel);
|
1999-04-09 16:58:10 +04:00
|
|
|
void set_cursor_normal (WPanel *panel);
|
|
|
|
void set_cursor_busy (WPanel *panel);
|
1999-05-01 17:58:00 +04:00
|
|
|
void gnome_new_link (GtkWidget *widget, WPanel *panel);
|
1999-01-05 02:45:02 +03:00
|
|
|
|
1998-03-13 08:20:55 +03:00
|
|
|
#endif /* __GCMD_H */
|