diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2005-07-25 12:30:33 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2005-07-25 12:30:33 +0800 |
commit | 72aa1e526eb622875ccee293451343a377aa2993 (patch) | |
tree | f7cfa9f774499ecccd981b4dfc59dff555bb094a /widgets/menus | |
parent | 187b669d8490b7e2d7a8111c019dbaf29fe4c858 (diff) | |
download | gsoc2013-evolution-72aa1e526eb622875ccee293451343a377aa2993.tar.gz gsoc2013-evolution-72aa1e526eb622875ccee293451343a377aa2993.tar.zst gsoc2013-evolution-72aa1e526eb622875ccee293451343a377aa2993.zip |
Fixes a bug where it allows just builtin views to be edited and not user
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.
svn path=/trunk/; revision=29868
Diffstat (limited to 'widgets/menus')
-rw-r--r-- | widgets/menus/gal-define-views-dialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } } |