set the menu sensitivity after the last path was deleted

--Sven
This commit is contained in:
Sven Neumann 2000-01-23 18:04:28 +00:00
parent 798d9aea12
commit 1485e40383
3 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Sun Jan 23 19:03:28 CET 2000 Sven Neumann <sven@gimp.org>
* app/paths_dialog.c: set the menu sensitivity after the last path
was deleted
Sun Jan 23 14:33:57 CET 2000 Sven Neumann <sven@gimp.org>
* app/gdisplay.c

View File

@ -776,7 +776,8 @@ clear_pixmap_preview (PathWidget *pwidget)
}
/* insrow == -1 -> append else insert at insrow */
void paths_add_path (PATHP bzp,
void
paths_add_path (PATHP bzp,
gint insrow)
{
/* Create a new entry in the list */
@ -1416,6 +1417,8 @@ paths_dialog_delete_path_callback (GtkWidget *widget,
beziersel_free (bsel);
paths_dialog->current_path_list = NULL;
paths_dialog_set_menu_sensitivity ();
}
if (!new_sz)

View File

@ -776,7 +776,8 @@ clear_pixmap_preview (PathWidget *pwidget)
}
/* insrow == -1 -> append else insert at insrow */
void paths_add_path (PATHP bzp,
void
paths_add_path (PATHP bzp,
gint insrow)
{
/* Create a new entry in the list */
@ -1416,6 +1417,8 @@ paths_dialog_delete_path_callback (GtkWidget *widget,
beziersel_free (bsel);
paths_dialog->current_path_list = NULL;
paths_dialog_set_menu_sensitivity ();
}
if (!new_sz)