aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/ChangeLog6
-rw-r--r--widgets/menus/gal-define-views-dialog.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 95f86c42cc..e91c2fad99 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-21 Srinivasa Ragavan <sragavan@novell.com>
+
+ * menus/gal-define-views-dialog.c: (etable_selection_change_forall_cb)
+ Fixes a bug where it allows just builtin views to be edited and not user
+ added one. It should have been the other way around.
+
2005-06-23 Kaushal Kumar <kakumar@novell.com>
* text/Makefile.am: Set libetextincludedir to text to match
diff --git a/widgets/menus/gal-define-views-dialog.c b/widgets/menus/gal-define-views-dialog.c
index a4dd6cde7d..87a5c188a2 100644
--- a/widgets/menus/gal-define-views-dialog.c
+++ b/widgets/menus/gal-define-views-dialog.c
@@ -218,10 +218,10 @@ 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"),
- item->built_in);
+ !item->built_in);
else
gtk_widget_set_sensitive (glade_xml_get_widget (dialog->gui, "button-modify"),
- !item->built_in);
+ item->built_in);
}
}
}