diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-27 05:28:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 22:34:09 +0800 |
commit | fd40e93f412b9429ac7d3ed1fe91fc18d064305d (patch) | |
tree | 5161961fec3a0ad2dd50aeca82b8161210f1797d | |
parent | 56423e3ec2bbcbab537c199c0ffea9cd5277b2e3 (diff) | |
download | gsoc2013-evolution-fd40e93f412b9429ac7d3ed1fe91fc18d064305d.tar.gz gsoc2013-evolution-fd40e93f412b9429ac7d3ed1fe91fc18d064305d.tar.zst gsoc2013-evolution-fd40e93f412b9429ac7d3ed1fe91fc18d064305d.zip |
ETaskShellContent: Remove hard-coded default table state.
I don't remember why E_TASK_TABLE_DEFAULT_STATE was needed when
e-calendar-table.etspec already specifies a default ETableState.
Some of the column numbers it was referencing weren't even valid.
Removing it seems to make no difference in Evolution.
-rw-r--r-- | modules/calendar/e-task-shell-content.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/modules/calendar/e-task-shell-content.c b/modules/calendar/e-task-shell-content.c index 7bfb5b741f..c4fa849609 100644 --- a/modules/calendar/e-task-shell-content.c +++ b/modules/calendar/e-task-shell-content.c @@ -37,16 +37,6 @@ (G_TYPE_INSTANCE_GET_PRIVATE \ ((obj), E_TYPE_TASK_SHELL_CONTENT, ETaskShellContentPrivate)) -#define E_TASK_TABLE_DEFAULT_STATE \ - "<?xml version=\"1.0\"?>" \ - "<ETableState>" \ - " <column source=\"13\"/>" \ - " <column source=\"14\"/>" \ - " <column source=\"9\"/>" \ - " <column source=\"5\"/>" \ - " <grouping/>" \ - "</ETableState>" - struct _ETaskShellContentPrivate { GtkWidget *paned; GtkWidget *task_table; @@ -515,11 +505,6 @@ task_shell_content_constructed (GObject *object) widget, "visible", G_BINDING_SYNC_CREATE); - /* Configure the task table. */ - - e_table_set_state ( - E_TABLE (priv->task_table), E_TASK_TABLE_DEFAULT_STATE); - target_list = gtk_target_list_new (NULL, 0); e_target_list_add_calendar_targets (target_list, 0); targets = gtk_target_table_new_from_list (target_list, &n_targets); |