diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-27 05:23:33 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 22:34:09 +0800 |
commit | 56423e3ec2bbcbab537c199c0ffea9cd5277b2e3 (patch) | |
tree | a239ba275f2256cdd585c520e5949b0234b44531 /modules/calendar | |
parent | a26bdd4ed4fe7e9fe511b53a013ae7b7e029710b (diff) | |
download | gsoc2013-evolution-56423e3ec2bbcbab537c199c0ffea9cd5277b2e3.tar gsoc2013-evolution-56423e3ec2bbcbab537c199c0ffea9cd5277b2e3.tar.gz gsoc2013-evolution-56423e3ec2bbcbab537c199c0ffea9cd5277b2e3.tar.bz2 gsoc2013-evolution-56423e3ec2bbcbab537c199c0ffea9cd5277b2e3.tar.lz gsoc2013-evolution-56423e3ec2bbcbab537c199c0ffea9cd5277b2e3.tar.xz gsoc2013-evolution-56423e3ec2bbcbab537c199c0ffea9cd5277b2e3.tar.zst gsoc2013-evolution-56423e3ec2bbcbab537c199c0ffea9cd5277b2e3.zip |
EMemoShellContent: Remove hard-coded default table state.
I don't remember why E_MEMO_TABLE_DEFAULT_STATE was needed when
e-memo-table.etspec already specifies a default ETableState.
Removing it seems to make no difference in Evolution.
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-memo-shell-content.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/calendar/e-memo-shell-content.c b/modules/calendar/e-memo-shell-content.c index ded7e8af67..3df2c424ee 100644 --- a/modules/calendar/e-memo-shell-content.c +++ b/modules/calendar/e-memo-shell-content.c @@ -38,15 +38,6 @@ (G_TYPE_INSTANCE_GET_PRIVATE \ ((obj), E_TYPE_MEMO_SHELL_CONTENT, EMemoShellContentPrivate)) -#define E_MEMO_TABLE_DEFAULT_STATE \ - "<?xml version=\"1.0\"?>" \ - "<ETableState>" \ - " <column source=\"1\"/>" \ - " <column source=\"0\"/>" \ - " <column source=\"2\"/>" \ - " <grouping/>" \ - "</ETableState>" - struct _EMemoShellContentPrivate { GtkWidget *paned; GtkWidget *memo_table; @@ -515,11 +506,6 @@ memo_shell_content_constructed (GObject *object) widget, "visible", G_BINDING_SYNC_CREATE); - /* Configure the memo table. */ - - e_table_set_state ( - E_TABLE (priv->memo_table), E_MEMO_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); |