evolution r35272 - in branches/gnome-2-22: mail widgets/table
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r35272 - in branches/gnome-2-22: mail widgets/table
- Date: Thu, 27 Mar 2008 11:45:46 +0000 (GMT)
Author: mcrha
Date: Thu Mar 27 11:45:46 2008
New Revision: 35272
URL: http://svn.gnome.org/viewvc/evolution?rev=35272&view=rev
Log:
2008-03-27 Milan Crha <mcrha redhat com>
** Fix for bug #519292
* mail/message-list.h: (message_list_set_expand_all):
* mail/message-list.c: (message_list_set_expand_all):
Remove unused confusing function.
* mail/message-list.c: (regen_list_done):
Use numbers instead of gboolean value.
* widgets/table/e-tree-table-adapter.c: (set_expanded_state_func),
(set_collapsed_state_func): Use rather recurse function.
Modified:
branches/gnome-2-22/mail/ChangeLog
branches/gnome-2-22/mail/message-list.c
branches/gnome-2-22/mail/message-list.h
branches/gnome-2-22/widgets/table/ChangeLog
branches/gnome-2-22/widgets/table/e-tree-table-adapter.c
Modified: branches/gnome-2-22/mail/message-list.c
==============================================================================
--- branches/gnome-2-22/mail/message-list.c (original)
+++ branches/gnome-2-22/mail/message-list.c Thu Mar 27 11:45:46 2008
@@ -3547,17 +3547,6 @@
}
void
-message_list_set_expand_all (MessageList *ml, gboolean threaded)
-{
- if (ml->threaded != threaded) {
- ml->threaded = threaded;
-
- if (ml->frozen == 0)
- mail_regen_list (ml, ml->search, NULL, NULL);
- }
-}
-
-void
message_list_set_hidedeleted (MessageList *ml, gboolean hidedeleted)
{
if (ml->hidedeleted != hidedeleted) {
@@ -4063,8 +4052,8 @@
else
load_tree_state (m->ml);
- m->ml->expand_all = FALSE;
- m->ml->collapse_all = FALSE;
+ m->ml->expand_all = 0;
+ m->ml->collapse_all = 0;
} else
build_flat (m->ml, m->summary, m->changes);
Modified: branches/gnome-2-22/mail/message-list.h
==============================================================================
--- branches/gnome-2-22/mail/message-list.h (original)
+++ branches/gnome-2-22/mail/message-list.h Thu Mar 27 11:45:46 2008
@@ -219,7 +219,6 @@
void message_list_set_threaded_expand_all (MessageList *ml);
void message_list_set_threaded_collapse_all (MessageList *ml);
-void message_list_set_expand_all (MessageList *ml, gboolean threaded);
void message_list_set_hidedeleted (MessageList *ml, gboolean hidedeleted);
void message_list_set_search (MessageList *ml, const char *search);
Modified: branches/gnome-2-22/widgets/table/e-tree-table-adapter.c
==============================================================================
--- branches/gnome-2-22/widgets/table/e-tree-table-adapter.c (original)
+++ branches/gnome-2-22/widgets/table/e-tree-table-adapter.c Thu Mar 27 11:45:46 2008
@@ -991,7 +991,7 @@
ETreeTableAdapter *etta = (ETreeTableAdapter *) data;
if (node->expanded != TRUE) {
- e_tree_table_adapter_node_set_expanded(etta, path, TRUE);
+ e_tree_table_adapter_node_set_expanded_recurse (etta, path, TRUE);
node->expanded = TRUE;
}
}
@@ -1004,7 +1004,7 @@
ETreeTableAdapter *etta = (ETreeTableAdapter *) data;
if (node->expanded != FALSE) {
- e_tree_table_adapter_node_set_expanded(etta, path, FALSE);
+ e_tree_table_adapter_node_set_expanded_recurse (etta, path, FALSE);
node->expanded = FALSE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]