39a1938a5f
* gscreen.c (panel_fill_panel_list): Select or unselect the rows as appropriate, not just select them. This is needed because the clist changes the selection under us when appending rows. Finally, do not call select_item() at the end; just reset the panel->selected value. (panel_fill_panel_icons): Likewise. (tree_drag_open_directory): Disabled the auto-collapse functionality yet again, since it has numerous problems. BUGFIX: GNOME bug tracker #1656. * gcmd.c (gnome_reverse_selection_cmd_panel): Re-enabled this function. The reverse selection bug was somewhere else after all. * glayout.c (gnome_panel_edit_menu): Re-inserted the item for reverse selection. It was pointing to the wrong callback, that is why it never worked.
47 строки
1.9 KiB
C
47 строки
1.9 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);
|
|
|
|
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_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 */
|