aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-view.c6
2 files changed, 7 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 79b83a4513..b6499e0182 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
2006-01-16 Srinivasa Ragavan <sragavan@novell.com>
+ ** Fixes bug #326877
+
+ * em-folder-view.c: (emfv_enable_menus): Reverting the patch to hide
+ junk/not junk toolbuttons in disabled state.
+
+2006-01-16 Srinivasa Ragavan <sragavan@novell.com>
+
** Fixes bug #218570
* em-folder-browser.c (emfb_expand_all_threads),
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 7acbc6d3e1..50b03d4fb1 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -1906,12 +1906,6 @@ emfv_enable_menus(EMFolderView *emfv)
}
}
- /* Just Hide/Unhide Junk-Not Junk*/
- bonobo_ui_component_set_prop(emfv->uic, "/commands/MessageMarkAsJunk", "hidden",
- *(bonobo_ui_component_get_prop(emfv->uic, "/commands/MessageMarkAsJunk", "sensitive",NULL)) == '1'?"0":"1", NULL);
- bonobo_ui_component_set_prop(emfv->uic, "/commands/MessageMarkAsNotJunk", "hidden",
- *(bonobo_ui_component_get_prop(emfv->uic, "/commands/MessageMarkAsNotJunk", "sensitive",NULL)) == '1'?"0":"1", NULL);
-
g_string_free(name, TRUE);
}