aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-define-views-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus/gal-define-views-dialog.c')
-rw-r--r--widgets/menus/gal-define-views-dialog.c2
1 files changed, 1 insertions, 1 deletions
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);