Fix this
Этот коммит содержится в:
родитель
13ebb07961
Коммит
228204c74c
@ -338,6 +338,7 @@ regex_command_from_panel (GtkMenuItem *item, WPanel *panel)
|
|||||||
char *action;
|
char *action;
|
||||||
int movedir;
|
int movedir;
|
||||||
|
|
||||||
|
/* This is broken */
|
||||||
filename = panel->dir.list[panel->selected].fname;
|
filename = panel->dir.list[panel->selected].fname;
|
||||||
action = get_label_text (item);
|
action = get_label_text (item);
|
||||||
|
|
||||||
@ -375,8 +376,8 @@ create_regexp_actions (GtkWidget *menu, WPanel *panel, int panel_row, char *file
|
|||||||
if (panel) {
|
if (panel) {
|
||||||
a_uiinfo = panel_actions;
|
a_uiinfo = panel_actions;
|
||||||
closure = panel;
|
closure = panel;
|
||||||
regex_callback = regex_command_from_panel;
|
regex_callback = regex_command_from_desktop_icon;
|
||||||
regex_closure = panel;
|
regex_closure = filename;
|
||||||
} else {
|
} else {
|
||||||
a_uiinfo = desktop_icon_actions;
|
a_uiinfo = desktop_icon_actions;
|
||||||
closure = filename;
|
closure = filename;
|
||||||
@ -502,3 +503,7 @@ gpopup_do_popup (GdkEventButton *event, WPanel *from_panel, int panel_row, char
|
|||||||
|
|
||||||
return get_active_index (GTK_MENU (menu));
|
return get_active_index (GTK_MENU (menu));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user