diff options
author | Hiroyuki Ikezoe <poincare@ikezoe.net> | 2009-03-28 05:34:35 +0800 |
---|---|---|
committer | Hiroyuki Ikezoe <hiikezoe@src.gnome.org> | 2009-03-28 05:34:35 +0800 |
commit | 508526060e1d92548513b52008a0433c70cdad24 (patch) | |
tree | 209f757965df425bd23dbccb54fbddf63d6b4c28 /mail/em-mailer-prefs.c | |
parent | f3fda199704342da9da01400a1ec5cf2678e430a (diff) | |
download | gsoc2013-evolution-508526060e1d92548513b52008a0433c70cdad24.tar.gz gsoc2013-evolution-508526060e1d92548513b52008a0433c70cdad24.tar.zst gsoc2013-evolution-508526060e1d92548513b52008a0433c70cdad24.zip |
** Fix for bug #576845
2009-03-28 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fix for bug #576845
* em-mailr-prefs.c: (init_junk_tree):
Call jh_tree_refill instead of label_tree_refill.
svn path=/trunk/; revision=37480
Diffstat (limited to 'mail/em-mailer-prefs.c')
-rw-r--r-- | mail/em-mailer-prefs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-mailer-prefs.c b/mail/em-mailer-prefs.c index ef9aa94aa5..7a3aeed737 100644 --- a/mail/em-mailer-prefs.c +++ b/mail/em-mailer-prefs.c @@ -417,27 +417,27 @@ jh_remove_cb (GtkWidget *widget, gpointer user_data) static GtkListStore * -init_junk_tree (GtkWidget *label_tree, EMMailerPrefs *prefs) +init_junk_tree (GtkWidget *jh_tree, EMMailerPrefs *prefs) { GtkListStore *store; GtkCellRenderer *renderer; gint col; - g_return_val_if_fail (label_tree != NULL, NULL); + g_return_val_if_fail (jh_tree != NULL, NULL); g_return_val_if_fail (prefs != NULL, NULL); store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING); - gtk_tree_view_set_model (GTK_TREE_VIEW (label_tree), GTK_TREE_MODEL (store)); + gtk_tree_view_set_model (GTK_TREE_VIEW (jh_tree), GTK_TREE_MODEL (store)); renderer = gtk_cell_renderer_text_new (); - col = gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (label_tree), -1, _("Header"), renderer, "text", JH_LIST_COLUMN_NAME, NULL); + col = gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (jh_tree), -1, _("Header"), renderer, "text", JH_LIST_COLUMN_NAME, NULL); g_object_set (G_OBJECT (renderer), "editable", TRUE, NULL); renderer = gtk_cell_renderer_text_new (); - gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (label_tree), -1, _("Contains Value"), renderer, "text", JH_LIST_COLUMN_VALUE, NULL); + gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (jh_tree), -1, _("Contains Value"), renderer, "text", JH_LIST_COLUMN_VALUE, NULL); g_object_set (G_OBJECT (renderer), "editable", TRUE, NULL); - label_tree_refill (NULL, 0, NULL, prefs); + jh_tree_refill (prefs); return store; } |