aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c8
-rw-r--r--mail/subscribe-dialog.c6
3 files changed, 12 insertions, 7 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 7c9e329a6e..cab63f6706 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
+ * message-list.c, message-list.h, subscribe-dialog.c: Changed
+ these to use the proper form for the column element.
+
+2000-10-11 Christopher James Lahey <clahey@helixcode.com>
+
* message-list.c, message-list.h, subscribe-dialog.c: Updated
these to the new ETable style of specifications.
diff --git a/mail/message-list.c b/mail/message-list.c
index 653397ddec..c7e0c3e571 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -862,8 +862,8 @@ message_list_get_layout (MessageList *message_list)
"<ETableColumn model_col= \"6\" _title=\"Received\" expansion=\"20.0\" minimum_width=\"32\" resizable=\"true\" cell=\"render_date\" compare=\"integer\"/>"
"<ETableColumn model_col= \"7\" _title=\"To\" expansion=\"24.0\" minimum_width=\"32\" resizable=\"true\" cell=\"render_text\" compare=\"address_compare\"/>"
"<ETableColumn model_col= \"8\" _title=\"Size\" expansion=\"6.0\" minimum_width=\"32\" resizable=\"true\" cell=\"render_text\" compare=\"string\"/>"
- "<ETableState> <column> 0 </column> <column> 3 </column>"
- "<column> 4 </column> <column> 5 </column>"
+ "<ETableState> <column source=\"0\"/> <column source=\"3\"/>"
+ "<column source=\"4\"/> <column source=\"5\"/>"
"<grouping> </grouping> </ETableState>"
"</ETableSpecification>");
}
@@ -872,8 +872,8 @@ static void
message_list_setup_etable(MessageList *message_list)
{
char *state = "<ETableState>"
- "<column> 0 </column> <column> 7 </column>"
- "<column> 4 </column> <column> 5 </column> "
+ "<column source=\"0\"/> <column source=\"7\"/>"
+ "<column source=\"4\"/> <column source=\"5\"/>"
"<grouping> </grouping> </ETableState>";
/* build the spec based on the folder, and possibly from a saved file */
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c
index 9a441ff419..133d82405c 100644
--- a/mail/subscribe-dialog.c
+++ b/mail/subscribe-dialog.c
@@ -45,8 +45,8 @@
<ETableColumn model_col=\"0\" pixbuf=\"subscribed-image\" expansion=\"1.0\" minimum_width=\"20\" resizable=\"true\" cell=\"cell_toggle\" compare=\"string\"/> \
<ETableColumn model_col=\"1\" _title=\"Folder\" expansion=\"1.0\" minimum_width=\"20\" resizable=\"true\" cell=\"cell_tree\" compare=\"string\"/> \
<ETableState> \
- <column> 0 </column> \
- <column> 1 </column> \
+ <column source=\"0\"/> \
+ <column source=\"1\"/> \
<grouping></grouping> \
</ETableState> \
</ETableSpecification>"
@@ -54,7 +54,7 @@
#define STORE_ETABLE_SPEC "<ETableSpecification cursor-mode=\"line\"> \
<ETableColumn model_col=\"0\" _title=\"Store\" expansion=\"1.0\" minimum_width=\"20\" resizable=\"true\" cell=\"cell_text\" compare=\"string\"/> \
<ETableState> \
- <column> 0 </column> \
+ <column source=\"0\"/> \
<grouping></grouping> \
</ETableState> \
</ETableSpecification>"