From fe0499e1d95e45291b655f1d068430014b5971db Mon Sep 17 00:00:00 2001
From: Jon Trowbridge <trow@ximian.com>
Date: Sun, 1 Jul 2001 00:41:13 +0000
Subject: Changed to return the created window. (find_socket): Added. Copied
 from

2001-06-30  Jon Trowbridge  <trow@ximian.com>

        * mail-display.c (make_popup_window): Changed to return the
        created window.
        (find_socket): Added.  Copied from e-shell-view.c.  The fact
        that I'm copying this bit of code all over isn't cool.
        (html_button_press_event): Properly destroy the popup window when
        the widget inside the control is destroyed.

        * mail-callbacks.c (addrbook_sender): Added.  Implements
        the "Add sender to addressbook" right-click. (Bug #3645)
        (find_socket): Added.  Copied from e-shell-view.c.

        * folder-browser.c: Added "Add sender to addressbook" to
        context_menu[].

        * mail-display.c: (handle_embedded_address_object): Removed.
        (on_object_requested): Removed handling for embedded address
        objects.  (Which was obsolete crap.)

svn path=/trunk/; revision=10643
---
 mail/folder-browser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'mail/folder-browser.c')

diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 1b3de3c3e3..3c5d44cc25 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1219,10 +1219,10 @@ static EPopupMenu context_menu[] = {
 	
 	SEPARATOR,
 	
-	/*{ _("Add Sender to Address Book"),  NULL,
+	{ N_("Add Sender to Address Book"),   NULL,
 	  GTK_SIGNAL_FUNC (addrbook_sender),  NULL,  0 },
 	  { "",                               NULL,
-	  GTK_SIGNAL_FUNC (NULL),             NULL,  0 },*/
+	  GTK_SIGNAL_FUNC (NULL),             NULL,  0 },
 	
 	{ N_("Apply Filters"),                NULL,
 	  GTK_SIGNAL_FUNC (apply_filters),    NULL,  0 },
-- 
cgit v1.2.3