I didn't do the gnome stuff. Does anyone know why this code in diagram.c
makes it so the delete menuitem isn't unsensitive when nothing is
selected?

#   ifndef GNOME
    g_string_append (g_string_assign(path, display),_("/Edit/Delete"));
    delete = menus_get_item_from_path(path->str);
#   endif

#ifndef GNOME
  gtk_widget_set_sensitive(delete, dia->data->selected_count > 0);
#endif


/ Alex


Reply via email to