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);
static gint prefs_actions_clist_set_row(gint row)
{
const gchar *entry_text;
- gint len, action_nb;
+ gint len;
gchar action[PREFSBUFSIZE];
gchar *new_action;
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, "//")) {