aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVibha Yadav <yvibha@novell.com>2010-12-02 19:26:25 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:25 +0800
commitdbbe7408c563f9a6e47f65d5d3db7ee541285b41 (patch)
tree2b3c22670fb4e6be460d5b9329e88076ba66f522
parent594175c3a95537409854175eb321d7d84462e9b9 (diff)
downloadgsoc2013-evolution-dbbe7408c563f9a6e47f65d5d3db7ee541285b41.tar
gsoc2013-evolution-dbbe7408c563f9a6e47f65d5d3db7ee541285b41.tar.gz
gsoc2013-evolution-dbbe7408c563f9a6e47f65d5d3db7ee541285b41.tar.bz2
gsoc2013-evolution-dbbe7408c563f9a6e47f65d5d3db7ee541285b41.tar.lz
gsoc2013-evolution-dbbe7408c563f9a6e47f65d5d3db7ee541285b41.tar.xz
gsoc2013-evolution-dbbe7408c563f9a6e47f65d5d3db7ee541285b41.tar.zst
gsoc2013-evolution-dbbe7408c563f9a6e47f65d5d3db7ee541285b41.zip
Avoid using deprecated GTK_SELECTION_EXTENDED
Using GTK_SELECTION_MULTIPLE. As Deprecated, GTK_SELECTION_EXTENDED behaves identical to GTK_SELECTION_MULTIPLE.
-rw-r--r--widgets/table/e-table-specification.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c
index 99213ad501..dfa7da9e36 100644
--- a/widgets/table/e-table-specification.c
+++ b/widgets/table/e-table-specification.c
@@ -209,7 +209,7 @@ e_table_specification_load_from_node (ETableSpecification *specification,
} else if (temp && !g_ascii_strcasecmp (temp, "browse")) {
specification->selection_mode = GTK_SELECTION_BROWSE;
} else if (temp && !g_ascii_strcasecmp (temp, "extended")) {
- specification->selection_mode = GTK_SELECTION_EXTENDED;
+ specification->selection_mode = GTK_SELECTION_MULTIPLE;
}
g_free (temp);
@@ -377,7 +377,7 @@ e_table_specification_save_to_node (ETableSpecification *specification,
s = "browse";
break;
default:
- case GTK_SELECTION_EXTENDED:
+ case GTK_SELECTION_MULTIPLE:
s = "extended";
}
xmlSetProp (node, (const guchar *)"selection-mode", (guchar *)s);