aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVibha Yadav <yvibha@novell.com>2010-12-02 19:26:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-25 23:28:26 +0800
commitee8232d7ee82e39d0dee27c39622b927ab86da0e (patch)
treeeac10aeab965c6b4ae07381cf490771d500efa1a
parent20023b69feace46d5f04533d6b3985f6d1a21f9f (diff)
downloadgsoc2013-evolution-ee8232d7ee82e39d0dee27c39622b927ab86da0e.tar.gz
gsoc2013-evolution-ee8232d7ee82e39d0dee27c39622b927ab86da0e.tar.zst
gsoc2013-evolution-ee8232d7ee82e39d0dee27c39622b927ab86da0e.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);