From ce71283c7ded7edf8f94361533cdc2ae331d82de Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Tue, 20 Dec 2005 15:16:14 +0000 Subject: ** Fixes bug #240762 2005-12-20 Srinivasa Ragavan ** Fixes bug #240762 * menus/gal-define-views-dialog.c: (etable_selection_change_forall_cb): Made only the user created views to be editable. svn path=/trunk/; revision=30906 --- widgets/menus/gal-define-views-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/menus/gal-define-views-dialog.c') diff --git a/widgets/menus/gal-define-views-dialog.c b/widgets/menus/gal-define-views-dialog.c index 13ff085dea..cff8e77750 100644 --- a/widgets/menus/gal-define-views-dialog.c +++ b/widgets/menus/gal-define-views-dialog.c @@ -218,7 +218,7 @@ etable_selection_change_forall_cb (int row, GalDefineViewsDialog *dialog) !item->built_in); if (GAL_VIEW_GET_CLASS (item->view)->edit) gtk_widget_set_sensitive (glade_xml_get_widget (dialog->gui, "button-modify"), - TRUE); + !item->built_in); else gtk_widget_set_sensitive (glade_xml_get_widget (dialog->gui, "button-modify"), FALSE); -- cgit