CLAWS_SET_TIP(subst_btn,
_("Replace the selected action in list with the action above"));
- del_btn = gtk_button_new_with_mnemonic (_("Re_move"));
+ del_btn = gtk_button_new_with_mnemonic (_("D_elete"));
gtk_button_set_image(GTK_BUTTON(del_btn),
gtk_image_new_from_stock(GTK_STOCK_REMOVE,GTK_ICON_SIZE_BUTTON));
gtk_widget_show(del_btn);
return -1;
}
- action_nb = prefs_actions_find_by_name(entry_text);
- if ((action_nb != -1) && ((row == -1) || (row != action_nb + 1))) {
- alertpanel_error(_("There is an action with this name already."));
- return -1;
- }
-
strncpy(action, entry_text, PREFSBUFSIZE - 1);
while (strstr(action, "//")) {
filteringaction_free(cur->data);
}
- g_slist_free(action_str);
+ g_free(action_str);
g_strfreev(tokens);
}