aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-07-25 12:30:33 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-07-25 12:30:33 +0800
commit72aa1e526eb622875ccee293451343a377aa2993 (patch)
treef7cfa9f774499ecccd981b4dfc59dff555bb094a /widgets
parent187b669d8490b7e2d7a8111c019dbaf29fe4c858 (diff)
downloadgsoc2013-evolution-72aa1e526eb622875ccee293451343a377aa2993.tar
gsoc2013-evolution-72aa1e526eb622875ccee293451343a377aa2993.tar.gz
gsoc2013-evolution-72aa1e526eb622875ccee293451343a377aa2993.tar.bz2
gsoc2013-evolution-72aa1e526eb622875ccee293451343a377aa2993.tar.lz
gsoc2013-evolution-72aa1e526eb622875ccee293451343a377aa2993.tar.xz
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')
-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);
}
}
}