aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-12-20 23:16:14 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-12-20 23:16:14 +0800
commitce71283c7ded7edf8f94361533cdc2ae331d82de (patch)
tree167c88fca1c3c519318993d9a7e14415f5478820
parentc79c8729724a8292a23207aded2e097a04d535d0 (diff)
downloadgsoc2013-evolution-ce71283c7ded7edf8f94361533cdc2ae331d82de.tar
gsoc2013-evolution-ce71283c7ded7edf8f94361533cdc2ae331d82de.tar.gz
gsoc2013-evolution-ce71283c7ded7edf8f94361533cdc2ae331d82de.tar.bz2
gsoc2013-evolution-ce71283c7ded7edf8f94361533cdc2ae331d82de.tar.lz
gsoc2013-evolution-ce71283c7ded7edf8f94361533cdc2ae331d82de.tar.xz
gsoc2013-evolution-ce71283c7ded7edf8f94361533cdc2ae331d82de.tar.zst
gsoc2013-evolution-ce71283c7ded7edf8f94361533cdc2ae331d82de.zip
** Fixes bug #240762
2005-12-20 Srinivasa Ragavan <sragavan@novell.com> ** 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
-rw-r--r--widgets/ChangeLog8
-rw-r--r--widgets/menus/gal-define-views-dialog.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index d99235615e..e089e66d42 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,3 +1,11 @@
+2005-12-20 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fixes bug #240762
+
+ * menus/gal-define-views-dialog.c:
+ (etable_selection_change_forall_cb): Made only the user created
+ views to be editable.
+
2005-12-18 Tor Lillqvist <tml@novell.com>
* e-timezone-dialog/Makefile.am: Link with libeutil.
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);